WIP: Run Python host tests in isolated interpreters #236

Draft
erikinkinen wants to merge 6 commits from feature/isolated-python-host-tests into feature/retained-cargo-ci-consumers
Owner

Run each maintained Python test module in a fresh interpreter with explicit tools and environment. Retain complete command output and cleanup records, keep independent module and suite budgets, continue after ordinary assertion failures, and reject a successful zero-test CLI. Bootstrap tests own their fixtures; temporary storage is no longer assigned to HOME.

Depends on #237 and uses the command owner from #215. Refs #137 and #149.

  • Preserve the maintained module namespace and actual supported source controls.
  • Keep terminal ownership, partial receipts and the first failure.
  • Supply explicit tools/environment and remove the obsolete bootstrap test alias.
  • Complete the full host-suite run and coordinated CI.
Run each maintained Python test module in a fresh interpreter with explicit tools and environment. Retain complete command output and cleanup records, keep independent module and suite budgets, continue after ordinary assertion failures, and reject a successful zero-test CLI. Bootstrap tests own their fixtures; temporary storage is no longer assigned to HOME. Depends on #237 and uses the command owner from #215. Refs #137 and #149. - [x] Preserve the maintained module namespace and actual supported source controls. - [x] Keep terminal ownership, partial receipts and the first failure. - [x] Supply explicit tools/environment and remove the obsolete bootstrap test alias. - [ ] Complete the full host-suite run and coordinated CI.
erikinkinen added this to the Alpha 1 milestone 2026-10-31 01:30:59 +01:00
ci: Run Python host tests in isolated interpreters
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Failing after 25s
CI / integration (push) Failing after 14m44s
95b6c7b02a
Give each module explicit tools, environment and retained command ownership so host thread state cannot affect later modules. Keep per-module and total budgets, continue after ordinary assertions, refuse zero-test success and decouple bootstrap fixtures from obsolete test imports.

Refs: #137, #149
erikinkinen changed target branch from feature/original-acquisition-integrity to feature/retained-cargo-ci-consumers 2026-10-31 02:56:45 +01:00
build: Join the retained Cargo prerequisite for host tests
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Failing after 26s
CI / integration (push) Failing after 15m34s
453118bef3
The isolated suite uses offline Cargo selection. Bring the replacement resolver and its original consumer controls into the host-test stack so it exercises supported source interfaces.

Refs: #137, #149
fix: Route explicit native test inputs to the memory fixture
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Failing after 26s
CI / integration (push) Failing after 15m26s
2485b2fec4
Use the established native memory fixture environment names so a complete caller selection reaches its consumer without silently falling back to other source or tool routes.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
771bea5ca5
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Extract the complete host fixture sequence
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
2cd01cb17a
Keep the existing fixture commands together in a component-owned script sourced by their original CI step. Retain the same shell options, environment, working directory and complete acceptance gates.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Successful in 6m7s
CI / markdown (push) Successful in 18s
CI / integration (push) Failing after 11m0s
51732dcb6d
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Successful in 6m7s
CI / markdown (push) Successful in 18s
CI / integration (push) Failing after 11m0s
This pull request has changes conflicting with the target branch.
  • scripts/check-integration-host-fixtures.sh
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/isolated-python-host-tests:feature/isolated-python-host-tests'
git switch 'feature/isolated-python-host-tests'

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-cargo-ci-consumers'
git merge --no-ff 'feature/isolated-python-host-tests'
git switch 'feature/isolated-python-host-tests'
git rebase 'feature/retained-cargo-ci-consumers'
git switch 'feature/retained-cargo-ci-consumers'
git merge --ff-only 'feature/isolated-python-host-tests'
git switch 'feature/isolated-python-host-tests'
git rebase 'feature/retained-cargo-ci-consumers'
git switch 'feature/retained-cargo-ci-consumers'
git merge --no-ff 'feature/isolated-python-host-tests'
git switch 'feature/retained-cargo-ci-consumers'
git merge --squash 'feature/isolated-python-host-tests'
git switch 'feature/retained-cargo-ci-consumers'
git merge --ff-only 'feature/isolated-python-host-tests'
git switch 'feature/retained-cargo-ci-consumers'
git merge 'feature/isolated-python-host-tests'
git push origin 'feature/retained-cargo-ci-consumers'
Sign in to join this conversation.
No description provided.