WIP: feat: Join prepared sources to production inputs #653

Draft
erikinkinen wants to merge 1 commit from feature/prepared-source-production-join into feature/owned-native-build-pipeline
Owner

Summary and rationale

Join already prepared sources to a separately complete production declaration. Reuse the original Git/Cargo completions and materialized trees, then verify those trees through a new production reader.

Tracking and scope

Part of #643; builds on #644, #648 and #649.

  • Retain the actual join receiver on its source exporter before acquisition.
  • Preserve the production contract and derive generated inputs from original producers.
  • Borrow the original work allowance and deadline through projection and admission.
  • Keep interrupted reader captures reachable for original cleanup.
  • Full selected-source and native acceptance with a complete production declaration.

Architecture, authority and failure behavior

The join returns version-four inventory JSON, which conveys no ownership or execution proof. A source-only catalog, copied exporter or unprepared writer cannot confer production completeness. Original failure and reader lifetimes remain sticky; closing drains the original captures even if the current reader view changes.

Validation evidence

The frozen source passes 95 controls, including genuine source preparation and production joins, independent reader interruption and cleanup, unchanged parent bounds, complete bundle/export regressions, input bindings and syntax. Caller and descendant cleanup is positive. Markdown checks pass for 194 files; the complete 405-helper declaration and runner bindings are renewed.

Exact-head CI is pending, including the known image-grant teardown repair. Rust formatting and Clippy do not apply to these Python changes; no guest behavior changes.

Review checklist

  • Signed commits, useful inline documentation and code below 1,000 lines.
  • CI coverage and architecture/design documentation updated.
  • Complete original-source, native and guest acceptance remains separate.
## Summary and rationale Join already prepared sources to a separately complete production declaration. Reuse the original Git/Cargo completions and materialized trees, then verify those trees through a new production reader. ## Tracking and scope Part of #643; builds on #644, #648 and #649. - [x] Retain the actual join receiver on its source exporter before acquisition. - [x] Preserve the production contract and derive generated inputs from original producers. - [x] Borrow the original work allowance and deadline through projection and admission. - [x] Keep interrupted reader captures reachable for original cleanup. - [ ] Full selected-source and native acceptance with a complete production declaration. ## Architecture, authority and failure behavior The join returns version-four inventory JSON, which conveys no ownership or execution proof. A source-only catalog, copied exporter or unprepared writer cannot confer production completeness. Original failure and reader lifetimes remain sticky; closing drains the original captures even if the current reader view changes. ## Validation evidence The frozen source passes 95 controls, including genuine source preparation and production joins, independent reader interruption and cleanup, unchanged parent bounds, complete bundle/export regressions, input bindings and syntax. Caller and descendant cleanup is positive. Markdown checks pass for 194 files; the complete 405-helper declaration and runner bindings are renewed. Exact-head CI is pending, including the known image-grant teardown repair. Rust formatting and Clippy do not apply to these Python changes; no guest behavior changes. ## Review checklist - [x] Signed commits, useful inline documentation and code below 1,000 lines. - [x] CI coverage and architecture/design documentation updated. - [ ] Complete original-source, native and guest acceptance remains separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 05:45:27 +01:00
Derive production lock, metadata and object declarations from the retained original Git and Cargo producers, then independently admit the already materialized roots. Keep the join and reader captures registered on their actual exporter and charge projections to its original work and deadline.
Keep the original source join on the complete current Cargo and native release implementation. Preserve all production requirements and use the same full source cohort through projection and independent byte admission.
Select the complete transitive source preparation and native production implementation from the immutable combined code revision.
Keep every maintained input runner on the same complete source and production join implementation.
Keep the original join attempt and first failure independent of mutable status views. Retire only retained original captures and preserve the raw cause when a current reader view changes during interrupted cleanup.
Select the complete source join implementation with original attempt, failure and reader custody checks.
build: Bind source runners to sticky production joins
Some checks failed
Markdown / markdown (push) Successful in 33s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 1m20s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Successful in 3m52s
Coreutils provider graph / coreutils (push) Successful in 5m23s
c9edd43e74
Use the same complete prepared-source implementation in all maintained input runners.
Compose the reviewed image grant retirement prerequisite without changing source preparation, production join or native resource policies.
Select the complete immutable composed helper inventory before original input-owner execution.
build: Bind prepared source retirement admission
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 24s
CI / rust (push) Failing after 1m49s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Successful in 5m13s
Coreutils provider graph / coreutils (push) Successful in 5m45s
185c436e81
Use the actual source and independently committed complete declaration at the existing bootstrap boundary.
test: Qualify prepared source fixture interpreter selections
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 48s
CI / rust (push) Failing after 6m6s
Coreutils provider graph / coreutils (push) Successful in 6m41s
CI / cargo_publications (push) Successful in 6m45s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
80bbb32ed2
Apply the qualified-source-fixture-python selection repair to the existing join and source fixtures without changing nofollow verification or importing newer tests.
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 48s
CI / rust (push) Failing after 6m6s
Coreutils provider graph / coreutils (push) Successful in 6m41s
CI / cargo_publications (push) Successful in 6m45s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/prepared-source-production-join:feature/prepared-source-production-join'
git switch 'feature/prepared-source-production-join'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/prepared-source-production-join'
git switch 'feature/prepared-source-production-join'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/prepared-source-production-join'
git switch 'feature/prepared-source-production-join'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/prepared-source-production-join'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'feature/prepared-source-production-join'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/prepared-source-production-join'
git switch 'feature/owned-native-build-pipeline'
git merge 'feature/prepared-source-production-join'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.