feat: v2.0 iteration — test coverage, reliability, observability
M0: Test coverage expansion (151 → 321 tests, 61% → 66% lines) - normalizeKnowledge CRLF/LF normalization fix - gooseReviewer: 11 tests, 97.35% coverage - r2 storage: 22 tests, 100% coverage - triage processor: 11 tests, exported buildTriagePrompt/labelName - webhook processor: 35 tests, 72.39% coverage - conflict resolver: 12 tests - review processor: 7 tests M1: Reliability hardening - Smart retry with jitter, maxTotalTimeoutMs, custom retryable predicate - MergeGuard: in-memory merge dedup tracker (100% coverage) - failureMessages: 7-category failure classifier (100% coverage) M2: Observability - MetricsCollector: Actions-run metrics with snapshot/markdown/reset - 11 tests, 100% coverage New files: 12 test files, 3 source modules All gates: typecheck ✓ lint ✓ format ✓ 321/321 tests ✓ build ✓
This commit is contained in:
1 parent
db53296d78
commit
78bf8e9e41
87 files changed
+6003
-2587
No files matched your search
@@ -9,18 +9,22 @@ metadata:
|
||||
# ghbot production hardening skill
|
||||
|
||||
## When to use
|
||||
|
||||
Closing a production iteration of this GitHub review bot. Not for adding unrelated SaaS features.
|
||||
|
||||
## Do not use
|
||||
|
||||
- Changing AUTO_MERGE default
|
||||
- Reusing old review cache as a new-head approval
|
||||
- Running paid LLM E2E without budget
|
||||
- Pushing to remotes without write permission
|
||||
|
||||
## Inputs
|
||||
|
||||
Current repo, CLAUDE.md red lines, `.specify/memory/constitution.md`.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Read constitution, CLAUDE.md, workflow_status.md, last verification record.
|
||||
2. Rebuild facts: git status, typecheck, test.
|
||||
3. Audit contract/security/error/docs before coding.
|
||||
@@ -31,7 +35,9 @@ Current repo, CLAUDE.md red lines, `.specify/memory/constitution.md`.
|
||||
8. Sync README/.env.example/workflows. Write HTML report under docs/reports/.
|
||||
|
||||
## Stop
|
||||
|
||||
Missing credentials, origin 403, paid API, production deploy, no progress after two review loops.
|
||||
|
||||
## Verify
|
||||
|
||||
Never claim LLM review E2E or origin push without command evidence.
|
||||
Reference in new issue
Block a user