WIP: Retire borrowed streams without closing lenders #24

Draft
erikinkinen wants to merge 8 commits from feature/borrowed-command-stream-cleanup into feature/native-counted-head-tail
Owner

Retire each authenticated recipient view without closing the stream that lent it. Keep selected and unused directions distinct, gate alias disposal on positive view retirement, and retain independent ordinary/cleanup packets through uncertain callbacks.

Depends on #23 and CLI #18.

  • Preserve authenticated recipient kind through native startup admission.
  • Select the recipient-aware supplier graph explicitly and keep all Cargo Git dependencies on main.
  • Keep original callback buffers and remaining owner admissions intact after an unreturned callback.
  • Reserve disjoint counted owner, primary packet, cleanup packet and applet workspace regions.
  • Complete matching-image acceptance of recipient disposal, lender reuse and uncertain cleanup.

Includes the frozen development source checks from #25, merged at 095a4e6ccc8cc04f3cf1b3e66685fd240888e0e2.

Retire each authenticated recipient view without closing the stream that lent it. Keep selected and unused directions distinct, gate alias disposal on positive view retirement, and retain independent ordinary/cleanup packets through uncertain callbacks. Depends on #23 and [CLI #18](https://git.erikinkinen.fi/erix/lib-cli/pulls/18). - [x] Preserve authenticated recipient kind through native startup admission. - [x] Select the recipient-aware supplier graph explicitly and keep all Cargo Git dependencies on main. - [x] Keep original callback buffers and remaining owner admissions intact after an unreturned callback. - [x] Reserve disjoint counted owner, primary packet, cleanup packet and applet workspace regions. - [ ] Complete matching-image acceptance of recipient disposal, lender reuse and uncertain cleanup. Includes the frozen development source checks from #25, merged at `095a4e6ccc8cc04f3cf1b3e66685fd240888e0e2`.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:05:19 +01:00
fix: Retire borrowed streams without closing lenders
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Failing after 45s
1f8d0e99df
Track the utility recipient views separately from the streams that lent them. Retire those views and preserve the original lender across normal completion, errors and cleanup uncertainty.
ci: retain the public source graph on this feature branch
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / rust (push) Successful in 5m10s
9e84556c77
Select the existing public providers without changing the feature source or its test matrix.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / rust (push) Failing after 42s
5f7a6a7fed
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: Declare policy helper and output boundaries
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Successful in 4m51s
e7631bc0e4
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Integrate the command-stream prerequisites while retaining recipient-view retirement and independent cleanup packets. Select the recipient-aware CLI provider explicitly, preserve the authenticated retirement kind, and keep workspace regions disjoint through named borrowed parts.
ci: Retain recipient-aware source selection
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Successful in 1m52s
e70b512346
Preserve the existing public branch history while selecting the complete recipient-retirement supplier through the shared frozen development source protocol.
Author
Owner

The recipient cleanup now carries the command-stream custody fix: an unreturned callback keeps its original buffers and remaining owner admissions intact. Startup preserves the authenticated recipient kind, and the provider graph selects CLI #18 explicitly. The ordinary and cleanup packets have separate caller-owned backing. Matching-image disposal and lender-reuse acceptance remains open.

The recipient cleanup now carries the command-stream custody fix: an unreturned callback keeps its original buffers and remaining owner admissions intact. Startup preserves the authenticated recipient kind, and the provider graph selects CLI #18 explicitly. The ordinary and cleanup packets have separate caller-owned backing. Matching-image disposal and lender-reuse acceptance remains open.
ci: Preserve complete frozen development source checks
All checks were successful
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m53s
89460b302d
Retain current borrowed-stream runtime and its authored companion cohort while restoring the original root revision, captured service-tool and locked offline Cargo guards. Keep every original formatting, Clippy, test, documentation, native executable and ELF check. Shared source selection and its guide remain in Integration; no generic copies or duplicate feature ancestry are introduced.
ci: Merge frozen development source checks
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 2m11s
095a4e6ccc
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 2m11s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/borrowed-command-stream-cleanup:feature/borrowed-command-stream-cleanup'
git switch 'feature/borrowed-command-stream-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/native-counted-head-tail'
git merge --no-ff 'feature/borrowed-command-stream-cleanup'
git switch 'feature/borrowed-command-stream-cleanup'
git rebase 'feature/native-counted-head-tail'
git switch 'feature/native-counted-head-tail'
git merge --ff-only 'feature/borrowed-command-stream-cleanup'
git switch 'feature/borrowed-command-stream-cleanup'
git rebase 'feature/native-counted-head-tail'
git switch 'feature/native-counted-head-tail'
git merge --no-ff 'feature/borrowed-command-stream-cleanup'
git switch 'feature/native-counted-head-tail'
git merge --squash 'feature/borrowed-command-stream-cleanup'
git switch 'feature/native-counted-head-tail'
git merge --ff-only 'feature/borrowed-command-stream-cleanup'
git switch 'feature/native-counted-head-tail'
git merge 'feature/borrowed-command-stream-cleanup'
git push origin 'feature/native-counted-head-tail'
Sign in to join this conversation.
No description provided.