Skip to content

Package supported Node and Python native caches as OCI - #510

Merged
rahultee merged 8 commits into
add-flake-toolchain-outputsfrom
add-node-python-runtime-oci
Oct 30, 2026
Merged

rahultee merged 8 commits into
add-flake-toolchain-outputsfrom
add-node-python-runtime-oci

Conversation

@rahultee

@rahultee rahultee commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

  • Package optional runtimes as a native path-level cache instead of unregistered store files.

What changed

  • Add a credential-free assembler for a preverified signed file cache, manifest v2, and no runtime copyTo or bespoke closure hashes.
  • Select Node 22/24 and Python-base 3.11/3.12/3.13 from one policy, expiring 2027-04-30; record missing newer lines.
  • Remove full bundle-oci and both standalone OCI test targets, CI calls and exclusive fixtures. Keep production assembler/layout/validation code, other checks, per-module deployment OCI and non-OCI bundle/disk outputs.

Test plan

  • Guarded formatting and export evaluation, Python/shell syntax and reference checks passed. The test-removal follow-up changed only six files; all other contents and modes stayed identical. Both PRs have no README diffs.
  • The two automatic OCI regression suites are removed. Their dedicated hardlink, cache-structure, reproducibility and digest-copy coverage no longer runs in CI; no replacement suite was added.
  • Prior integration at 21e44bb preserved existing signatures for five modules/ten roots and 269 verified paths in a 407,828,799-byte layer. Offline trusted=false import registered 142 paths, left 127 absent and passed native verification. Sampled destination plus HOME peaked at 806,776,832 bytes: warm-host runtime-import-only evidence, not full preparation or retained CI coverage.
  • Full preparation, cold-image behavior, production signer and activation remain unqualified. No remote publication, new signing key, trust-policy relaxation or large-runtime rebuild was used for this follow-up.

Rollout

  • Depends on Add pinned flake toolchain and shell outputs #509. Update callers to the v2 packager and approved receipt; check policy expiry and native signatures before publication. No new signer, synchronized project/mirror revision gate or activation.

  • Keep historical images and locks unchanged. Revert with coordinated caller rollback; no data migration.

  • This is fully backward and forward compatible

~ written by ⠕ Replit

@rahultee rahultee changed the title Add a separate Node and Python runtime OCI output Replace the full OCI bundle with Node and Python runtimes Oct 30, 2026
@rahultee
rahultee force-pushed the add-node-python-runtime-oci branch from 4bdf091 to 15507bc Compare October 30, 2026 01:35
@rahultee rahultee changed the title Replace the full OCI bundle with Node and Python runtimes Package supported Node and Python native caches as OCI Oct 30, 2026
@rahultee
rahultee added this pull request to stack #511 October 30, 2026 18:22
Keep the selected Node and Python runtime output and shared OCI builder.
Require an explicit output annotation and check the removed export.
Preserve non-OCI bundles and per-module deployment images.

Assisted-by: Replit
Expose the ordered moduleIds used by both selected bundles and the runtime manifest without realizing the image.

Assisted-by: Replit
Build a credential-free cache assembler and replace raw runtime store files with a versioned file-cache layout. Derive module selection from one dated support policy and keep native signatures outside pure builds.

Assisted-by: Replit
Accept and emit the empty build-trace-v2 directory created by native cache exports while continuing to reject files and symlinks inside it.

Assisted-by: Replit
Create linked and independent equal-byte files inside the packaging test and verify staging, archive records and extraction. Keep the full closure checks without assuming NAR cache transport preserves fixture inodes.

Assisted-by: Replit
Restore the parent README after restacking the documentation-only cleanup. Keep all packaging code, tests and runtime policy unchanged.

Assisted-by: Replit
@rahultee
rahultee force-pushed the add-node-python-runtime-oci branch from 33d2aed to a8ba5b9 Compare October 30, 2026 18:40
Drop the bundle and runtime OCI test targets, their CI invocations and exclusively owned fixture files. Preserve production OCI packaging, validation, policy and all other checks.

Assisted-by: Replit
@rahultee
rahultee requested a review from vlinkz October 30, 2026 19:05
@rahultee
rahultee marked this pull request as ready for review October 30, 2026 19:06
@rahultee
rahultee requested a review from a team as a code owner October 30, 2026 19:06
@rahultee
rahultee merged commit 603a163 into main Oct 30, 2026
@rahultee
rahultee deleted the add-node-python-runtime-oci branch October 30, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants