ci: restore polling heartbeat for buildx logs #3

Merged
nanxun merged 1 commits from codex/ci-heartbeat-fix into main 2026-05-15 16:21:39 +08:00
Owner

Summary

  • replace the tail --pid ... -f buildx log streaming wrapper with the earlier polling-based heartbeat loop
  • keep incremental log flushing and explicit non-zero exit reporting for both API and Web image stages
  • avoid the durable-task compatibility issue that can stop touching the Jenkins wrapper log during long multi-arch pushes

Why

The failed run kept printing heartbeats until the docker buildx build --push tail-wrapper phase, then Jenkins reported:

  • wrapper script does not seem to be touching the log file

This points to the shell wrapper / durable-task interaction, not the image build definition itself.

## Summary - replace the `tail --pid ... -f` buildx log streaming wrapper with the earlier polling-based heartbeat loop - keep incremental log flushing and explicit non-zero exit reporting for both API and Web image stages - avoid the durable-task compatibility issue that can stop touching the Jenkins wrapper log during long multi-arch pushes ## Why The failed run kept printing heartbeats until the `docker buildx build --push` tail-wrapper phase, then Jenkins reported: - `wrapper script does not seem to be touching the log file` This points to the shell wrapper / durable-task interaction, not the image build definition itself.
nanxun added 1 commit 2026-05-15 16:20:49 +08:00
nanxun merged commit 5a6c374320 into main 2026-05-15 16:21:39 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nanxun/live_recorder#3