WIP: Group short helper body and EOF borrows #725

Draft
erikinkinen wants to merge 0 commits from perf/catalog-helper-borrow-pairs into feature/native-scripted-root-build
Owner

Short helpers previously used separate initial, body, and EOF descriptor borrows. The fixed reader now holds one original file/parent pair for each bounded chunk and its final EOF probe. Empty files retain a complete edge PRE/EOF/edge POST pair. All original file, parent, extent, digest, namespace PRE/POST, material charges, and retirement checks remain. No proof cache or deadline changes are introduced.

Destructive regression cases run against exclusive source DATA copies inside their original 120-second controlled caller. The same monitored PID execs the same Python interpreter into the real copied source before actor admission; classes and owners are not reconstructed from metadata. All three cases are included in normal maintained CI, preserving the earlier defaults.

  • Independent source review.
  • Actual original nine helper controls plus rename, append, and truncate cases pass on immutable 4d4a17c6, with original cleanup and process forests positive.
  • Real empty, short, and multichunk inputs prove 2 max(1, N) descriptor uses and unchanged 4 × bytes + 1 material charges. This is a proof-work count, not a whole-build speed claim.
  • Final roster-only follow-up passes eight pure controls, five syntax controls, and 213 Markdown files; production reader and copy bodies remain byte-exact to the qualified source.
  • Complete signed 461-module source/declaration/binding, helper check twice, native seven/bootstrap unchanged.
  • Qualify the composed target Unit/root/EFI path and complete native artifact, image, and guest gates separately.
Short helpers previously used separate initial, body, and EOF descriptor borrows. The fixed reader now holds one original file/parent pair for each bounded chunk and its final EOF probe. Empty files retain a complete edge PRE/EOF/edge POST pair. All original file, parent, extent, digest, namespace PRE/POST, material charges, and retirement checks remain. No proof cache or deadline changes are introduced. Destructive regression cases run against exclusive source DATA copies inside their original 120-second controlled caller. The same monitored PID execs the same Python interpreter into the real copied source before actor admission; classes and owners are not reconstructed from metadata. All three cases are included in normal maintained CI, preserving the earlier defaults. - [x] Independent source review. - [x] Actual original nine helper controls plus rename, append, and truncate cases pass on immutable 4d4a17c6, with original cleanup and process forests positive. - [x] Real empty, short, and multichunk inputs prove 2 max(1, N) descriptor uses and unchanged 4 × bytes + 1 material charges. This is a proof-work count, not a whole-build speed claim. - [x] Final roster-only follow-up passes eight pure controls, five syntax controls, and 213 Markdown files; production reader and copy bodies remain byte-exact to the qualified source. - [x] Complete signed 461-module source/declaration/binding, helper check twice, native seven/bootstrap unchanged. - [ ] Qualify the composed target Unit/root/EFI path and complete native artifact, image, and guest gates separately.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 23:04:16 +01:00
Retain full original file and parent edges around each bounded body read and its EOF probe while removing adjacent separate borrows for short helpers. Full namespace PRE and independent POST, original counters and physical retirement stay unchanged. Count real empty, short and multichunk sources; run destructive mutation cases only in an exclusive source copy inside the same original controlled caller and deadline.
Regenerate the complete actual input graph from the signed source checkpoint before any genuine qualification, preserving every original module and immutable body selection.
Bind all defining runner source selections through the complete signed declaration before the unchanged finite controls.
The three actual mutation cases passed with an exclusive source copy inside their original controlled PID and deadline. Include them in the maintained default collection while preserving every earlier default case; verify dispatch enrollment without repeating unchanged native controls.
Renew the complete actual source declaration after the roster-only regression coverage update; production helper bodies remain the qualified byte-exact versions.
build: Bind CI-enrolled helper source declaration
Some checks failed
Markdown / markdown (push) Successful in 28s
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
Coreutils provider graph / coreutils (push) Successful in 6m17s
CI / cargo_publications (push) Failing after 6m53s
CI / rust (push) Failing after 7m24s
CI / native_sources (push) Has been skipped
CI / host_one (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 / integration (push) Has been skipped
e9b96b6599
Bind all original runner fields to the complete signed declaration for the current regression roster; retain the distinct earlier genuine-source evidence.
Some checks failed
Markdown / markdown (push) Successful in 28s
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
Coreutils provider graph / coreutils (push) Successful in 6m17s
CI / cargo_publications (push) Failing after 6m53s
CI / rust (push) Failing after 7m24s
CI / native_sources (push) Has been skipped
CI / host_one (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 / 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 'perf/catalog-helper-borrow-pairs:perf/catalog-helper-borrow-pairs'
git switch 'perf/catalog-helper-borrow-pairs'

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-scripted-root-build'
git merge --no-ff 'perf/catalog-helper-borrow-pairs'
git switch 'perf/catalog-helper-borrow-pairs'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/catalog-helper-borrow-pairs'
git switch 'perf/catalog-helper-borrow-pairs'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'perf/catalog-helper-borrow-pairs'
git switch 'feature/native-scripted-root-build'
git merge --squash 'perf/catalog-helper-borrow-pairs'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/catalog-helper-borrow-pairs'
git switch 'feature/native-scripted-root-build'
git merge 'perf/catalog-helper-borrow-pairs'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.