WIP: Retain bounded metadata from failed VM scenarios #418

Draft
erikinkinen wants to merge 6 commits from feature/failed-vm-metadata-retention into feature/complete-worker-source-verification
Owner

Keep selected build metadata before a failed disk scenario’s worker is reused. A shared ledger reserves storage across workers, and each invocation gets its own namespace.

Preserve original scenario statuses when diagnostics fail. Copy only the selected metadata and case records; disk identity remains descriptive and local export does not claim successful artifact delivery. Native file and directory acquisition uses retained owners through retirement.

Depends on #405.

  • Bind the original scenario and metadata before VM execution.
  • Enforce cumulative limits and independent-process ledger contention.
  • Preserve first errors, incomplete copies and uncertain cleanup.
  • Export the selected run through CI and document the operator contract.
  • Exercise retention on the current native VM image and complete CI acceptance.
Keep selected build metadata before a failed disk scenario’s worker is reused. A shared ledger reserves storage across workers, and each invocation gets its own namespace. Preserve original scenario statuses when diagnostics fail. Copy only the selected metadata and case records; disk identity remains descriptive and local export does not claim successful artifact delivery. Native file and directory acquisition uses retained owners through retirement. Depends on #405. - [x] Bind the original scenario and metadata before VM execution. - [x] Enforce cumulative limits and independent-process ledger contention. - [x] Preserve first errors, incomplete copies and uncertain cleanup. - [x] Export the selected run through CI and document the operator contract. - [ ] Exercise retention on the current native VM image and complete CI acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 14:16:07 +01:00
Preserve the original invocation isolation and scenario-error handling together. Route native directory and file admission through retained source owners; keep this private checkpoint incomplete while process-concurrency fixtures and fail-stop isolation are reconciled with their actual capture contract.
feat: Complete owned failed VM metadata collection
Some checks failed
CI / host_one (push) Failing after 13m7s
CI / host_zero (push) Failing after 14m31s
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 10s
Coreutils provider graph / coreutils (push) Failing after 25s
CI / rust (push) Successful in 3m43s
a661d81fdc
Exercise ledger contention through independent synchronous CLI processes and preserve uncertain retirement inside an isolated control process. Export the explicitly selected run after CI failures without replacing original scenario statuses or claiming external artifact delivery.
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 / 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
330b1377e9
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
255e1faae2
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
f04e6990d3
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 32s
CI / rust (push) Failing after 47s
Markdown / markdown (push) Successful in 11s
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_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
4b4f20d310
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 32s
CI / rust (push) Failing after 47s
Markdown / markdown (push) Successful in 11s
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_zero (push) Has been skipped
CI / host_one (push) Has been skipped
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/failed-vm-metadata-retention:feature/failed-vm-metadata-retention'
git switch 'feature/failed-vm-metadata-retention'

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/complete-worker-source-verification'
git merge --no-ff 'feature/failed-vm-metadata-retention'
git switch 'feature/failed-vm-metadata-retention'
git rebase 'feature/complete-worker-source-verification'
git switch 'feature/complete-worker-source-verification'
git merge --ff-only 'feature/failed-vm-metadata-retention'
git switch 'feature/failed-vm-metadata-retention'
git rebase 'feature/complete-worker-source-verification'
git switch 'feature/complete-worker-source-verification'
git merge --no-ff 'feature/failed-vm-metadata-retention'
git switch 'feature/complete-worker-source-verification'
git merge --squash 'feature/failed-vm-metadata-retention'
git switch 'feature/complete-worker-source-verification'
git merge --ff-only 'feature/failed-vm-metadata-retention'
git switch 'feature/complete-worker-source-verification'
git merge 'feature/failed-vm-metadata-retention'
git push origin 'feature/complete-worker-source-verification'
Sign in to join this conversation.
No description provided.