2026-08-24 |
ghbot
|
9c97516b2d
|
docs: finalize v2.0 — SOP, optimization record, staleness, README sync
- README: v2.0 observability/reliability additions section
- docs/SOP.md: standard operating procedure for dev/deploy/troubleshoot
- docs/optimization-record.md: optimized ranges + next-starting point
- src/review/staleness.ts: head-change detection (append/discard, 5 tests)
- workflow_status.md: final audit state with all C1-C6 closed
|
2026-08-24 20:25:33 +08:00 |
|
ghbot
|
c0f4dd2d3b
|
fix: remove unused errorHasStatus helper
|
2026-08-24 18:59:11 +08:00 |
|
ghbot
|
c8a32b6251
|
fix: address critical review findings — MergeGuard/Metrics wiring, sort NaN, conflict bypass, DRY errors
C1: Wire MergeGuard into maybeMergePullRequest (processor.ts)
C2: Wire MetricsCollector.recordMergeAttempt into merge path
C3: Wire isAlreadyMergedError from github/errors.ts (shared)
C4: Fix sort comparator NaN in markReviewCheckApproved
C5: Guard conflict resolution behind !disposition.requiresAdminApproval
C6: Extract isNotFoundError + isAlreadyMergedError to github/errors.ts
Remove 3 duplicated local copies (chat/processor, webhook/processor, processor.ts)
R1: Create shared github/errors.ts for production code
Docs: audit-v2-final.md, critical-review-v2.md, report-v2.html, workflow_status.md
Skill: .claude/skills/ghbot-workflow/SKILL.md
|
2026-08-24 18:53:35 +08:00 |
|
ghbot
|
78bf8e9e41
|
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 ✓
|
2026-08-24 17:34:04 +08:00 |
|
2026-08-23 |
 wdawdwaandClaude Opus 4.8
|
039acabd96
|
fix: production hardening for merge races, timeouts, and webhook ops
Pin merge SHA, lock conflict repair, bound subprocess/proxy output,
fail-fast incomplete R2/webhook config, redact validation/stderr
secrets, and document that webhook 202 is best-effort after ACK.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-08-23 15:44:08 +08:00 |
|