WIP: perf: Stream retained context and runtime input reads #745

Draft
erikinkinen wants to merge 0 commits from perf/retained-input-hash-streams into feature/native-scripted-root-build
Owner

Read retained Git context objects and runtime files through fixed held segments. Every byte, original charge, runtime EOF check and physical POST remains required. Generic range and compilation tree comparisons keep their existing paths.

Pending originally deliverable signals end a segment before another chunk. Original descriptor-use withdrawal restores the mask and delivers the original handler; the stream never consumes signals, invokes handlers or resets timers. The native read body ends before mask restoration, while registered withdrawal still fences close until restoration completes. Fresh original bindings and PRE checks precede resumed reads.

Builds on #690 and #742.

  • Implement fixed context and runtime streams with original capture, buffer and work registrations.
  • Preserve full byte accounting, physical POST and active-use retirement guards.
  • Add actual byte/use counts, returning-signal, deadline, mutation and cleanup controls.
  • Document signal delivery and retained input boundaries.
  • Qualify actual byte, signal, deadline, mutation and withdrawal controls.
  • Qualify the native library dependency sequence.
Read retained Git context objects and runtime files through fixed held segments. Every byte, original charge, runtime EOF check and physical POST remains required. Generic range and compilation tree comparisons keep their existing paths. Pending originally deliverable signals end a segment before another chunk. Original descriptor-use withdrawal restores the mask and delivers the original handler; the stream never consumes signals, invokes handlers or resets timers. The native read body ends before mask restoration, while registered withdrawal still fences close until restoration completes. Fresh original bindings and PRE checks precede resumed reads. Builds on #690 and #742. - [x] Implement fixed context and runtime streams with original capture, buffer and work registrations. - [x] Preserve full byte accounting, physical POST and active-use retirement guards. - [x] Add actual byte/use counts, returning-signal, deadline, mutation and cleanup controls. - [x] Document signal delivery and retained input boundaries. - [x] Qualify actual byte, signal, deadline, mutation and withdrawal controls. - [ ] Qualify the native library dependency sequence.
erikinkinen added this to the Alpha 1 milestone 2026-11-11 19:38:45 +01:00
Keep original file and directory uses through fixed read segments while preserving full bytes, exact charges, physical POST and active-use retirement fences. Pending originally deliverable signals withdraw each segment before another chunk, retaining original handler delivery and deadline bounds.
Record the complete original input-owner cohort for signal-responsive context hashing and runtime file reads, including their fixed read and withdrawal guards.
build: Bind retained input stream owner declaration
Some checks failed
Markdown / markdown (push) Successful in 10s
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 2m16s
CI / cargo_publications (push) Failing after 6m23s
CI / rust (push) Successful in 11m45s
CI / native_sources (push) Successful in 21s
CI / host_two (push) Failing after 3m18s
CI / host_zero (push) Failing after 3m19s
CI / host_one (push) Failing after 3m20s
CI / host_three (push) Failing after 3m21s
CI / integration (push) Has been skipped
6c8c14f0d2
Select the exact complete signed source declaration without changing timers, original material limits or public comparison semantics.
Latch failed retained file checks in the independently registered runtime stage before later namespace checks can produce a secondary error. Keep the original alarm and failure identity across restored reads and substituted current views while preserving physical POST and descriptor withdrawal.
Record the complete immutable source cohort after retaining stream failures in their actual registered runtime stage.
build: Bind original runtime stream failure declaration
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 29s
Coreutils provider graph / coreutils (push) Failing after 3m1s
CI / cargo_publications (push) Failing after 16m43s
CI / rust (push) Successful in 21m13s
CI / native_sources (push) Failing after 1m44s
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
0e1bed6988
Select the exact complete source declaration while retaining original alarm delivery, finite work and namespace checks.
Author
Owner

Fixed read segments now cover admitted Git context objects and runtime archive and metadata reads while preserving original signal delivery and physical POST. Runtime read failures retain their original stage and raw error, so later namespace checks cannot replace the original alarm. The combined library dependency build remains open.

Fixed read segments now cover admitted Git context objects and runtime archive and metadata reads while preserving original signal delivery and physical POST. Runtime read failures retain their original stage and raw error, so later namespace checks cannot replace the original alarm. The combined library dependency build remains open.
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 29s
Coreutils provider graph / coreutils (push) Failing after 3m1s
CI / cargo_publications (push) Failing after 16m43s
CI / rust (push) Successful in 21m13s
CI / native_sources (push) Failing after 1m44s
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/native_input_owner_cohort.py
  • scripts/run-owned-input.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'perf/retained-input-hash-streams:perf/retained-input-hash-streams'
git switch 'perf/retained-input-hash-streams'

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