Repository navigation
test(sessions): remove unused persisted-run fixture default - #208263
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: passed. What this changesRemoves the unused empty-object default from the private persisted-run fixture builder. Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a correct, minimal test-fixture cleanup with no actionable findings; keep it open under the maintainer-authored guard while it remains a draft. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Gateway session-read tests build synthetic subagent records, persist them through fixture support, and exercise session-list responses alongside worker writes. flowchart LR
A[Explicit fixture overrides] --> B[Private run builder]
B --> C[Registry fixture persistence]
C --> D[Session list handler]
D --> E[Response assertions]
Technical reviewBest possible solution: Keep the single signature change and preserve the existing fixture values, cases, and assertions. Do we have a high-confidence way to reproduce the issue? There is no reported runtime bug; source inspection confirms the unused default and both explicit override arguments. Is this the best way to solve the issue? Removing only the default is the smallest complete cleanup and leaves executed fixture behavior unchanged. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7c0080f09ee2. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 29, 2026, 6:33 AM ET / 11:33 UTC. |
What Problem This Solves
The persisted-session fixture keeps an optional overrides default even though both callers supply explicit values.
User Impact
No user-visible change. All three persisted-session cases and their assertions remain intact.
Why This Change Was Made
Remove the unused default from the private run builder. Its two callers, fixture values and cleanup behavior remain unchanged.
Evidence