Keep scenario inspection read-only #374

Open
erikinkinen wants to merge 4 commits from feature/scenario-source-read-only into feature/ordinary-c-process-startup
Owner

Child shells launch the scenario parser without inheriting the parent Python -B flag. Its local heap-policy import then writes bytecode into the checkout, causing the original-source closure check to reject the source.

Disable bytecode writes at the CLI entry point and exercise both direct and shell parsing with a clean child environment. Keep the source-closure check strict; no cache exclusion is added.

  • Prevent parser bytecode writes and reproduce both invocation routes.
  • Confirm CI progresses beyond the source-closure failure.

Based on #357.

Child shells launch the scenario parser without inheriting the parent Python `-B` flag. Its local heap-policy import then writes bytecode into the checkout, causing the original-source closure check to reject the source. Disable bytecode writes at the CLI entry point and exercise both direct and shell parsing with a clean child environment. Keep the source-closure check strict; no cache exclusion is added. - [x] Prevent parser bytecode writes and reproduce both invocation routes. - [x] Confirm CI progresses beyond the source-closure failure. Based on [#357](https://git.erikinkinen.fi/erix/integration/pulls/357).
erikinkinen added this to the Alpha 1 milestone 2026-11-06 07:26:16 +01:00
fix: Keep scenario inspection from writing source bytecode
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Successful in 2m34s
CI / host_zero (push) Failing after 5m2s
CI / host_one (push) Failing after 21m42s
CI / integration (push) Has been skipped
b41e30f2d1
The scenario CLI imports local heap policy through child shells that do not inherit the parent Python bytecode flag. Disable bytecode before those imports so parsing preserves the admitted source inventory without excluding generated files from source validation.
erikinkinen changed title from WIP: Keep scenario inspection read-only to Keep scenario inspection read-only 2026-11-06 07:31:08 +01:00
test: Isolate native feature forwarding from runtime intake
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 17s
CI / rust (push) Successful in 6m12s
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
6123c3455e
Observe the runtime selection passed to the shared-object builder without
starting an unrelated native source acquisition in the CLI forwarding test.
ci: Use shared development dependency profiles
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 / markdown (pull_request) Has been skipped
CI / integration (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 / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
91526927cc
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: Use shared development dependency profiles
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 13s
CI / rust (push) Successful in 6m35s
CI / host_zero (push) Failing after 6m39s
CI / host_one (push) Failing after 22m29s
CI / integration (push) Has been skipped
16061e4741
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.
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 13s
CI / rust (push) Successful in 6m35s
CI / host_zero (push) Failing after 6m39s
CI / host_one (push) Failing after 22m29s
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
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/scenario-source-read-only:feature/scenario-source-read-only'
git switch 'feature/scenario-source-read-only'

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/ordinary-c-process-startup'
git merge --no-ff 'feature/scenario-source-read-only'
git switch 'feature/scenario-source-read-only'
git rebase 'feature/ordinary-c-process-startup'
git switch 'feature/ordinary-c-process-startup'
git merge --ff-only 'feature/scenario-source-read-only'
git switch 'feature/scenario-source-read-only'
git rebase 'feature/ordinary-c-process-startup'
git switch 'feature/ordinary-c-process-startup'
git merge --no-ff 'feature/scenario-source-read-only'
git switch 'feature/ordinary-c-process-startup'
git merge --squash 'feature/scenario-source-read-only'
git switch 'feature/ordinary-c-process-startup'
git merge --ff-only 'feature/scenario-source-read-only'
git switch 'feature/ordinary-c-process-startup'
git merge 'feature/scenario-source-read-only'
git push origin 'feature/ordinary-c-process-startup'
Sign in to join this conversation.
No description provided.