WIP: Publish synchronous controls through original scoped owners #134

Draft
erikinkinen wants to merge 19 commits from feature/native-control-publication-custody into feature/native-call-response-loans
Owner

Retain the original native request and response owner across synchronous control execution. Copy the request under scoped admission, execute from Kernel-owned storage, and publish only through the original surviving mapping and process lifetime.

Depends on #133; implements part of #11. Withdrawing a recorded receiver settles queued callers while preserving independent delivered reply duties and notifications. Kernel-buffer policy controls remain separate from native span admission and publication controls.

  • Retain scoped native control ownership through request admission and response publication.
  • Cover terminal owners, denied spans, exact receiver withdrawal and independent duties.
  • Pass all eleven original local component gates without compiler warnings.
  • Complete current-head public CI.
  • Complete required native integration acceptance.
Retain the original native request and response owner across synchronous control execution. Copy the request under scoped admission, execute from Kernel-owned storage, and publish only through the original surviving mapping and process lifetime. Depends on #133; implements part of #11. Withdrawing a recorded receiver settles queued callers while preserving independent delivered reply duties and notifications. Kernel-buffer policy controls remain separate from native span admission and publication controls. - [x] Retain scoped native control ownership through request admission and response publication. - [x] Cover terminal owners, denied spans, exact receiver withdrawal and independent duties. - [x] Pass all eleven original local component gates without compiler warnings. - [x] Complete current-head public CI. - [ ] Complete required native integration acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 07:19:29 +01:00
Retain synchronous control buffers and original capability, lifecycle and response exclusions through deferred publication. Borrow the defining receive capability for held reply checks and keep host fixture buffers as a distinct typed adapter.
Remove unused forwarding adapters until their prepared completion consumers are present. Keep immediate lifecycle contention probes in their existing host controls while production control dispatch retains its actual lexical lifecycle owner.
Keep the scoped control-buffer section consistent with the existing Markdown format.
Keep the original held-admission endpoint controls available to their terminal-control tests without exposing unused hosted product adapters.
Retain explicit release ordering for the original response, lifecycle and capability owners while ending their borrowed mutation contexts through ordinary lexical scopes.
Keep the endpoint selector for configured native traces without requiring those diagnostics in ordinary hosted builds.
Carry original caller and receiver loans, managed reply backing and independent completion controls into the control publication prefix. Preserve every original component gate and the separate native activation requirements.
Cancel undelivered calls owned by the withdrawn receive binding while preserving independent delivered reply duties and queued notifications. Exercise the distinction with genuine staged callers and receivers. Keep policy and backend fixtures on the explicit Kernel-owned buffer entry point, and isolate concurrent response pages from unrelated host allocation placement.
Use the page-owned fixture slices without redundant mutable reference layers. The original allocations and native ownership checks remain unchanged.
refactor: Reborrow caller slices without extra references
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Failing after 3m33s
835f8252e1
Pass the retained original response slices directly to the exact pending-call assertions, preserving their ownership and lifetime.
Author
Owner

Keep the original receive allocation in an aligned page for the full fixture lifetime. Later stack inputs can no longer overlap its registration under optimized allocation.

Keep the original receive allocation in an aligned page for the full fixture lifetime. Later stack inputs can no longer overlap its registration under optimized allocation.
test: Retain the original receiver allocation through reply controls
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 6m43s
1af955da94
Own an aligned receive page for the full fixture lifetime. Later stack inputs cannot overlap a dangling constructor registration and alter the real receiver-span policy under optimized allocation.
Author
Owner

Compose the corrected original syscall fixture guard and separately retained transport pages. Refused syscalls cannot settle another test universe while it holds lifecycle exclusion.

Compose the corrected original syscall fixture guard and separately retained transport pages. Refused syscalls cannot settle another test universe while it holds lifecycle exclusion.
test: Compose original syscall fixture ownership
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 6m54s
e2401598d9
Serialize rejection controls before native retirement cleanup and retain separate complete pages for original transport fixtures. Keep every original producer and assertion.

# Conflicts:
#	src/kobj/endpoint/tests/nested_runtime_calls.rs
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 6m54s
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/native-control-publication-custody:feature/native-control-publication-custody'
git switch 'feature/native-control-publication-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/native-call-response-loans'
git merge --no-ff 'feature/native-control-publication-custody'
git switch 'feature/native-control-publication-custody'
git rebase 'feature/native-call-response-loans'
git switch 'feature/native-call-response-loans'
git merge --ff-only 'feature/native-control-publication-custody'
git switch 'feature/native-control-publication-custody'
git rebase 'feature/native-call-response-loans'
git switch 'feature/native-call-response-loans'
git merge --no-ff 'feature/native-control-publication-custody'
git switch 'feature/native-call-response-loans'
git merge --squash 'feature/native-control-publication-custody'
git switch 'feature/native-call-response-loans'
git merge --ff-only 'feature/native-control-publication-custody'
git switch 'feature/native-call-response-loans'
git merge 'feature/native-control-publication-custody'
git push origin 'feature/native-call-response-loans'
Sign in to join this conversation.
No description provided.