WIP: Publish replies through original native mapped response owners #135

Draft
erikinkinen wants to merge 22 commits from feature/native-completion-publication into feature/native-control-publication-custody
Owner

Prepare native mapped response storage and the original caller's wait before copying a reply. Move the genuine delivered source through publication or restore that same source on refusal, then settle only its original endpoint duty and caller generation.

Depends on #134; implements part of #11. Oversized replies preserve the transport error contract and terminal callers retire before cancellation acknowledgment. Source-model controls observe real peer backing and retained host input aliases separately; private-root, CPL3 and native multi-process acceptance remain open.

  • Retain original response storage, caller execution and delivered reply source through native publication.
  • Cover refusal rollback, transfers, terminal callers, same-address successors and independent duties.
  • Pass all eleven original local component gates without compiler warnings.
  • Complete current-head public CI.
  • Complete required native integration acceptance.
Prepare native mapped response storage and the original caller's wait before copying a reply. Move the genuine delivered source through publication or restore that same source on refusal, then settle only its original endpoint duty and caller generation. Depends on #134; implements part of #11. Oversized replies preserve the transport error contract and terminal callers retire before cancellation acknowledgment. Source-model controls observe real peer backing and retained host input aliases separately; private-root, CPL3 and native multi-process acceptance remain open. - [x] Retain original response storage, caller execution and delivered reply source through native publication. - [x] Cover refusal rollback, transfers, terminal callers, same-address successors 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 08:38:45 +01:00
Retain original thread and call or receive owners, preflight mapped output and reserve endpoint completion before publishing bytes or capability slots. Restore the exact native mapping window on copy or abandonment and defer notifications until directory guards are released.
Retain the original receive binding and reply observers alongside their prepared completion consumers. Native completion admission and its controls now consume the lifecycle and endpoint adapters directly.
Keep the complete native completion participants and host controls enabled together. Ordinary hosted libraries refuse native writes and do not retain unused native forwarding or diagnostic entry points.
Keep the lexical lookup variant lifetime independent of whether the native borrowed variant is enabled, without storing capability authority in hosted builds.
Preserve the native completion consumers and their original endpoint adapters while incorporating the corrected native exclusion exports and standalone diagnostic scope.
Native reply publication consumes the actual mapped writer and call owner. Keep the not-yet-routed receive preparation API in its host controls until the ordinary transport consumer is composed, preserving that acceptance boundary explicitly.
Carry original native caller and receiver ownership controls into mapped completion without importing later transport or activation changes. Keep the completion prefix’s existing per-transition identity-observation oracle and the separate native integration requirements.
Preserve independent delivered reply duties while settling queued calls owned by a withdrawn receiver. Carry the explicit Kernel-buffer policy controls and isolated native fixture allocations into mapped response publication.

# Conflicts:
#	src/kobj/endpoint/tests/reply_acceptance.rs
Keep exact page-owned response fixtures while eliminating redundant reference layers from the original control prerequisite.
Preserve the original retained page fixtures while using direct slice reborrows in their pending-call assertions.
Reject oversized replies before transfer preparation and retire terminal original callers before acknowledging their cancelled reply duty. Migrate legacy controls to the actual root VSpace and nonroot managed response backing, explicitly admit each reply input, and observe both mapped destinations and retained host aliases. Remove the obsolete host-only response fixture path.
Carry the original receiver allocation through the full reply fixture lifetime so later input spans cannot overlap its registration under optimized allocation.
Give each retained service receive buffer and late reply input its own aligned allocation. Valid admission must not depend on whether optimized stack or heap placement partially overlaps a previously registered page range. Preserve actual producers, payloads and all ownership assertions.
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 6m59s
c8713755b2
Carry the qualified syscall fixture guard and complete transport-page ownership into native mapped reply publication without changing native acceptance requirements.
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 6m59s
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-completion-publication:feature/native-completion-publication'
git switch 'feature/native-completion-publication'

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-control-publication-custody'
git merge --no-ff 'feature/native-completion-publication'
git switch 'feature/native-completion-publication'
git rebase 'feature/native-control-publication-custody'
git switch 'feature/native-control-publication-custody'
git merge --ff-only 'feature/native-completion-publication'
git switch 'feature/native-completion-publication'
git rebase 'feature/native-control-publication-custody'
git switch 'feature/native-control-publication-custody'
git merge --no-ff 'feature/native-completion-publication'
git switch 'feature/native-control-publication-custody'
git merge --squash 'feature/native-completion-publication'
git switch 'feature/native-control-publication-custody'
git merge --ff-only 'feature/native-completion-publication'
git switch 'feature/native-control-publication-custody'
git merge 'feature/native-completion-publication'
git push origin 'feature/native-control-publication-custody'
Sign in to join this conversation.
No description provided.