Repository navigation
Type workspace admission tests from the Agent API through Sandbox provisioning - #5828
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 moves workspace admission coverage into typed test modules and checks the workspace mount in the generated CreateSandbox request. Review scores
ProductKind: Test only · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR is useful test maintenance with no actionable introduced defect found; the reviewed head now passes CI Required and Image Runtime Startup 2. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherSeparate integration fixtures exercise Agent HTTP admission through Fastify, OCC and IAM, and revision preparation through Kubernetes Compute and OpenShell Sandbox Drivers; controlled infrastructure transports capture the resulting Sandbox request. flowchart LR
A[Agent HTTP requests] --> B[Fastify OCC and IAM]
B --> C[Admission and private staging]
D[Revision preparation fixture] --> E[Kubernetes Compute]
E --> F[OpenShell Sandbox Driver]
F --> G[Captured CreateSandbox request]
Technical reviewBest possible solution: Retain the typed coverage and strengthened request assertion with the existing runtime contracts unchanged. Do we have a high-confidence way to reproduce the issue? This PR reports no product defect to reproduce; inspection confirms a test migration with a stronger mount assertion. Is this the best way to solve the issue? The change uses existing test fixtures and production Driver owners, removes the replaced helpers, and registers the new suite in CI and release smoke selection. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5e31ef8d6c32. 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 13, 2026, 8:46 AM ET / 13:46 UTC. |
What changed
Moves three OpenShell workspace admission cases into a TypeScript integration suite. The mount case projects and validates the Agent configuration, then inspects the writable workspace mount and environment in the actual CreateSandbox request. It uses the production Kubernetes Compute and OpenShell Sandbox Drivers with controlled transports.
Moves eleven HTTP admission cases into a typed module. The existing workspace setup test entry registers all fourteen cases in their original order and continues to share its Fastify, IAM and in-memory state setup. The new Sandbox suite is registered in Image Runtime Startup 2 and the runtime release smoke.
Verification