review: Astra brief for race-activator-1249, round 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+42
−0
docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249-r2.md+42 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249-r2.md b/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249-r2.md| new file mode 100644 |
| index 000000000..2ba77ed53 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/REVIEW-BRIEF-race-activator-1249-r2.md |
| @@ -0,0 +1,42 @@ |
| +# Review brief: branch race-activator-1249, round 2 of 3 |
| + |
| +Repo carlos/platform, branch `race-activator-1249`, commit d2e7e50f486d7f84e8bad97f68ea0fbfaabe79ab. |
| +Under review: the diff `origin/main...d2e7e50f486d7f84e8bad97f68ea0fbfaabe79ab`, mainly what changed since |
| +round 1 (ccb3bff2). Authorities: amadan #1249, AGENTS.md ("The census", |
| +"Stopping rules"). |
| + |
| +Round 1 found one P1: an excluded lease watch could launch readers of a |
| +restored setting after the join. The fix: |
| + |
| +- A lease watch counts as idle only while parked in its select. One inside |
| + residentLeaseLost or residentLeaseShort is waited for. |
| +- `endLeaseWatches` closes ownerDone for the test's Services and waits on the |
| + new `Service.leaseWork`, then the join runs again. |
| +- A subtest only ends Services built since its first restoreKnob. |
| +- The sweep burst test skips its wall-clock bound under -race. |
| + |
| +## What to check |
| + |
| +1. Is the P1 closed? Look for any remaining schedule where a reader of a |
| + restored setting runs after the restores, or has no happens-before edge |
| + to them. Check the subtest case and the parent's watches. |
| +2. Production: `leaseWork` must not change behaviour. Check every Add/Done |
| + pairing, WaitGroup reuse rules, and that nothing in production waits. |
| +3. Can closing ownerDone at a test's end hang, panic (double close) or hide a |
| + failure the test should report? |
| +4. Census: give a verdict for `type Service`, `Service.residentLeaseShort` |
| + and the re-pinned `internal/activator` envelope, per |
| + docs/superpowers/notes/census-proposal-race-activator-1249.md. |
| +5. The ratchet raise of one line in .amadan/code-health.tsv is justified. |
| + |
| +## 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 verdicts. End with exactly one verdict: READY, READY AFTER FIXES, or |
| +NOT READY. Do not edit files, spawn reviewers or run full suites. |