WIP: Preserve source read admission and cleanup failures #443

Draft
erikinkinen wants to merge 4 commits from feature/bounded-source-read-cleanup into feature/owned-fetch-capture
Owner

Reject nonliteral or unselected bootstrap sibling names before path construction and file access. Keep each finite source read under one raw descriptor and one disposal attempt, without an ownership handoff through a stream wrapper.

The defining bootstrap records raw close failures without exception hooks or an early diagnostic import. A close-only error remains a failure; secondary close or recorder errors cannot replace the original read failure or trigger a retry. The checked four-body bootstrap and native consumer cohort remain explicit.

Depends on #442.

  • Refuse unselected filenames before effects.
  • Preserve original bytes across bounded short reads.
  • Retain exact first errors and independent close outcomes without hooks.
  • Exercise real descriptor reuse, refused recording and checked sibling imports.
  • Complete exact-branch CI.
Reject nonliteral or unselected bootstrap sibling names before path construction and file access. Keep each finite source read under one raw descriptor and one disposal attempt, without an ownership handoff through a stream wrapper. The defining bootstrap records raw close failures without exception hooks or an early diagnostic import. A close-only error remains a failure; secondary close or recorder errors cannot replace the original read failure or trigger a retry. The checked four-body bootstrap and native consumer cohort remain explicit. Depends on #442. - [x] Refuse unselected filenames before effects. - [x] Preserve original bytes across bounded short reads. - [x] Retain exact first errors and independent close outcomes without hooks. - [x] Exercise real descriptor reuse, refused recording and checked sibling imports. - [ ] Complete exact-branch CI.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 17:39:04 +01:00
fix: Preserve source read admission and cleanup failures
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / rust (push) Successful in 3m59s
CI / host_zero (push) Successful in 16m8s
CI / host_one (push) Failing after 21m44s
CI / integration (push) Has been skipped
b56e06dc42
Reject unselected sibling names before file access and keep bounded source reads under one raw descriptor. Bind inert close recording before imports, retain the original read failure through secondary errors and refuse uncertain disposal without retries.
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 / markdown (pull_request) Has been skipped
CI / integration (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 / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
64a0645495
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 / integration (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 / integration (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
c123870dc0
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 / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 10s
CI / rust (push) Failing after 54s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
5ea58a7752
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 / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 10s
CI / rust (push) Failing after 54s
CI / host_zero (push) Has been skipped
CI / host_one (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 'feature/bounded-source-read-cleanup:feature/bounded-source-read-cleanup'
git switch 'feature/bounded-source-read-cleanup'

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/owned-fetch-capture'
git merge --no-ff 'feature/bounded-source-read-cleanup'
git switch 'feature/bounded-source-read-cleanup'
git rebase 'feature/owned-fetch-capture'
git switch 'feature/owned-fetch-capture'
git merge --ff-only 'feature/bounded-source-read-cleanup'
git switch 'feature/bounded-source-read-cleanup'
git rebase 'feature/owned-fetch-capture'
git switch 'feature/owned-fetch-capture'
git merge --no-ff 'feature/bounded-source-read-cleanup'
git switch 'feature/owned-fetch-capture'
git merge --squash 'feature/bounded-source-read-cleanup'
git switch 'feature/owned-fetch-capture'
git merge --ff-only 'feature/bounded-source-read-cleanup'
git switch 'feature/owned-fetch-capture'
git merge 'feature/bounded-source-read-cleanup'
git push origin 'feature/owned-fetch-capture'
Sign in to join this conversation.
No description provided.