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
472003ae6a
feat: complete v2 finalization - waitForMergeable timeout, failureMessages wiring, QueueStore
...
Task 1: waitForMergeable with 30s total timeout + 20 poll max + test
Task 2: failureMessages.categorizeFailure wired into gooseCli error path
Task 5: QueueStore durable webhook queue with 3 tests
Spec: v2-finalization-spec.md
Plan: tasks/plan.md + tasks/todo.md
2026-08-24 19:53:07 +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
wdawdwa and Claude Opus 4.8
db53296d78
refactor: extract event router and bump version to v1.2.0 (7.1)
...
Decouple Actions event dispatching from runReview.ts into a pluggable
EventRouter with independent handlers for pull_request_target, issues,
issue_comment, pull_request_review, and schedule. Add unit tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-08-23 17:05:41 +08:00
wdawdwa and Claude 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
wdawdwa
8304c983fb
style: prettier pass
2026-08-23 11:56:12 +08:00
wdawdwa
31ff19e73d
feat: redact command failure output before exposure (8.4)
2026-08-23 11:55:16 +08:00
wdawdwa
65907f4ee5
test: update goose-cli redaction test to explicit sentinel
2026-08-23 11:46:53 +08:00
wdawdwa
cd30a49dcc
refactor: explicit sentinel for validation command redaction (D-09)
2026-08-23 11:43:04 +08:00
wdawdwa
3408c9dc77
feat: unified command ack messages with expectations (6.3)
2026-08-23 11:37:31 +08:00
wdawdwa
a35587e2ef
feat: add status banner and collapsible unposted findings to review body (6.1)
2026-08-23 11:31:39 +08:00
wdawdwa
d9666c94a7
feat: centralize runtime directories behind GHBOT_RUNTIME_DIR (D-13)
2026-08-23 11:26:48 +08:00
2026-08-22
wdawdwa
66d0628d20
fix: remove unused import flagged by eslint
2026-08-22 19:00:31 +08:00
wdawdwa
b1b76cdbf9
test: cover chat language routing and requester context
2026-08-22 18:56:32 +08:00
wdawdwa
5bc1486be6
feat: add webhook /metrics endpoint with Prometheus output (5.2)
2026-08-22 18:44:37 +08:00
wdawdwa
afd49f7d85
fix: remove unused variable flagged by eslint
2026-08-22 18:20:17 +08:00
wdawdwa
f4c8f27a19
test: cover final conflict confirmation parsing and failure taxonomy
2026-08-22 18:16:58 +08:00
wdawdwa
50f33fa145
test: cover permission denied message format
2026-08-22 18:12:02 +08:00
wdawdwa
2c09130726
test: cover goose agent env isolation and output redaction
2026-08-22 18:10:16 +08:00
wdawdwa
594592046b
style: prettier pass
2026-08-22 18:06:37 +08:00
wdawdwa
70f964070d
feat: isolate comment command handlers and skip bot authors (4.2, 8.1)
...
- /recheck, /conflict, and @bot now run independently via allSettled
- bot-authored comments are skipped before dispatch to prevent loops
2026-08-22 17:51:45 +08:00
wdawdwa
84276bcd1e
test: cover patch compaction budget behavior (D-10)
2026-08-22 17:48:10 +08:00
wdawdwa
1c3d6938a6
test: cover review processor plan, commands, and format bodies (M1)
2026-08-22 17:43:17 +08:00
wdawdwa
a02dea31d7
feat: centralize sanitization and secret redaction (8.2, 8.4)
...
- add shared PROTECTED_* policy in security/sanitization.ts used by chat snapshot and conflict path validator
- add security/secrets.ts redaction; repository knowledge validation now reuses it
- extend protected deploy configs (vercel.json, wrangler.*, netlify.toml)
2026-08-22 17:20:52 +08:00
wdawdwa
ec0d5572ff
feat: sanitize review decisions before merge policy (4.3)
...
- drop findings targeting unknown files or invalid lines with warnings
- force canMerge=false conservatively when blocking changes exist
2026-08-22 16:28:40 +08:00
wdawdwa
3f793d746e
feat: make retry policy error-aware and expand unit coverage
...
- retry: retry only 5xx/429/transport errors; fail fast on 4xx
- checks/diff/r2/cacheStore: add direct unit tests (D-08, D-10 area)
- cacheStore: validate pullNumber in history object keys
- r2: export normalizeEndpoint for testability
2026-08-22 16:09:16 +08:00
wdawdwa
b47302e2ff
chore: add eslint/prettier gates and fix windows test failures
2026-08-22 15:16:47 +08:00
2026-08-18
lezi-fun
625ba79dbb
feat: allow organization members in webhook chat
2026-08-18 21:25:29 +08:00
lezi-fun
3adf4a41a2
fix: hide resolved review threads
2026-08-18 19:44:36 +08:00
lezi-fun
ceec15bf28
fix: separate review phases and resolve stale threads
2026-08-18 18:10:34 +08:00
lezi-fun
e690b530c8
feat: add optional GitHub App webhook mode
2026-08-18 17:35:35 +08:00
2026-08-14
lezi-fun
333bffb099
fix: expose conflict validation failures
2026-08-14 17:02:50 +08:00
lezi-fun
51852fcfb2
feat: verify duplicate pull requests in two stages
2026-08-14 16:12:09 +08:00
lezi-fun
23369b941e
fix: hide superseded bot reviews
2026-08-14 15:00:01 +08:00
lezi-fun
5a00aa48b6
fix: attribute conflict commits to app bot
2026-08-14 14:36:33 +08:00
lezi-fun
351d3148aa
fix: harden conflict resolution pipeline
2026-08-14 14:18:42 +08:00
lezi-fun
decf7ab8b4
fix: extend conflict resolution budgets
2026-08-14 13:54:13 +08:00
lezi-fun
508f6423c4
fix: keep conflict editing focused
2026-08-14 13:48:44 +08:00
lezi-fun
135bc060e2
fix: avoid slow conflict whitespace retries
2026-08-14 13:40:58 +08:00
lezi-fun
785cddedd9
fix: bound conflict repair runtime
2026-08-14 13:28:18 +08:00
lezi-fun
31756e84ba
fix: retry conflict validation repairs
2026-08-14 12:40:44 +08:00
lezi-fun
eb67012e82
fix: scope conflict confirmation to agent changes
2026-08-14 12:26:33 +08:00
lezi-fun
54fc6ee494
fix: repair conflict diff check failures
2026-08-14 12:16:29 +08:00
lezi-fun
57b2c22a00
fix: keep fork commit reviews API-only
2026-08-14 12:09:35 +08:00
lezi-fun
d36668c5c7
fix: configure git identity before conflict merge
2026-08-14 11:59:52 +08:00
lezi-fun
c2f39d452b
fix: prepare complete history for conflict repair
2026-08-14 11:57:41 +08:00
lezi-fun
0e914c6bc6
feat: resolve conflicts in editable fork PRs
2026-08-14 11:52:38 +08:00
lezi-fun
3a0e0fb0b6
fix: let agent finish tool-heavy chat tasks
2026-08-14 11:46:57 +08:00
lezi-fun
46dea81631
fix: avoid stale repository knowledge writes
2026-08-14 11:43:44 +08:00
lezi-fun
8f9101e5cd
fix: clean agent-owned snapshot files
2026-08-14 11:24:32 +08:00