Skip to content

fix(qa): fail onboarding when required assertions are missing - #128277

Merged
steipete merged 1 commit into
mainfrom
codex/fix-onboarding-qa-false-green
Aug 23, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-onboarding-qa-false-green

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where onboarding QA could report success even though its evidence recorded a failed guided-onboarding, Gateway-auth, remote-onboarding, or targeted-reconfiguration boundary.

Why This Change Was Made

The onboarding QA owner correctly detected missing executable assertion markers but returned the Docker child's successful exit code instead of failing the overall process. Make a missing required boundary override child exit code zero while preserving successful complete runs and every original nonzero child exit code. This matches the existing plugin-install QA sibling's failure semantics without changing onboarding behavior or public contracts.

User Impact

Onboarding QA and exit-code-based CI callers now fail loudly when any required onboarding assertion is absent, instead of silently accepting incomplete coverage.

Evidence

  • Base: bf91e00d36cc94db57d23fd15a6a3c2aaa10f7ab.
  • Executed the complete actual onboarding QA entrypoint against an isolated synthetic shell fixture that emitted five required markers but omitted guided onboarding. Before the fix, the process exited 0 while qa-evidence.json recorded cli-guided-onboarding: fail; after the fix, the identical full entrypoint exits 1 and preserves the explicit failed evidence.
  • Executed the complete entrypoint with every required marker: exit 0 and all four evidence boundaries pass.
  • Executed the complete entrypoint with every marker and a child exit code of 7: the owner preserves exit code 7.
  • Changed-file formatting and linting plus git diff --check pass.
  • Tooling production delta: +1/-1, net zero.

@clawsweeper

clawsweeper Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Aug 23, 2026
@steipete
steipete marked this pull request as ready for review August 23, 2026 16:33
@steipete
steipete merged commit c700ab3 into main Aug 23, 2026
197 checks passed
@steipete
steipete deleted the codex/fix-onboarding-qa-false-green branch August 23, 2026 16:40
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant