review: Astra brief for race-activator-1249, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+36
−0
docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249.md+36 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249.md b/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249.md| new file mode 100644 |
| index 000000000..ac3181f6f |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249.md |
| @@ -0,0 +1,36 @@ |
| +# Review brief: branch race-activator-1249, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `race-activator-1249`, commit a4a18542e5f2dccc747546a76610a9a528e1654a. |
| +Under review: the diff `origin/main...a4a18542e5f2dccc747546a76610a9a528e1654a`. |
| +Authorities: amadan #1249, AGENTS.md ("Build & test", "Stopping rules"). |
| + |
| +You are the independent reviewer. Tests and CI only: confirm no production |
| +code changed. internal/activator joins the -race CI step on 8 shards. |
| + |
| +## What to check |
| + |
| +1. `internal/activator/knobrestore_test.go`: restoreKnob waits for the |
| + test's production goroutines, synchronises with each tracked Service, |
| + then restores the setting. Does it really establish a happens-before |
| + edge for every read of a restored setting? Can it hang, or pass while a |
| + goroutine still reads the setting? `idleGoroutineRoots` lists seven |
| + long-lived goroutines the join skips: does any of them read a restored |
| + setting (`tee` and `observe` were not fully read by the author)? |
| +2. 118 restores and 84 New( calls were converted: any missed or wrong? |
| + Could the join mask a real production goroutine leak? |
| +3. `hadrainmove_test.go` TestDrainStopUnprovenKeepsTheLease: assertions |
| + unchanged, and the test still proves what it says? |
| +4. CI: RACE_SPLIT gains ./internal/activator=8; does a shard failure fail |
| + the step; are the README and AGENTS.md true? |
| + |
| +## 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. End |
| +with exactly one verdict: READY, READY AFTER FIXES, or NOT READY. Do not |
| +edit files, spawn reviewers or run full suites. |