Skip to content

Split Sandbox startup and runtime image tests into TypeScript - #5455

Merged
freeqaz-openai merged 1 commit into
mainfrom
refactor/sandbox-startup-test-helpers-typescript
Nov 11, 2026
Merged

freeqaz-openai merged 1 commit into
mainfrom
refactor/sandbox-startup-test-helpers-typescript

Conversation

@freeqaz-openai

Copy link
Copy Markdown
Collaborator

Summary

  • Move Sandbox workspace-admission, operator-chart, and protected-startup cases into strict TypeScript helpers. Keep their existing test names and CI registrations.
  • Migrate the Gateway workspace, managed-files, startup-termination, and native workspace-files test entry points to TypeScript. Update their CI selectors, release smoke list, and documented commands.
  • Type the shared Installation loader, loopback server, and runtime model probe. Update the direct imports and keep a named loopback re-export for existing callers.

Verification

  • Strict TypeScript build, lint, formatting, workspace isolation, and the CI suite audit passed.
  • All 178 Sandbox startup outcomes and all 13 runtime startup outcomes match the previous local runs. Two Sandbox cases and twelve runtime cases retain their image-dependent skips.
  • The SSH startup, bounded-response, Console client, and related conformance checks passed. The release smoke selection still includes every runtime startup file.
  • Hosted CI will exercise the prepared runtime image lanes.

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@freeqaz-openai
freeqaz-openai marked this pull request as ready for review November 11, 2026 10:51
@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 11, 2026 10:51
@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR moves Sandbox startup cases and runtime image tests into typed helpers and entry points, updating imports, CI selectors, and documented commands.

Example: A contributor runs the native workspace integration check.

  • Before: The entry point is tests/integration/workspace-files-native.test.mjs.
  • After: The entry point is tests/integration/workspace-files-native.test.ts, with the existing API, grant, disk-readback, and no-model-call assertions preserved.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent test migration with preserved coverage, updated selection paths, and successful reviewed-head checks.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored test maintenance changes no shipped behavior; reviewed-head CI supports the migration, while detailed runtime logs were inaccessible from the review environment.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Contributors maintain substantial startup and runtime test code outside strict TypeScript coverage.
Reason: The maintainer-authored migration extends an established maintenance direction without adding product options or changing platform contracts.

Merge readiness

✅ Ready for maintainer review

Keep open as useful, maintainer-directed test maintenance; no actionable regression was found in the reviewed migration.

Priority: P3
Reviewed head: 2dac71d45eb19bafebbd05761a898e663ff2a247

Before merge

None.

Findings

None.

Agent review details

How this fits together

CI descriptors select Node test entry points that use shared fixtures to exercise Sandbox startup and packaged runtimes; their results feed required checks and release smoke verification.

flowchart LR
  A[CI suite descriptors] --> B[Node test entry points]
  B --> C[Typed test helpers]
  C --> D[Sandbox startup composition]
  C --> E[Packaged runtime containers]
  D --> F[Test results]
  E --> F
Loading

Technical review

Best possible solution:

Land the focused TypeScript migration with the existing assertions, lifecycle ownership, and CI selection preserved.

Do we have a high-confidence way to reproduce the issue?

This PR is a test migration rather than a reported product bug, so bug reproduction does not apply.

Is this the best way to solve the issue?

The change follows the existing typed-helper pattern and updates callers, typecheck enrollment, CI descriptors, release selection, and documentation together.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 81803134a1cc.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Free Wortley: Raw commit 03170cc adds tests/integration/runtime-image-startup.test.mjs:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 03170cce2acf; files: tests/integration/runtime-image-startup.test.mjs)
  • Eric Cai: Raw commit f8c4083 adds tests/integration/workspace-files-native.test.mjs:328 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: f8c4083234a5; files: tests/integration/workspace-files-native.test.mjs)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is test typing and organization maintenance without a shipped runtime behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is test typing and organization maintenance without a shipped runtime behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 11, 2026, 6:06 AM ET / 11:06 UTC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants