review: Astra brief for audit-edge-test-sleeps, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+42
−0
docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md+42 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md b/docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md| new file mode 100644 |
| index 000000000..d576085a1 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md |
| @@ -0,0 +1,42 @@ |
| +# Review brief: branch audit-edge-test-sleeps, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `audit-edge-test-sleeps`, commit e888da4a7334ec6bee198ad126ebcd4e019a66c2. |
| +Under review: the diff `origin/main...e888da4a7334ec6bee198ad126ebcd4e019a66c2` (base c4b44c34). |
| +Authorities: AGENTS.md on main ("The census", "Stopping rules"). |
| +Context: amadan #1123, batch 2. |
| + |
| +You are the independent reviewer and the census reviewer. Card: |
| +`docs/superpowers/notes/census-proposal-audit-edge-test-sleeps.md` |
| +(envelope re-pin only; no unit changed). Give a verdict for the envelope, |
| +citing the lines you read. |
| + |
| +## What to check |
| + |
| +1. `holderHeaderSuspectAfter` const to package var (internal/edge/forwardha.go): |
| + production value unchanged, nothing in production writes it, and no |
| + data race between a test setter and running timers (are tests that |
| + shrink it parallel? any goroutine reading it outliving the test?). |
| +2. Each rewritten test still tests what it did: the lbhealth watch tests |
| + (watchTick ticks, stamped-in-the-past beats instead of a 5 s sleep), |
| + the home map clock seam, the forwardha and forwardha_service tests |
| + (fake activator note channel, the wrapper signalling a handled silence |
| + report). Could any now pass against a broken implementation? |
| +3. `TestSlowHolderTwentySecondHeadersKeepForwarding`: its wait now scales |
| + with the window (about six windows) instead of a fixed 17 s. Is losing |
| + the absolute 20 s check acceptable given the test swaps its own |
| + transport? |
| +4. Flake risk: any 100 ms windows or channel waits that could misfire on |
| + a loaded CI runner? |
| + |
| +## Severity |
| + |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. Follow-up list only. |
| + |
| +## Output |
| + |
| +Findings ranked P1, P2, P3 with file:line, failure scenario and fix. Then |
| +the census verdict. End with exactly one verdict: READY, READY AFTER |
| +FIXES, or NOT READY. Do not edit files, spawn reviewers or run full |
| +suites. |