Select isolated Python for retained VM helpers #573

Open
erikinkinen wants to merge 17 commits from feature/retained-vm-python-selection into feature/retained-source-range-comparison
Owner

Retained disk and appliance VM helpers now use the explicitly selected image Python with -E -S -B -Werror. The common interpreter selector also serves image metadata, whose epoch requirement remains separate; VM-only execution needs no build epoch. Legacy VM arguments and existing lifetime, marker and deadline policies are unchanged.

Depends on #570. Compose with #569 for the reviewed VM lifetime path.

Actual disk/appliance execution passes with a poisoned PATH and armed .pth/sitecustomize hooks. Focused checks also cover missing/invalid selection, unchanged legacy arguments, metadata epoch requirements, and the independent syntax/source-cleanliness checks. These controls do not claim guest or firmware acceptance.

Retained marker assertions, RTC validation, physical/serial input children, bootloader marker validation, and native-media/timing postchecks now also select isolated Python. Includes current VM lifetime dependency #569. Eight actual execution controls pass with poisoned PATH and armed startup hooks; the independent syntax and source-cleanliness controls pass. Original marker, status and clock acceptance rules remain unchanged.

Retained disk and appliance VM helpers now use the explicitly selected image Python with -E -S -B -Werror. The common interpreter selector also serves image metadata, whose epoch requirement remains separate; VM-only execution needs no build epoch. Legacy VM arguments and existing lifetime, marker and deadline policies are unchanged. Depends on [#570](https://git.erikinkinen.fi/erix/integration/pulls/570). Compose with [#569](https://git.erikinkinen.fi/erix/integration/pulls/569) for the reviewed VM lifetime path. Actual disk/appliance execution passes with a poisoned PATH and armed .pth/sitecustomize hooks. Focused checks also cover missing/invalid selection, unchanged legacy arguments, metadata epoch requirements, and the independent syntax/source-cleanliness checks. These controls do not claim guest or firmware acceptance. Retained marker assertions, RTC validation, physical/serial input children, bootloader marker validation, and native-media/timing postchecks now also select isolated Python. Includes current VM lifetime dependency #569. Eight actual execution controls pass with poisoned PATH and armed startup hooks; the independent syntax and source-cleanliness controls pass. Original marker, status and clock acceptance rules remain unchanged.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 03:25:52 +01:00
fix: Select isolated Python for retained VM helpers
Some checks failed
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) Has been cancelled
CI / native_sources (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
406c70ad41
Reuse the explicit image interpreter selector for retained VM supervision and metadata without imposing a VM-only epoch. Preserve legacy arguments and actual VM lifetime, marker and deadline duties.
Select the complete current caller and failure-note body vector with the unchanged bootstrap. Preserve defining namespaces and original native cancellation while refusing changed source before helper birth.
fix: Disable site initialization for selected VM interpreters
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
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
2d69220dee
Continue early-marker policy only while the same original owner positively observes retained live descendants after a zero-exit launcher. Preserve completed-forest refusal, nonzero failures, original clocks and final native retirement.
Select the whole actual helper import graph and its consumer pin after the VM lifetime change. Keep original caller code and native source ownership separate from these declarations.
Restore the original native caller core and retain the typed live-forest query in the policy consumer. Run console fixture subprocesses with explicit isolated flags so source validation remains bytecode-free.
Keep the original seven-file caller cohort with the reviewed complete helper inventory, source controls and one-time fixture supplier selection.

# Conflicts:
#	ARCHITECTURE.md
#	README.md
#	scripts/check-python-host-syntax.sh
#	scripts/validate-integration-scripts.sh
#	tests/fixtures/python-host-syntax-commands.json
#	tests/fixtures/script-syntax-commands.json
Keep each complete ordered source check under its original capture limits without silent-work timeout ambiguity.

# Conflicts:
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Keep the independent source-owner control at the complete 58-module cohort, including the five already reviewed defining imports.
fix: Select the defining VM policy status types locally
Some checks failed
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) Failing after 42s
CI / rust (push) Failing after 2m57s
Coreutils provider graph / coreutils (push) Successful in 4m33s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
4fced8bdd2
Bind the moved policy query to its actual defining failure and terminal-status helpers without changing the original native owner core.
Use the same explicit retained VM interpreter for required, forbidden, unique and ordered marker consumers. Exercise the actual assertion script with poisoned PATH and armed startup hooks, preserving legacy arguments and marker rules.
Select the common isolated interpreter for RTC checks, input child commands, bootloader marker checks and scenario postchecks. Keep legacy arguments and the separate original input supervisor selection intact.
Keep the complete original input caller cohort and corrected VM policy with explicit interpreter consumers. Preserve the ordered syntax inventory and refresh the complete actual native helper closure.
docs: Describe retained VM interpreter dispatch boundaries
Some checks failed
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) Failing after 21s
CI / rust (push) Failing after 3m19s
Coreutils provider graph / coreutils (push) Successful in 4m13s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
0d6c0cba5d
Record the complete retained disk and appliance execution and postcheck route, including original input supervision. Distinguish pre-VM artifact work and legacy storage scenario verification from this route.
docs: Wrap feature documentation consistently
Some checks failed
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
CI / rust (push) Failing after 2m39s
Coreutils provider graph / coreutils (push) Failing after 1m52s
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (push) Successful in 32s
Markdown / markdown (pull_request) Has been skipped
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
72769ca5d1
Keep the existing feature documentation within the shared Markdown layout rules without changing its content.
Some checks failed
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
CI / rust (push) Failing after 2m39s
Coreutils provider graph / coreutils (push) Failing after 1m52s
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (push) Successful in 32s
Markdown / markdown (pull_request) Has been skipped
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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/retained-vm-python-selection:feature/retained-vm-python-selection'
git switch 'feature/retained-vm-python-selection'

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/retained-source-range-comparison'
git merge --no-ff 'feature/retained-vm-python-selection'
git switch 'feature/retained-vm-python-selection'
git rebase 'feature/retained-source-range-comparison'
git switch 'feature/retained-source-range-comparison'
git merge --ff-only 'feature/retained-vm-python-selection'
git switch 'feature/retained-vm-python-selection'
git rebase 'feature/retained-source-range-comparison'
git switch 'feature/retained-source-range-comparison'
git merge --no-ff 'feature/retained-vm-python-selection'
git switch 'feature/retained-source-range-comparison'
git merge --squash 'feature/retained-vm-python-selection'
git switch 'feature/retained-source-range-comparison'
git merge --ff-only 'feature/retained-vm-python-selection'
git switch 'feature/retained-source-range-comparison'
git merge 'feature/retained-vm-python-selection'
git push origin 'feature/retained-source-range-comparison'
Sign in to join this conversation.
No description provided.