Repository navigation
Split Sandbox startup checks into TypeScript suites - #5425
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR splits Sandbox startup tests into typed helpers and two standalone TypeScript suites. Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open for landing: the maintainer-authored test refactor preserves the reviewed assertions and registers both extracted suites in CI and release smoke, with no actionable correctness or security findings. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Sandbox integration suites feed Installation configurations and simulated provider responses through controller composition and Driver implementations, checking startup refusals, lifecycle behavior, and transport compatibility. flowchart LR
A[CI and release smoke] --> B[Sandbox startup suite]
A --> C[Installation configuration suite]
A --> D[IPv6 endpoint suite]
B --> E[Typed scenario helpers]
E --> F[Controller composition and Drivers]
C --> F
D --> F
Technical reviewBest possible solution: Land the scoped test split with the existing assertions and both CI and release-smoke registrations preserved. Do we have a high-confidence way to reproduce the issue? This PR addresses test organization rather than a reported runtime bug; source comparison establishes the extraction without executing target code. Is this the best way to solve the issue? The split follows the existing typed-helper pattern, retains meaningful assertions, and updates the execution owners that must discover the moved cases. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5aa9711cc105. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
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. Review metrics
LabelsLabel 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 11, 2026, 2:21 AM ET / 07:21 UTC. |
Change
Split Installation configuration and IPv6 endpoint checks out of the Sandbox startup test into two standalone TypeScript suites. The original entry calls typed helpers for startup guards, credential withdrawal, composition, Gateway replay and provider policy. A shared fixture builds a fresh Installation for each configuration mutation.
Register both suites in Image Runtime Startup 2 and the runtime image release smoke command. Update the smoke membership check, TypeScript includes and controller-worker flow links.
Verification
Image Runtime Startup 2 passed all 178 cases across the three suites for
85fbc318. Startup passed 164 including nested cases, Installation passed 13 and IPv6 passed one. The full lane passed 199 with zero failures, skips or TODOs, and cleanup passed. CI ran on a merge commit containing that head. All 16 changed paths matched the head in the tested tree. Hosted job and resultsThe IPv6 case opens a real loopback listener and makes two native gRPC health calls. Other cases combine production Drivers with controlled components or image-backed processes. Live EKS, GitHub and model execution are outside this coverage. Case preservation was checked against the original source. The original local run receipts were unavailable for an execution-to-execution comparison.