WIP: Qualify source fixture Python before pinning #660

Draft
erikinkinen wants to merge 0 commits from fix/qualified-source-fixture-python into feature/owned-native-build-pipeline
Owner

Summary and rationale

Select the fixture interpreter's actual executable before creating its original nofollow pin. Debian CI invokes python3 through a symlink; hashing its target while retaining the alias made genuine source joins fail with ELOOP.

Tracking and scope

Fixes the source-fixture failure on #628 and #659. Updates prepared-source joins, source export and the fixed publication CLI tests. Production executable selection and verification are unchanged.

Architecture, authority and failure behavior

Resolve only the fixture's initial Python selection before producer construction. The original executable receiver still refuses symlinks, validates the selected regular file and retains its normal input/native lifetime checks.

Validation evidence

At a5ab84a4, controls invoked the actual /usr/bin/python3 symlink: all four prepared-source joins pass, and genuine source export plus fixed CLI publication pass. Caller and descendant cleanup are confirmed. No Rust or VM behavior changes; complete current CI remains pending.

Review checklist

  • Signed commit and inline explanation
  • Actual alias reproduction and original nofollow verification retained
  • Complete current CI acceptance
## Summary and rationale Select the fixture interpreter's actual executable before creating its original nofollow pin. Debian CI invokes `python3` through a symlink; hashing its target while retaining the alias made genuine source joins fail with `ELOOP`. ## Tracking and scope Fixes the source-fixture failure on #628 and #659. Updates prepared-source joins, source export and the fixed publication CLI tests. Production executable selection and verification are unchanged. ## Architecture, authority and failure behavior Resolve only the fixture's initial Python selection before producer construction. The original executable receiver still refuses symlinks, validates the selected regular file and retains its normal input/native lifetime checks. ## Validation evidence At `a5ab84a4`, controls invoked the actual `/usr/bin/python3` symlink: all four prepared-source joins pass, and genuine source export plus fixed CLI publication pass. Caller and descendant cleanup are confirmed. No Rust or VM behavior changes; complete current CI remains pending. ## Review checklist - [x] Signed commit and inline explanation - [x] Actual alias reproduction and original nofollow verification retained - [ ] Complete current CI acceptance
erikinkinen added this to the Alpha 1 milestone 2026-11-10 07:58:35 +01:00
test: Qualify the source fixture interpreter before pinning
Some checks failed
Markdown / markdown (push) Successful in 21s
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 / cargo_publications (push) Successful in 4m57s
Coreutils provider graph / coreutils (push) Successful in 6m28s
CI / rust (push) Failing after 13m3s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
a5ab84a404
Resolve the fixture interpreter selection to its actual executable before constructing the original nofollow tool pin. Cover prepared joins, source export and source publication commands without relaxing executable verification.
Some checks failed
Markdown / markdown (push) Successful in 21s
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 / cargo_publications (push) Successful in 4m57s
Coreutils provider graph / coreutils (push) Successful in 6m28s
CI / rust (push) Failing after 13m3s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (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 'fix/qualified-source-fixture-python:fix/qualified-source-fixture-python'
git switch 'fix/qualified-source-fixture-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/owned-native-build-pipeline'
git merge --no-ff 'fix/qualified-source-fixture-python'
git switch 'fix/qualified-source-fixture-python'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'fix/qualified-source-fixture-python'
git switch 'fix/qualified-source-fixture-python'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'fix/qualified-source-fixture-python'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'fix/qualified-source-fixture-python'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'fix/qualified-source-fixture-python'
git switch 'feature/owned-native-build-pipeline'
git merge 'fix/qualified-source-fixture-python'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.