WIP: Own the complete standalone VM worker lifetime #420

Draft
erikinkinen wants to merge 5 commits from feature/standalone-vm-worker-custody into feature/input-helper-completion-custody
Owner

Run preparation and VM workers through one original native owner. Protected startup selects the environment before the worker body runs, while preserving current source admission and metadata handling.

Cancellation uses the original controller pipe. Completion requires the original wait and separate read-only result, including partial preparation, interruption and detached descendants. The worker body is moved into its own module without changing its orchestration.

Depends on #419.

  • Own the complete body before preparation starts.
  • Preserve cancellation, completion and first-error handling through teardown.
  • Exercise detached descendants, partial startup, nested cleanup and missing results.
  • Keep local supervisor selection explicit and document the contract.
  • Complete current-image and whole CI acceptance.
Run preparation and VM workers through one original native owner. Protected startup selects the environment before the worker body runs, while preserving current source admission and metadata handling. Cancellation uses the original controller pipe. Completion requires the original wait and separate read-only result, including partial preparation, interruption and detached descendants. The worker body is moved into its own module without changing its orchestration. Depends on #419. - [x] Own the complete body before preparation starts. - [x] Preserve cancellation, completion and first-error handling through teardown. - [x] Exercise detached descendants, partial startup, nested cleanup and missing results. - [x] Keep local supervisor selection explicit and document the contract. - [ ] Complete current-image and whole CI acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 14:32:50 +01:00
feat: Own the standalone VM worker lifetime
Some checks failed
CI / host_one (push) Failing after 11m25s
CI / host_zero (push) Failing after 14m58s
CI / integration (push) Has been skipped
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
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
Coreutils provider graph / coreutils (push) Failing after 28s
CI / rust (push) Successful in 3m59s
dca3d96408
Start preparation and worker execution through the original native owner after protected startup selection. Preserve current source admission and metadata handling, join original descendants on failure or interruption, and require the separate original completion result before reporting success.
test: Isolate native feature forwarding from runtime intake
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
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 16s
CI / rust (push) Failing after 58s
Coreutils provider graph / coreutils (push) Failing after 42s
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
fc181bda65
Observe the runtime selection passed to the shared-object builder without
starting an unrelated native source acquisition in the CLI forwarding test.
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
Coreutils provider graph / coreutils (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
Coreutils provider graph / coreutils (push) Has been cancelled
ab954e3eab
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: Separate Markdown checks from the build workflow
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 / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (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
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
13934a2079
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
Coreutils provider graph / coreutils (push) Failing after 37s
Markdown / markdown (push) Successful in 17s
CI / rust (push) Successful in 6m36s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_one (push) Failing after 6m28s
CI / host_zero (push) Failing after 23m7s
CI / integration (push) Has been skipped
eabe3e7f42
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
Coreutils provider graph / coreutils (push) Failing after 37s
Markdown / markdown (push) Successful in 17s
CI / rust (push) Successful in 6m36s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_one (push) Failing after 6m28s
CI / host_zero (push) Failing after 23m7s
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/standalone-vm-worker-custody:feature/standalone-vm-worker-custody'
git switch 'feature/standalone-vm-worker-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/input-helper-completion-custody'
git merge --no-ff 'feature/standalone-vm-worker-custody'
git switch 'feature/standalone-vm-worker-custody'
git rebase 'feature/input-helper-completion-custody'
git switch 'feature/input-helper-completion-custody'
git merge --ff-only 'feature/standalone-vm-worker-custody'
git switch 'feature/standalone-vm-worker-custody'
git rebase 'feature/input-helper-completion-custody'
git switch 'feature/input-helper-completion-custody'
git merge --no-ff 'feature/standalone-vm-worker-custody'
git switch 'feature/input-helper-completion-custody'
git merge --squash 'feature/standalone-vm-worker-custody'
git switch 'feature/input-helper-completion-custody'
git merge --ff-only 'feature/standalone-vm-worker-custody'
git switch 'feature/input-helper-completion-custody'
git merge 'feature/standalone-vm-worker-custody'
git push origin 'feature/input-helper-completion-custody'
Sign in to join this conversation.
No description provided.