WIP: Retain original observed compiler unit scopes and outputs #684

Draft
erikinkinen wants to merge 2 commits from feature/observed-unit-origins into feature/native-build-script-producers
Owner

Observed compiler and replay units need fixed producing scopes before a consumer can borrow those scopes and read their files. Retain the original stage, source/native scopes, defining Cargo unit and actual dependency actors during production.

The structural accessors perform no body reads. Output vectors are fixed at binding; replay files register before descriptor acquisition. A separate graph-held vector detects erased phase rosters before file callbacks. Cleanup retains a changed scope reference as a failure and drains the original scope.

Part of #65; supports the mixed library inputs in #683. Built on #679.

  • Register original stages, units, dependencies and output/capture vectors.
  • Exercise actual Cargo compilation, fresh replay, foreign/copy refusal and original-scope cleanup through four finite controls.
  • Document the interfaces and enroll the controls in the maintained CI runner.
  • Exercise mixed observed and recipe-produced library loans through the target compiler.
  • Complete current CI acceptance.
Observed compiler and replay units need fixed producing scopes before a consumer can borrow those scopes and read their files. Retain the original stage, source/native scopes, defining Cargo unit and actual dependency actors during production. The structural accessors perform no body reads. Output vectors are fixed at binding; replay files register before descriptor acquisition. A separate graph-held vector detects erased phase rosters before file callbacks. Cleanup retains a changed scope reference as a failure and drains the original scope. Part of #65; supports the mixed library inputs in #683. Built on #679. - [x] Register original stages, units, dependencies and output/capture vectors. - [x] Exercise actual Cargo compilation, fresh replay, foreign/copy refusal and original-scope cleanup through four finite controls. - [x] Document the interfaces and enroll the controls in the maintained CI runner. - [ ] Exercise mixed observed and recipe-produced library loans through the target compiler. - [ ] Complete current CI acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 16:40:40 +01:00
Register actual Scope, capture, directory and file births before runtime effects. Refuse copied receivers and repeated initialization before callbacks, and retire the original Scope after public selector loss. This source checkpoint precedes focused controls and complete input-code renewal.
Compose the actual current native recipe source and CFI integration before enrolling runtime registration controls. Preserve every existing finite runner case and original ownership contract.
Preserve actual Scope, capture, directory, census and file rosters before callbacks or effects. Enroll genuine copy, reinitialization, substituted-owner and partial-open controls on the maintained finite caller route without changing query roles, clocks or source bounds.
Derive every selected body and mode from immutable 46a85273, preserving the complete original native-owner import graph before genuine runtime controls.
Authenticate the complete 46a85273 body selection and its actual declaration before native runtime controls. Preserve the seven native-owner and bootstrap bodies.
Latch the actual original failure before subsequent source or tool checks can fail, preserving poisoned-owner and work guards. Add a genuine partial metadata-read and independent postcheck control; incomplete pure Scope construction cannot receive cleanup callbacks.
Derive all 415 defining modules from immutable fd4bf6ba, preserving actual source modes and complete imports before the compound failure control.
Authenticate the complete fd4bf6ba body inventory and original declaration before its actual controls; keep the original native-owner and bootstrap bodies unchanged.
test: Observe runtime postchecks through actual defining methods
Some checks failed
Markdown / markdown (push) Successful in 22s
CI / cargo_publications (pull_request) Has been skipped
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) Failing after 5m20s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 5m26s
Coreutils provider graph / coreutils (push) Successful in 5m44s
25dc4619ce
Patch the frozen tool defining method rather than its immutable instance for controlled fault observation. Add the preregistered pure Scope-constructor refusal case; preserve all expectations, original bounds and input-code bodies.
Register actual source and planned native scopes before compiler-stage effects, retain original unit and dependency actors at production, and expose structural scope accessors before consumer source loans.
Regenerate the complete reachable helper declaration for original observed unit registrations.
Bind the complete observed-unit source graph and declaration in the defining runner.
Apply the structural stage guard to a registration batch and the unit guard to its actual produced units before their existing body checks.
Regenerate the complete helper declaration for stage and unit admission guards.
Bind the complete original batch source and declaration revisions.
Keep the cleanup lane on the actual constructor-held scope and retain selector failures without invoking foreign cleanup callbacks.
Regenerate the complete source declaration for observed stage cleanup.
Bind the complete original cleanup source and declaration revisions.
Bind original file vectors at completed production and preregister replay file receivers before descriptor access. Validate the original phase roster before file callbacks and enroll the genuine lifecycle controls in the maintained finite runner.
Regenerate the complete source graph for immutable observed output bindings.
Bind the complete output-origin source and declaration revisions.
Keep a completed file vector independently of the public and private phase rosters so erasing both cannot conceal retained output actors before body callbacks.
Regenerate the complete source declaration for completed replay roster custody.
Bind the complete completed-roster source and declaration revisions.
docs: Describe original observed unit scope and output loans
Some checks failed
Markdown / markdown (push) Successful in 23s
CI / cargo_publications (pull_request) Has been skipped
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 / cargo_publications (push) Failing after 4m37s
CI / rust (push) Failing after 5m0s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m46s
d87527d847
Document structural producer accessors, completed file roster custody and cleanup through original native scopes.
test: Exercise original transitive compiler dependency actors
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
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) Successful in 24s
Coreutils provider graph / coreutils (push) Failing after 1m39s
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
CI / cargo_publications (push) Has been cancelled
CI / rust (push) Has been cancelled
2c1fc354d4
Compile the maintained three-role dependency fixture and require exact original aliases and unit objects before and after a fresh replay. Resolve initial tool selectors before source admission.
test: Select the transitive origin workload before graph birth
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
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) Successful in 28s
CI / cargo_publications (push) Failing after 4m53s
CI / rust (push) Failing after 4m44s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m52s
0fd2a5353d
Use one actual service and both original transitive libraries for the unit-origin control. Preserve the existing full service selection by default and keep all original graph and native limits.
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
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) Successful in 28s
CI / cargo_publications (push) Failing after 4m53s
CI / rust (push) Failing after 4m44s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m52s
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/observed-unit-origins:feature/observed-unit-origins'
git switch 'feature/observed-unit-origins'

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/native-build-script-producers'
git merge --no-ff 'feature/observed-unit-origins'
git switch 'feature/observed-unit-origins'
git rebase 'feature/native-build-script-producers'
git switch 'feature/native-build-script-producers'
git merge --ff-only 'feature/observed-unit-origins'
git switch 'feature/observed-unit-origins'
git rebase 'feature/native-build-script-producers'
git switch 'feature/native-build-script-producers'
git merge --no-ff 'feature/observed-unit-origins'
git switch 'feature/native-build-script-producers'
git merge --squash 'feature/observed-unit-origins'
git switch 'feature/native-build-script-producers'
git merge --ff-only 'feature/observed-unit-origins'
git switch 'feature/native-build-script-producers'
git merge 'feature/observed-unit-origins'
git push origin 'feature/native-build-script-producers'
Sign in to join this conversation.
No description provided.