Repository navigation
test: split apply decision tests - #368
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 24, 2026, 7:03 PM ET / 23:03 UTC. Summary Reproducibility: not applicable. This PR reorganizes tests rather than reporting a runtime bug. I verified the moved test names and existing test runner path by source and PR-diff inspection. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the focused test split after normal maintainer review and green CI, keeping runtime behavior unchanged. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR reorganizes tests rather than reporting a runtime bug. I verified the moved test names and existing test runner path by source and PR-diff inspection. Is this the best way to solve the issue? Yes. Splitting the large apply-decision coverage into focused top-level test files is the narrowest maintainable path and matches the repository’s test-organization guidance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1c19987cde97. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
part of a series on not having 10k+ line test files
Summary
test/apply-pr-supersession-promotion.test.tstest/apply-product-direction-policy.test.tstest/apply-same-author-pair-close.test.tsLOC
test/apply-pr-supersession-promotion.test.ts: 317test/apply-product-direction-policy.test.ts: 469test/apply-same-author-pair-close.test.ts: 949test/clawsweeper.test.ts: 1905Validation
pnpm run check