Skip to content

K2GO-450 fix(install): a hard Ansible crash always fails, even after a clean recap - #632

Merged
luisguzman-adfa merged 2 commits into
mainfrom
fix/K2GO-450-forgejo-seed-fail-loud
Oct 5, 2026
Merged

luisguzman-adfa merged 2 commits into
mainfrom
fix/K2GO-450-forgejo-seed-fail-loud

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Follow-up to the K2GO-450 fix (PR #631): the code-review's second pass found
this, but the commit landed after #631 was merged, so it is not yet in main.

The merged fix made AnsibleRunOutcome trust the PLAY RECAP and ignore stray
[ERROR] lines, so an ignored ansible error no longer false-fails a module
install. But it lumped the hard crash signatures (Unable to use multiprocessing
/ HEARTBEAT SESSION STOPPED) in with [ERROR]: once any clean PLAY RECAP was
seen, failed() returned the recap verdict and ignored a crash. IIAB emits
several intermediate recaps, so a crash that exits 0 after an early clean recap
(the ADFA-4435 case) could be reported as success.

Change: track the hard crash signatures in their own flag that always fails,
before the recap is consulted; [ERROR] stays recap-suppressible (the
ignored-error fix), and a non-zero exit still always fails.

Verification: AnsibleRunOutcomeTest green, including the added
crashSignatureAfterCleanRecap_isStillFailed (fails on the pre-change code,
passes now). Pure JVM domain change.

…a clean recap

Code-review second-pass catch. The prior commit lumped the hard crash
signatures (Unable to use multiprocessing / HEARTBEAT SESSION STOPPED) with
[ERROR] into one flag that failed() ignored once any PLAY RECAP was seen. IIAB
emits several intermediate recaps, so an early clean recap could mask a later
crash that exits 0 (the ADFA-4435 case). Split the hard crash signatures into
their own flag that always fails; [ERROR] stays recap-suppressible (the
ignored-error fix). +regression test (crash after a clean recap).
@luisguzman-adfa
luisguzman-adfa merged commit 29c2709 into main Oct 5, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/K2GO-450-forgejo-seed-fail-loud branch October 5, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant