Skip to content

Convert the runtime image startup integration suite to TypeScript - #6100

Merged
freeqaz-openai merged 2 commits into
mainfrom
codex/convert-runtime-image-startup-integration-suite
Nov 14, 2026
Merged

freeqaz-openai merged 2 commits into
mainfrom
codex/convert-runtime-image-startup-integration-suite

Conversation

@freeqaz-openai

Copy link
Copy Markdown
Collaborator

Summary

Move the 13 runtime image startup tests to TypeScript and keep their registration order. The native release smoke, staging qualification and Images and Runtime Startup jobs select the new entry. Each container probe runs in its original module mode with the launcher arguments and stdin it expects.

The Git broker test checks the pushed commit in the fixture's bare repository and verifies upload-pack and receive-pack traffic separately. The native thread test checks the command's numeric exit status, filesystem access report and files inside and outside its workspace.

Verification

  • Passed typecheck, lint, formatting, workspace isolation, documentation checks and CI test selection. The release selector, wrong-image rejection, staging forwarding and seccomp preparation tests passed.
  • Ran the original and converted suites against the same Linux AMD64 runtime image. Each executed 13 tests with 11 passes and zero skips. Both stopped at the broker TLS reachability control and at the native thread's bubblewrap namespace creation. The prepared Images and Runtime Startup job supplies the environment for those two tests.
  • Changing the expected shell CA or patch digest made the corresponding test fail against the image. Restoring each expectation passed.
  • Native ARM64 and historical staging images were outside the local run.

@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 14, 2026 20:35
@clawsweeper

clawsweeper Bot commented Nov 14, 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.

@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 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR converts the runtime startup suite and its container probes to TypeScript and updates CI, release, staging, and documentation references.

Example: CI selects the runtime image startup suite.

  • Before: The lane runs runtime-image-startup.test.mjs with 13 registered tests.
  • After: The lane runs runtime-image-startup.test.ts with the same 13 tests in the same registration order.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, focused test migration supported by source comparison, reported container parity, and successful head-bound CI.
Proof confidence 🐚 platinum hermit (4/6) This test-maintenance PR requires no separate user-facing demonstration; the author supplies comparative container-run results and GitHub reports successful checks for the reviewed head.
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 a large JavaScript startup suite with embedded probes that are outside strict TypeScript checking.
Reason: The maintainer-authored migration extends an established repository direction while retaining the suite's independent packaging and isolation checks.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR completes useful TypeScript test maintenance, with no actionable introduced defects found.

Priority: P3
Reviewed head: 6553de94a5e66d01a8025ca1dc92aff6d5b52832

Before merge

None.

Findings

None.

Agent review details

How this fits together

The integration suite starts runtime-image containers using OCE launchers and packaged Codex components, then checks startup, configuration, repository access, packaging, and sandbox outcomes.

flowchart LR
  A[CI and release selectors] --> B[TypeScript test entry]
  B --> C[Typed cases and probes]
  C --> D[Runtime image containers]
  D --> E[OCE launchers and packaged Codex]
  E --> F[Observable assertions]
Loading

Technical review

Best possible solution:

Retain the typed suite with its existing runtime boundaries, assertions, and CI selections.

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

No product bug is alleged; review compared the original suite with the typed cases and probes without executing target code.

Is this the best way to solve the issue?

The conversion follows the existing typed-case pattern, preserves the real container boundaries, and introduces no competing production implementation.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

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.

Review metrics

Metric Value Why it matters
Registered startup tests 13 before, 13 after The conversion preserves test names and registration order while moving probe bodies into typed files.

Labels

Label changes:

  • add P3: This is test maintenance with selector updates and no changed product runtime behavior.
  • 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 maintenance with selector updates and no changed product runtime behavior.
  • 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 14, 2026, 3:48 PM ET / 20:48 UTC.

@freeqaz-openai
freeqaz-openai merged commit e94ec77 into main Nov 14, 2026
66 checks passed
@freeqaz-openai
freeqaz-openai deleted the codex/convert-runtime-image-startup-integration-suite branch November 14, 2026 20:57
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.

1 participant