WIP: Propagate dynamic image producer failures #796

Draft
erikinkinen wants to merge 1 commit from fix/propagate-image-manifest-failures into fix/configured-image-cargo-routing
Owner

Summary and rationale

A failed image manifest producer could leave launch generation and closure checks running with absent inputs. Preserve the producer status and emit manifest coordinates only after the final check succeeds.

Tracking and scope

Based on #791. Covers the dynamic image shell orchestration used by scenario and appliance callers.

Architecture and failure behavior

Each dependent stage checks its predecessor before consuming its output. The change affects host build control flow and preserves the image format and runtime authority contracts.

Validation evidence

All 23 manifest catalog tests passed. A recording producer exits with status 37 under command substitution. The caller returns 37, emits no coordinates, and skips the launch and closure tools. Markdown lint passed for all 148 files. Hosted CI is pending.

## Summary and rationale A failed image manifest producer could leave launch generation and closure checks running with absent inputs. Preserve the producer status and emit manifest coordinates only after the final check succeeds. ## Tracking and scope Based on #791. Covers the dynamic image shell orchestration used by scenario and appliance callers. ## Architecture and failure behavior Each dependent stage checks its predecessor before consuming its output. The change affects host build control flow and preserves the image format and runtime authority contracts. ## Validation evidence All 23 manifest catalog tests passed. A recording producer exits with status 37 under command substitution. The caller returns 37, emits no coordinates, and skips the launch and closure tools. Markdown lint passed for all 148 files. Hosted CI is pending.
erikinkinen added this to the Alpha 1 milestone 2026-11-21 03:29:35 +01:00
fix: Propagate dynamic image producer failures
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (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
Coreutils provider graph / coreutils (push) Successful in 2m21s
Markdown / markdown (push) Successful in 6s
CI / rust (push) Successful in 4m4s
CI / native_sources (push) Successful in 12s
CI / host_two (push) Successful in 12m38s
CI / host_zero (push) Successful in 14m28s
CI / host_one (push) Successful in 12m12s
CI / host_three (push) Successful in 10m37s
CI / integration (push) Failing after 2m15s
82c444e5c8
Image and appliance callers capture manifest coordinates through command substitution. Stop each dependent packaging step on a failed input or producer and retain its exit status before printing coordinates. Exercise the actual command substitution with a failed manifest producer.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (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
Coreutils provider graph / coreutils (push) Successful in 2m21s
Markdown / markdown (push) Successful in 6s
CI / rust (push) Successful in 4m4s
CI / native_sources (push) Successful in 12s
CI / host_two (push) Successful in 12m38s
CI / host_zero (push) Successful in 14m28s
CI / host_one (push) Successful in 12m12s
CI / host_three (push) Successful in 10m37s
CI / integration (push) Failing after 2m15s
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 'fix/propagate-image-manifest-failures:fix/propagate-image-manifest-failures'
git switch 'fix/propagate-image-manifest-failures'

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 'fix/configured-image-cargo-routing'
git merge --no-ff 'fix/propagate-image-manifest-failures'
git switch 'fix/propagate-image-manifest-failures'
git rebase 'fix/configured-image-cargo-routing'
git switch 'fix/configured-image-cargo-routing'
git merge --ff-only 'fix/propagate-image-manifest-failures'
git switch 'fix/propagate-image-manifest-failures'
git rebase 'fix/configured-image-cargo-routing'
git switch 'fix/configured-image-cargo-routing'
git merge --no-ff 'fix/propagate-image-manifest-failures'
git switch 'fix/configured-image-cargo-routing'
git merge --squash 'fix/propagate-image-manifest-failures'
git switch 'fix/configured-image-cargo-routing'
git merge --ff-only 'fix/propagate-image-manifest-failures'
git switch 'fix/configured-image-cargo-routing'
git merge 'fix/propagate-image-manifest-failures'
git push origin 'fix/configured-image-cargo-routing'
Sign in to join this conversation.
No description provided.