Skip to content

ci: Don't mask docker image build failures#929

Merged
rogerlz merged 1 commit into
mainfrom
ci-docker-build-exit
Jul 14, 2026
Merged

ci: Don't mask docker image build failures#929
rogerlz merged 1 commit into
mainfrom
ci-docker-build-exit

Conversation

@rogerlz

@rogerlz rogerlz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • On the HX71708 Sensor Support #895 CI run the docker image rebuild failed with the ar100 size overflow, but the "Test Klipper build" step still went green. The klippy tests then ran against the stale docker hub image with old dicts and failed with a confusing KeyError instead of showing the real build error.
  • The unbuffer wrapper masks the docker build exit code. Removed it along with the expect install. With --progress=plain the output pipes fine through sed, and pipefail now fails the step properly.

Test plan

  • Local repro: a failing docker build piped through the same sed exits 1 with pipefail, no unbuffer needed
  • Group formatting still renders on a firmware-touching PR run

The unbuffer wrapper masks the docker build exit status. On the PR #895
run the image rebuild failed with the ar100 size overflow, the step
still reported success, and the klippy tests silently ran against the
stale docker hub image with outdated dicts, failing with a confusing
KeyError instead of the real build error.

Drop unbuffer and the expect install. With --progress=plain the output
pipes fine through sed and the exit status now propagates through
pipefail. Reproduced locally with a failing Dockerfile.

Signed-off-by: Rogerio Goncalves <rogerlz@gmail.com>
@rogerlz
rogerlz merged commit 600b18e into main Jul 14, 2026
2 checks passed
@rogerlz
rogerlz deleted the ci-docker-build-exit branch July 14, 2026 16:14
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