fix: Borrow registered metadata for pure planning #609

Open
erikinkinen wants to merge 1 commit from fix/catalog-metadata-planning-borrow into feature/source-history-depth
Owner

The retained artifact producer repeats complete source checks after preparation solely to assign its immutable Cargo metadata for target and option planning. Borrow the same actual registered receiver at that point, checking its producer, capture, failure and retirement state without claiming current input bytes.

Compiler invocation, effective native profile selection, generated input validation, publication and independent failure postchecks retain their complete byte and namespace checks. The public checked metadata accessor keeps its behavior.

Ten actual Git/Cargo/FD controls and five complete syntax controls passed, including source mutation refusal before invocation, sticky failure after restoration and copied, partial or retired receiver refusal. The complete 281-helper cohort checks twice and all seven native-owner bodies remain exact. Acceptance scope:

  • Registration-only planning borrow and strict receiver validation.
  • Actual Git/Cargo/FD mutation and retirement controls.
  • Fresh original Integration-library, EFI and host-tool production prefix.
  • Complete Directory graph, image and authenticated guest acceptance (separate from this source fix).

CI acceptance is not claimed.

Depends on #606.

The retained artifact producer repeats complete source checks after preparation solely to assign its immutable Cargo metadata for target and option planning. Borrow the same actual registered receiver at that point, checking its producer, capture, failure and retirement state without claiming current input bytes. Compiler invocation, effective native profile selection, generated input validation, publication and independent failure postchecks retain their complete byte and namespace checks. The public checked metadata accessor keeps its behavior. Ten actual Git/Cargo/FD controls and five complete syntax controls passed, including source mutation refusal before invocation, sticky failure after restoration and copied, partial or retired receiver refusal. The complete 281-helper cohort checks twice and all seven native-owner bodies remain exact. Acceptance scope: - [x] Registration-only planning borrow and strict receiver validation. - [x] Actual Git/Cargo/FD mutation and retirement controls. - [x] Fresh original Integration-library, EFI and host-tool production prefix. - [ ] Complete Directory graph, image and authenticated guest acceptance (separate from this source fix). CI acceptance is not claimed. Depends on #606.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 15:38:34 +01:00
fix: Borrow catalog metadata for pure planning
Some checks failed
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 2m35s
Coreutils provider graph / coreutils (push) Successful in 4m34s
Markdown / markdown (push) Successful in 30s
CI / native_sources (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 / host_three (push) Has been skipped
CI / integration (push) Has been skipped
8eddf7f3e7
Use the actual completed producer registration when selecting target and compiler options after preparation. Repeating full input validation for this assignment consumes the original compiler budget without adding an effect boundary.

Keep full byte checks before compiler effects and publication, including independent failure postchecks. Actual source mutation and receiver retirement controls distinguish the planning borrow from fresh input validation.
Author
Owner

Fresh original production-prefix validation passed at this exact head in 272.23 seconds: Integration library, EFI application and host Boot-tool. Each producer retained its original 120/30/15-second limits; final source checks and actual process-forest retirement completed cleanly. This proves the three-producer prefix only. Full graph, image and authenticated guest acceptance remain separate.

Fresh original production-prefix validation passed at this exact head in 272.23 seconds: Integration library, EFI application and host Boot-tool. Each producer retained its original 120/30/15-second limits; final source checks and actual process-forest retirement completed cleanly. This proves the three-producer prefix only. Full graph, image and authenticated guest acceptance remain separate.
Some checks failed
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 2m35s
Coreutils provider graph / coreutils (push) Successful in 4m34s
Markdown / markdown (push) Successful in 30s
CI / native_sources (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 / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/catalog-metadata-planning-borrow:fix/catalog-metadata-planning-borrow'
git switch 'fix/catalog-metadata-planning-borrow'

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/source-history-depth'
git merge --no-ff 'fix/catalog-metadata-planning-borrow'
git switch 'fix/catalog-metadata-planning-borrow'
git rebase 'feature/source-history-depth'
git switch 'feature/source-history-depth'
git merge --ff-only 'fix/catalog-metadata-planning-borrow'
git switch 'fix/catalog-metadata-planning-borrow'
git rebase 'feature/source-history-depth'
git switch 'feature/source-history-depth'
git merge --no-ff 'fix/catalog-metadata-planning-borrow'
git switch 'feature/source-history-depth'
git merge --squash 'fix/catalog-metadata-planning-borrow'
git switch 'feature/source-history-depth'
git merge --ff-only 'fix/catalog-metadata-planning-borrow'
git switch 'feature/source-history-depth'
git merge 'fix/catalog-metadata-planning-borrow'
git push origin 'feature/source-history-depth'
Sign in to join this conversation.
No description provided.