WIP: feat: observe native Cargo compiler commands #496

Draft
erikinkinen wants to merge 6 commits from feature/cargo-native-compiler-observations into feature/host-tool-admission-checks
Owner

Record compiler arguments, working directory and selected environment fields during actual Cargo compilation, before the original source seal. The owned wrapper executes the same pinned compiler; records describe the invocation and grant no source or compiler authority.

  • Bound captures with the original clock and counters.
  • Check the complete target tree, including traversal errors.
  • Retain original files through source retirement.
  • Complete build-graph integration and current CI.

Stacks on #495.

Record compiler arguments, working directory and selected environment fields during actual Cargo compilation, before the original source seal. The owned wrapper executes the same pinned compiler; records describe the invocation and grant no source or compiler authority. - [x] Bound captures with the original clock and counters. - [x] Check the complete target tree, including traversal errors. - [x] Retain original files through source retirement. - [ ] Complete build-graph integration and current CI. Stacks on [#495](https://git.erikinkinen.fi/erix/integration/pulls/495).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 03:47:30 +01:00
Retain bounded private argv/cwd/allowlisted-environment observations under the same original Cargo producer and native operation. Keep observations separate from source, artifact and compiler-origin authority; preserve actual Cargo diagnostics, unit matching, finite work clocks and first-failure retirement.
Register pending file duties before effects, preserve the original query and compilation clock, and retain same-file capture and artifact reads until source retirement. Bind the complete 53-body helper closure and outer intake together, with real Git/Cargo controls for finite capture, partial admission, tampering and cleanup; observations remain descriptive rather than compiler-origin authority.
fix: Refuse incomplete compiler target census
Some checks failed
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
Coreutils provider graph / coreutils (push) Successful in 1m51s
CI / rust (push) Successful in 2m38s
CI / host_zero (push) Successful in 8m48s
CI / host_two (push) Failing after 9m26s
CI / host_one (push) Successful in 10m8s
CI / host_three (push) Failing after 11m54s
CI / integration (push) Has been skipped
CI / rust (pull_request) Has been skipped
371427a8cf
Propagate every original traversal error and check the same finite work budget at each directory and entry. Cover a controlled scandir failure after real Cargo compilation, and update the defining helper body and outer intake together so no skipped subtree can become accepted product accounting.
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 / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (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
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
6f8a5d7ba9
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: Separate Markdown checks from the build workflow
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
9915cb3319
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
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 / 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) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m16s
CI / rust (push) Successful in 7m21s
CI / host_zero (push) Successful in 18m10s
CI / host_one (push) Successful in 19m17s
CI / host_two (push) Failing after 19m52s
CI / host_three (push) Failing after 23m6s
CI / integration (push) Has been skipped
f5886a7483
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 / 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) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m16s
CI / rust (push) Successful in 7m21s
CI / host_zero (push) Successful in 18m10s
CI / host_one (push) Successful in 19m17s
CI / host_two (push) Failing after 19m52s
CI / host_three (push) Failing after 23m6s
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/cargo-native-compiler-observations:feature/cargo-native-compiler-observations'
git switch 'feature/cargo-native-compiler-observations'

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/host-tool-admission-checks'
git merge --no-ff 'feature/cargo-native-compiler-observations'
git switch 'feature/cargo-native-compiler-observations'
git rebase 'feature/host-tool-admission-checks'
git switch 'feature/host-tool-admission-checks'
git merge --ff-only 'feature/cargo-native-compiler-observations'
git switch 'feature/cargo-native-compiler-observations'
git rebase 'feature/host-tool-admission-checks'
git switch 'feature/host-tool-admission-checks'
git merge --no-ff 'feature/cargo-native-compiler-observations'
git switch 'feature/host-tool-admission-checks'
git merge --squash 'feature/cargo-native-compiler-observations'
git switch 'feature/host-tool-admission-checks'
git merge --ff-only 'feature/cargo-native-compiler-observations'
git switch 'feature/host-tool-admission-checks'
git merge 'feature/cargo-native-compiler-observations'
git push origin 'feature/host-tool-admission-checks'
Sign in to join this conversation.
No description provided.