Skip to content

composefs: Complete finalize-failure reporting - #122

Draft
cgwalters-bot wants to merge 2 commits into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-43011417617
Draft

cgwalters-bot wants to merge 2 commits into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-43011417617

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

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.

Generated by dispatch · ◷

cgwalters-bot and others added 2 commits November 17, 2026 14:59
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
@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Rebase round 1 of 2 for 240cc08c34f6: run.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

❌ dispatch failed (agent, check, apply: failure/skipped/skipped; the agent's exit state: none).

@cgwalters-bot
cgwalters-bot force-pushed the dispatch/implement/agent-run-43011417617 branch from 240cc08 to fa820e3 Compare December 2, 2026 00:29
@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

Fix run report:

One independent review found no rebase regression but identified an inherited case where the next boot misses a shutdown failure.

{"schema":"agent-board/recommendation/v1","pr":122,"head":"fa820e3b5c92c9cfb86ab75f95246d4938e44f8a","action":"operator_question","reason":"Failure reporting can miss a shutdown failure if the boot mount layout changes across reboot; this predates the rebase.","detail":{}}

Generated-by: https://github.com/cgwalters/#llms

Generated by dispatch · ◷

@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #122

@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Rebase round 2 of 2 for fa820e3b5c92: run.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot cgwalters-bot added the needs-human The poll stopped here; a person decides what is next label Dec 2, 2026
@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

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 needs-human; remove the label to have the poll start again on it, with fresh fix rounds.

Generated-by: https://github.com/cgwalters/#llms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-human The poll stopped here; a person decides what is next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant