Skip to content

test(makefile): surface captured RUN_OUT on assert_eq failure#45

Merged
matthew-on-git merged 1 commit into
mainfrom
chore/improve-test-output
May 19, 2026
Merged

test(makefile): surface captured RUN_OUT on assert_eq failure#45
matthew-on-git merged 1 commit into
mainfrom
chore/improve-test-output

Conversation

@matthew-on-git
Copy link
Copy Markdown
Contributor

Summary

The plugin build-pipeline smoke test captures make _extended-image output into RUN_OUT and only prints it on the SECOND assertion (the grep for the build-event message). When assert_eq on exit code fails first, RUN_OUT is silently dropped — CI failures become black boxes.

Hit this debugging the post-#44-merge CI failure on main (Case 5 fails on CI, passes locally). With this change, future assert_eq failures dump RUN_OUT so the docker build output is visible.

Test plan

  • Local test still passes (RUN_OUT empty for the non-capturing cases is harmless)
  • CI green

The build-pipeline smoke test captured `make _extended-image` output
into RUN_OUT but only printed it on the SECOND assertion (the grep
for the build-event message). When assert_eq on exit code failed
first, RUN_OUT was silently dropped — CI failures became black boxes
with no docker build output to diagnose from.

Hit this debugging PR #44's Case 5 failure on CI (which passes
locally). Adding the output dump unconditionally to assert_eq so
future failures are tractable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@matthew-on-git matthew-on-git merged commit 7cff9ea into main May 19, 2026
3 checks passed
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