WIP: Retain original owned stream invocation custody #20

Draft
erikinkinen wants to merge 5 commits from feature/owned-stream-invocation-custody into feature/recipient-stream-retirement
Owner

Drive stream calls through actual owned native IPC while borrowing the original startup and external invocation row. Wrapper abandonment leaves the original native owner and packets recoverable. Keep the manifest-selected broker route separate, without stream legacy fallback.

Supports native SHA-2 execution. All Cargo declarations continue to track main; shared companion profiles select the coordinated development branches.

  • Implement caller-retained original stream invocation custody and exact error propagation.
  • Complete cross-component provider and abandonment regressions.
  • Demonstrate the actual compiled Rust client/provider interaction in the VM.

The native receiver must already be explicitly registered. Native retirement concerns invocation custody; it does not attest provider rollback or application teardown.

Drive stream calls through actual owned native IPC while borrowing the original startup and external invocation row. Wrapper abandonment leaves the original native owner and packets recoverable. Keep the manifest-selected broker route separate, without stream legacy fallback. Supports [native SHA-2 execution](https://git.erikinkinen.fi/erix/sha2-tool/issues/1). All Cargo declarations continue to track main; shared companion profiles select the coordinated development branches. - [x] Implement caller-retained original stream invocation custody and exact error propagation. - [x] Complete cross-component provider and abandonment regressions. - [ ] Demonstrate the actual compiled Rust client/provider interaction in the VM. The native receiver must already be explicitly registered. Native retirement concerns invocation custody; it does not attest provider rollback or application teardown.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:26:18 +01:00
feat: Drive stream calls through retained native invocations
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / markdown (push) Has been cancelled
175b33cd17
Borrow the original startup and external packet row while forwarding actual owned IPC primitives. Keep full native failures and original draining owners recoverable after an adapter borrow ends, with no legacy fallback or implicit Drop cleanup.
ci: Select the coordinated owned stream providers
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / markdown (push) Has been cancelled
5eaf0bea9d
Resolve the public owned stream feature branches through the shared companion profile. Keep the exact original source graph frozen per run while Cargo declarations continue to follow main.
test: Preserve original custody when a stream adapter borrow ends
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / markdown (push) Has been cancelled
442792d0ff
Exercise the actual adapter over an external original row, including explicit recovery through the real hosted native bridge. Keep local native denial and unresolved fixture ownership distinct from successful kernel retirement or a returned stream reply.
fix: Forward exact native yield results through owned streams
Some checks failed
CI / rust (push) Has been cancelled
CI / markdown (push) Has been cancelled
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
b20cce6bb8
Use the actual scheduling syscall result instead of discarding it through the legacy void interface. Keep its complete error in the external original row, preserve first-error precedence, and require explicit native retirement after a failed wait.
test: Size owned stream requests from the wire header
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Successful in 2m55s
e720061e6c
Use the actual header width so adapter custody checks admit a valid request before exercising the original native row.
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Successful in 2m55s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
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 'feature/owned-stream-invocation-custody:feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'

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/recipient-stream-retirement'
git merge --no-ff 'feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'
git rebase 'feature/recipient-stream-retirement'
git switch 'feature/recipient-stream-retirement'
git merge --ff-only 'feature/owned-stream-invocation-custody'
git switch 'feature/owned-stream-invocation-custody'
git rebase 'feature/recipient-stream-retirement'
git switch 'feature/recipient-stream-retirement'
git merge --no-ff 'feature/owned-stream-invocation-custody'
git switch 'feature/recipient-stream-retirement'
git merge --squash 'feature/owned-stream-invocation-custody'
git switch 'feature/recipient-stream-retirement'
git merge --ff-only 'feature/owned-stream-invocation-custody'
git switch 'feature/recipient-stream-retirement'
git merge 'feature/owned-stream-invocation-custody'
git push origin 'feature/recipient-stream-retirement'
Sign in to join this conversation.
No description provided.