Repository navigation
composefs: Complete finalize-failure reporting - #122
cgwalters-bot wants to merge 2 commits into
Conversation
The forge's staged pull requests live on this fork's own bot/** branches. This branch is upstream main plus this file, and is the fork's default branch, so main keeps tracking upstream untouched. (cherry picked from commit 3ff5943)
A shutdown failure can leave the previous deployment running without an explanation. Report the failure once on the next boot without enabling boot counting or changing rollback policy. Host library tests passed. Container checks hit the same crun startup error as main, and the TMT runner lacks bcvk. Assisted-by: https://github.com/cgwalters/cgwalters#llms
|
Rebase round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
|
❌ dispatch failed (agent, check, apply: failure/skipped/skipped; the agent's exit state: none). |
240cc08 to
fa820e3
Compare
|
Fix run report: One independent review found no rebase regression but identified an inherited case where the next boot misses a shutdown failure. Generated-by: https://github.com/cgwalters/#llms |
|
Rebase round 2 of 2 for Generated-by: https://github.com/cgwalters/#llms |
|
The poll stopped following this pull request: rebase round 2 is blocked: its run https://github.com/cgwalters-forge/tracker/actions/runs/46975440827 ended (failure) and pushed no new head for fa820e3 (conflicts with main). It is labelled Generated-by: https://github.com/cgwalters/#llms |
Executive summary
Proposed superseding draft for #80: reuse the contents of implementation commit c82f7ad, document the resulting behavior, and correct its TMT stamp lookup when /boot is not mounted. Shutdown finalization failures should remain visible on the next boot without enabling counting or changing rollback policy. Leave closing/replacing #80 to the maintainer; its branch is untouched.
Part of #65
The manuals describe persistent paths, bounded diagnostics, one-shot consumption, successful-finalization cleanup, and passive boot-complete.target activation with a required/ordered assessment dependency. Extend the lifecycle regression assertion to verify successful cleanup preserves the consumed diagnostic. No production injection option is added.
#25 was re-read and remains open. Its opt-in counting is not included or claimed available here; combined blessing/fallback validation with #25 remains a separate integration gate, not a promotion or duplication of that work.
Verification and outstanding gates
cargo test -p bootc-lib failure_stamp --lib: 0 (3 passed);cargo test -p bootc-lib boot_complete_required_dependency --lib: 0 (1 passed).cargo test -p bootc-lib --lib --quiet: 0 (337 passed, 1 ignored).cargo xtask update-generated direct --check,cargo fmt --all --check,git diff --check: all 0.just validate: 1; metadata check passed, container startup failed with crun sd-bus error before container fmt/clippy/man/schema validation.just unit-tests: 1; the same container-startup failure prevented the container unit suite.cargo xtask run-tmt --env=BOOTC_variant=composefs --composefs-backend --bootloader=grub --filesystem=ext4 --boot-type=bls --seal-state=unsealed localhost/bootc composefs-finalize-failure: 1, bcvk missing. No VM ran. Intended guest: CentOS Stream 10, composefs, GRUB, BLS, ext4, unsealed, UEFI without Secure Boot. Host: Ubuntu 26.04 x86_64, kernel 7.0.0-1019-azure, 4 CPUs, about 16 GiB RAM; bcvk, tmt and virsh absent; runner account cannot read/write /dev/kvm.Runtime proof remains outstanding for the old-deployment fallback, actionable diagnostic, unreached boot-complete.target after injected failure, and clean second reboot. Source inspection and host tests are not substitutes.
Review: one pass, no blockers; follow-ups are the inherited Aboot exclusion gap on storage-initialization errors, integration coverage of that path, and moving branch-specific counting bookkeeping out of the installed manual.
Publication limitation: the fork default is forge, but this hosted run explicitly refuses base=forge. This request therefore uses the admitted base instead; maintainer rebase/retarget to forge is required before this can serve as the requested default-branch replacement. No upstream posting or branch rewrite was performed.