WIP: Own native VM input helper lifetimes #354

Draft
erikinkinen wants to merge 12 commits from feature/owned-vm-input-helpers into feature/pathname-and-shell-help-workflows
Owner

Run physical and serial input helpers inside a dedicated native process owner. Cancellation closes the original controller pipe; names and numeric observations select no signal target. The owner retains its child and descendants through retirement, and completion uses a separate read-only handle after the original wait.

Bind the defining source graph before import, rejecting cached bytecode and foreign module slots. Select the keeper and result interpreter explicitly before VM/input effects; PATH supplies neither role. Controller witnesses retire once, and uncertain cleanup retains the original receiver and defining graph.

  • Own helper creation, cancellation and descendant retirement
  • Separate completion data from process authority
  • Bind literal source bodies before execution
  • Require the explicit interpreter and a nonempty original result
  • Cover native completion, signals, escaped descendants and source poisoning
  • Exercise dependent startup and manual workloads on the release image

Builds on #350. The independently retained signal-restoration gate remains open.

Run physical and serial input helpers inside a dedicated native process owner. Cancellation closes the original controller pipe; names and numeric observations select no signal target. The owner retains its child and descendants through retirement, and completion uses a separate read-only handle after the original wait. Bind the defining source graph before import, rejecting cached bytecode and foreign module slots. Select the keeper and result interpreter explicitly before VM/input effects; PATH supplies neither role. Controller witnesses retire once, and uncertain cleanup retains the original receiver and defining graph. - [x] Own helper creation, cancellation and descendant retirement - [x] Separate completion data from process authority - [x] Bind literal source bodies before execution - [x] Require the explicit interpreter and a nonempty original result - [x] Cover native completion, signals, escaped descendants and source poisoning - [ ] Exercise dependent startup and manual workloads on the release image Builds on [#350](https://git.erikinkinen.fi/erix/integration/pulls/350). The independently retained signal-restoration gate remains open.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 00:50:06 +01:00
Run physical and serial input through a dedicated sole-spawn native owner and original cancellation pipe. Keep read-only completion handles separate from authority, retire the controller witness once, and retain defining source classes through actual cleanup. Bind the selected native source graph before import so cached bytecode and foreign module slots cannot replace custody implementations.
fix: Require the selected native input interpreter
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 4s
CI / rust (push) Successful in 2m10s
CI / host_one (push) Failing after 8m49s
CI / host_zero (push) Failing after 11m25s
CI / integration (push) Has been skipped
5d1a508a4c
Use one explicit absolute interpreter role for the keeper and result reader, with no PATH discovery. Refuse missing roles before VM and controller effects, preserve the selected role through retirement, and reject a missing native completion result even when a misconfigured tool exits successfully.
test: Supply input owner roles in runner fixtures
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 5s
CI / rust (push) Successful in 2m51s
CI / host_one (push) Successful in 13m24s
CI / host_zero (push) Successful in 16m1s
CI / integration (push) Failing after 1m29s
4707c92ec3
Select the trusted interpreter explicitly in runner callers and retain literal source copies where native owner admission requires them. Preserve the original source, cancellation and retirement checks.
merge: Preserve original deadline and input fixture contracts
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 9s
CI / rust (push) Successful in 5m3s
CI / host_one (push) Failing after 5m51s
CI / host_zero (push) Failing after 22m23s
CI / integration (push) Has been skipped
3e729d81e9
Carry explicit native input callers and distinguish deadline refusal before output from the retained post-write clock gate. Keep the original operation allowances.
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
24a5f8de39
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: 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 / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m15s
CI / host_one (push) Failing after 6m26s
CI / host_zero (push) Failing after 21m14s
CI / integration (push) Has been skipped
fa1b279afd
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m15s
CI / host_one (push) Failing after 6m26s
CI / host_zero (push) Failing after 21m14s
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/owned-vm-input-helpers:feature/owned-vm-input-helpers'
git switch 'feature/owned-vm-input-helpers'

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/pathname-and-shell-help-workflows'
git merge --no-ff 'feature/owned-vm-input-helpers'
git switch 'feature/owned-vm-input-helpers'
git rebase 'feature/pathname-and-shell-help-workflows'
git switch 'feature/pathname-and-shell-help-workflows'
git merge --ff-only 'feature/owned-vm-input-helpers'
git switch 'feature/owned-vm-input-helpers'
git rebase 'feature/pathname-and-shell-help-workflows'
git switch 'feature/pathname-and-shell-help-workflows'
git merge --no-ff 'feature/owned-vm-input-helpers'
git switch 'feature/pathname-and-shell-help-workflows'
git merge --squash 'feature/owned-vm-input-helpers'
git switch 'feature/pathname-and-shell-help-workflows'
git merge --ff-only 'feature/owned-vm-input-helpers'
git switch 'feature/pathname-and-shell-help-workflows'
git merge 'feature/owned-vm-input-helpers'
git push origin 'feature/pathname-and-shell-help-workflows'
Sign in to join this conversation.
No description provided.