WIP: feat: Produce owned original Git packs for source export #636

Draft
erikinkinen wants to merge 0 commits from feature/owned-original-git-packs into feature/owned-native-build-pipeline
Owner

Produce a fixed non-thin Git pack and index from the actual retained source context before canonical source bindings are born. Preserve selected, transport and shallow roots, then run strict integrity and source validation in a fresh isolated pack-only context.

The source actors, held descriptors and native uses remain registered through original retirement. Artifact capacities are explicit selections under unchanged work, storage and native stream bounds; installed host tools and stable named trees remain explicit premises.

Tracks #8.

  • Original pack production, source-use lifetime guards, and genuine loose/shallow/older-index/transport export and fresh-admission controls.
  • Complete reviewed production contract, fresh full 77-role export and resource validation, and downstream EriX native/guest acceptance.
Produce a fixed non-thin Git pack and index from the actual retained source context before canonical source bindings are born. Preserve selected, transport and shallow roots, then run strict integrity and source validation in a fresh isolated pack-only context. The source actors, held descriptors and native uses remain registered through original retirement. Artifact capacities are explicit selections under unchanged work, storage and native stream bounds; installed host tools and stable named trees remain explicit premises. Tracks [#8](https://git.erikinkinen.fi/erix/integration/issues/8). - [x] Original pack production, source-use lifetime guards, and genuine loose/shallow/older-index/transport export and fresh-admission controls. - [ ] Complete reviewed production contract, fresh full 77-role export and resource validation, and downstream EriX native/guest acceptance.
Retain original source contexts and native uses while producing a fixed non-thin pack and index, then bind sources over a fresh strictly verified pack-only context. Preserve shallow and transport roots, original work and stream limits, independent postchecks, and positive capture retirement before report publication. Keep default source export unchanged and qualify full-production acceptance separately.
Derive every selected module body and mode from the clean immutable pack implementation checkpoint. Keep the original seven defining owners and bootstrap unchanged while enrolling the complete maintained helper closure.
Select the immutable implementation and complete declaration through their actual Git revisions and bytes. Preserve the existing bootstrap trust anchor and reject mixed source cohorts before execution.
Catch only per-entry readlink absence while requiring the original fail-stopped producer to remain live. Preserve directory errors, empty result checks and the actual retained pidfd assertion after enumeration.
Reject a second initializer before enrolling another source-use slot. Exercise the refusal on actual completed pack actors while preserving their original registration, reads, first-error state and successful close.
Derive all 344 selected module bodies and modes from the immutable once-only initializer checkpoint. Preserve the original defining native owners and bootstrap without selective hash updates.
build: Select the renewed original pack input cohort
Some checks failed
Markdown / markdown (push) Successful in 38s
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
Coreutils provider graph / coreutils (push) Successful in 5m45s
CI / rust (push) Successful in 9m49s
CI / native_sources (push) Failing after 22s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
68e018a203
Bind execution to the immutable initializer code and complete source declaration through their actual Git identities. Keep the unchanged bootstrap and all original source validation boundaries.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 01:05:23 +01:00
Some checks failed
Markdown / markdown (push) Successful in 38s
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
Coreutils provider graph / coreutils (push) Successful in 5m45s
CI / rust (push) Successful in 9m49s
CI / native_sources (push) Failing after 22s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/dynlink_c_runtime.py
  • scripts/native_input_owner_cohort.py
  • scripts/run-owned-input.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/owned-original-git-packs:feature/owned-original-git-packs'
git switch 'feature/owned-original-git-packs'

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/owned-original-git-packs'
git switch 'feature/owned-original-git-packs'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/owned-original-git-packs'
git switch 'feature/owned-original-git-packs'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/owned-original-git-packs'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'feature/owned-original-git-packs'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/owned-original-git-packs'
git switch 'feature/owned-native-build-pipeline'
git merge 'feature/owned-original-git-packs'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.