WIP: Preserve source bytes during syntax checks #222

Draft
erikinkinen wants to merge 4 commits from feature/source-preserving-syntax into feature/python-test-failure-retention
Owner

Run Python syntax checks in memory across both host jobs and the integration sequence. Keep every selected argument in order, preserve the first failing command, and leave source bytes and ignored bytecode caches unchanged.

Depends on #239.

  • Retain ordered source arguments and first-error behavior.
  • Compile Python in memory with descriptor cleanup controls.
  • Check both host callers and the complete source namespace.
  • Complete the public source graph and remaining repository checks.
Run Python syntax checks in memory across both host jobs and the integration sequence. Keep every selected argument in order, preserve the first failing command, and leave source bytes and ignored bytecode caches unchanged. Depends on [#239](https://git.erikinkinen.fi/erix/integration/pulls/239). - [x] Retain ordered source arguments and first-error behavior. - [x] Compile Python in memory with descriptor cleanup controls. - [x] Check both host callers and the complete source namespace. - [ ] Complete the public source graph and remaining repository checks.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 22:03:27 +01:00
ci: Preserve source bytes during syntax checks
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 7s
CI / rust (push) Failing after 41s
CI / integration (push) Failing after 2h15m17s
788932ca15
Keep maintained syntax commands in their original order and compile Python source in memory without imports or bytecode. Retain independent argument-vector, first-error and real parser controls through the host command owner.
erikinkinen changed target branch from feature/owned-host-command-lifetimes to feature/python-test-failure-retention 2026-10-31 03:21:26 +01:00
ci: Preserve source bytes across host syntax shards
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 4s
CI / rust (push) Failing after 22s
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
64b50d5c9e
Use the maintained in-memory checker for both host jobs and the integration syntax sequence. Retain every selected argument in order and the original first-error behavior without producing ignored bytecode caches.
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
e8e2e45663
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: Declare policy helper and output boundaries
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 9s
CI / rust (push) Failing after 4m22s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
d38b6da660
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 / 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 9s
CI / rust (push) Failing after 4m22s
CI / host_zero (push) Has been skipped
CI / host_one (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 'feature/source-preserving-syntax:feature/source-preserving-syntax'
git switch 'feature/source-preserving-syntax'

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/python-test-failure-retention'
git merge --no-ff 'feature/source-preserving-syntax'
git switch 'feature/source-preserving-syntax'
git rebase 'feature/python-test-failure-retention'
git switch 'feature/python-test-failure-retention'
git merge --ff-only 'feature/source-preserving-syntax'
git switch 'feature/source-preserving-syntax'
git rebase 'feature/python-test-failure-retention'
git switch 'feature/python-test-failure-retention'
git merge --no-ff 'feature/source-preserving-syntax'
git switch 'feature/python-test-failure-retention'
git merge --squash 'feature/source-preserving-syntax'
git switch 'feature/python-test-failure-retention'
git merge --ff-only 'feature/source-preserving-syntax'
git switch 'feature/python-test-failure-retention'
git merge 'feature/source-preserving-syntax'
git push origin 'feature/python-test-failure-retention'
Sign in to join this conversation.
No description provided.