Select image metadata Python and epoch explicitly #557

Open
erikinkinen wants to merge 4 commits from feature/retained-image-metadata-python into feature/native-c-owner-input-cohort
Owner

Retained packaging and disk metadata use the explicitly selected image Python with site startup hooks, Python environment overrides and bytecode output disabled. This also covers helpers previously launched through their shebang.

An explicit image epoch is required before Python runs, so retained packaging cannot discover Git through PATH or derive timestamps from live HEAD. Disk construction still checks that epoch against the packaged decision. The legacy route keeps its existing interpreter and epoch discovery policy.

Builds on the reviewed native C helper cohort for Phase 6.

  • Route packaging and disk metadata through the selected isolated interpreter.
  • Require and forward the selected epoch without live-HEAD discovery.
  • Reject missing selections and mismatched packaged epochs without PATH fallback.
  • Current-head CI.
Retained packaging and disk metadata use the explicitly selected image Python with site startup hooks, Python environment overrides and bytecode output disabled. This also covers helpers previously launched through their shebang. An explicit image epoch is required before Python runs, so retained packaging cannot discover Git through PATH or derive timestamps from live HEAD. Disk construction still checks that epoch against the packaged decision. The legacy route keeps its existing interpreter and epoch discovery policy. Builds on [the reviewed native C helper cohort](https://git.erikinkinen.fi/erix/integration/pulls/558) for [Phase 6](https://git.erikinkinen.fi/erix/integration/issues/65). - [x] Route packaging and disk metadata through the selected isolated interpreter. - [x] Require and forward the selected epoch without live-HEAD discovery. - [x] Reject missing selections and mismatched packaged epochs without PATH fallback. - [ ] Current-head CI.
Route packaging and disk metadata through the selected interpreter with site startup hooks disabled. Require the retained image epoch before any Python effect instead of discovering live HEAD through PATH-selected Git.
test: Keep selected image epoch local to metadata invocation
Some checks failed
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
CI / rust (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
98287a79e1
Cover explicit shell selections that are not globally exported so metadata cannot silently fall back to live Git discovery.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 01:06:24 +01:00
fix: Keep native C caller imports within the selected cohort
Some checks failed
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
CI / rust (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
Native descriptor query diagnostic / diagnostic (pull_request) Has been skipped
90552e251d
Load optional executable and signing-key helpers only for their actual grants. Include the always-required failure-note helper in the reviewed default owner inventory and refresh the exact native C consumer hashes without accepting partial or unreviewed source graphs.
fix: Compose reviewed native caller cohort with image metadata
Some checks failed
CI / rust (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) Failing after 19s
CI / rust (push) Failing after 2m34s
Coreutils provider graph / coreutils (push) Successful in 4m47s
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
5e48e8b25f
Keep the selected C runtime producer compatible with the caller helper closure while retaining explicit image metadata inputs.
erikinkinen changed target branch from feature/retained-signing-key-consumption to feature/native-c-owner-input-cohort 2026-11-08 01:14:11 +01:00
docs: Wrap feature documentation consistently
Some checks failed
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 23s
CI / rust (push) Failing after 2m27s
Coreutils provider graph / coreutils (push) Failing after 2m4s
CI / rust (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
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
a05c4be823
Keep the existing feature documentation within the shared Markdown layout rules without changing its content.
Author
Owner

Prepared the metadata-interpreter and epoch changes at e2524564, as two feature commits on #564’s corrected source cohort. The newer helper graph and CI gates remain intact; duplicate inherited changes are omitted.

The original branch remains intact. The candidate needs fresh CI and review. Its intended destination is #564’s work branch, since #558 is already covered there; reconcile the PR destination before merging.

Prepared the metadata-interpreter and epoch changes at [e2524564](https://git.erikinkinen.fi/erix/integration/commit/e2524564432a437d369a3fe5f63df6c1cbf1e32a), as two feature commits on #564’s corrected source cohort. The newer helper graph and CI gates remain intact; duplicate inherited changes are omitted. The original branch remains intact. The candidate needs fresh CI and review. Its intended destination is #564’s work branch, since #558 is already covered there; reconcile the PR destination before merging.
Author
Owner

Updated the prepared history to 847d3fac so it retains #564’s corrected 58-helper source-owner assertion. All production code and other tests are unchanged from the previous candidate. The earlier branch and prepared ref remain intact; review and CI apply to this new head.

Updated the prepared history to [847d3fac](https://git.erikinkinen.fi/erix/integration/commit/847d3facea1717dc18b293d64cc8a8cccfbeeb4b) so it retains #564’s corrected 58-helper source-owner assertion. All production code and other tests are unchanged from the previous candidate. The earlier branch and prepared ref remain intact; review and CI apply to this new head.
Author
Owner

Prepared 38f1c74e6e5b8b71c1148c7786d931807acc721d on feature/retained-image-metadata-python-merge-ready-38f1c74e now includes the canonical helper, fixture and Rust archive fixes from #564. The feature remains separate, and the original source and previous prepared ref are preserved. Review should use this new commit.

Prepared `38f1c74e6e5b8b71c1148c7786d931807acc721d` on `feature/retained-image-metadata-python-merge-ready-38f1c74e` now includes the canonical helper, fixture and Rust archive fixes from #564. The feature remains separate, and the original source and previous prepared ref are preserved. Review should use this new commit.
Some checks failed
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 23s
CI / rust (push) Failing after 2m27s
Coreutils provider graph / coreutils (push) Failing after 2m4s
CI / rust (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
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/check-python-host-syntax.sh
  • scripts/validate-integration-scripts.sh
  • tests/fixtures/python-host-syntax-commands.json
  • tests/fixtures/script-syntax-commands.json
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/retained-image-metadata-python:feature/retained-image-metadata-python'
git switch 'feature/retained-image-metadata-python'

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/native-c-owner-input-cohort'
git merge --no-ff 'feature/retained-image-metadata-python'
git switch 'feature/retained-image-metadata-python'
git rebase 'feature/native-c-owner-input-cohort'
git switch 'feature/native-c-owner-input-cohort'
git merge --ff-only 'feature/retained-image-metadata-python'
git switch 'feature/retained-image-metadata-python'
git rebase 'feature/native-c-owner-input-cohort'
git switch 'feature/native-c-owner-input-cohort'
git merge --no-ff 'feature/retained-image-metadata-python'
git switch 'feature/native-c-owner-input-cohort'
git merge --squash 'feature/retained-image-metadata-python'
git switch 'feature/native-c-owner-input-cohort'
git merge --ff-only 'feature/retained-image-metadata-python'
git switch 'feature/native-c-owner-input-cohort'
git merge 'feature/retained-image-metadata-python'
git push origin 'feature/native-c-owner-input-cohort'
Sign in to join this conversation.
No description provided.