Skip to content

ci(flink-smoke): bound the image build with a timeout and one retry - #220

Merged
brownjuly2003-code merged 2 commits into
mainfrom
ci/flink-smoke-bounded-build
Jul 20, 2026
Merged

ci(flink-smoke): bound the image build with a timeout and one retry#220
brownjuly2003-code merged 2 commits into
mainfrom
ci/flink-smoke-bounded-build

Conversation

@brownjuly2003-code

Copy link
Copy Markdown
Owner

The flink-smoke PR lane hung twice on doc-only PRs (#213 cancelled 30m17s, #218 cancelled 30m15s): the PyFlink image build inside docker compose up -d --build stalled silently on registry/PyPI pulls (zero build output after the ca-certificates layer) and the job's timeout-minutes: 30 was the only thing that ended it. The step's own 10-min wait loop never engaged — it starts after the build.

The build is now a separate bounded step: timeout 600 docker compose build flink-job-runner with one retry, then up -d runs the locally built image. A transient network stall now costs ~10 min and self-recovers instead of eating the whole job and leaving a red non-required check.

Contract test updated to pin the new shape (bounded build present, up -d without --build); workflow-pinning + timeout suites green locally.

🤖 Generated with Claude Code

The PyFlink image build stalled silently on registry/PyPI pulls twice on
doc-only PRs (#213, #218) — zero build output after the ca-certificates
layer until the 30-min job timeout. The build is now its own bounded step
(10 min, one retry) so a transient stall costs ~10 min and recovers,
instead of eating the whole job; the wait-loop deadline was never the
problem — it only starts after the build.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

DORA Metrics

  • Window: last 30 days
  • Branch: main
  • Deployment frequency: 118 total / 27.53 per week
  • Lead time for changes: avg 0.82h / median 0.0h
  • Change failure rate: 78.81% (93/118)
  • MTTR: 20.13h across 5 incident(s)

@brownjuly2003-code
brownjuly2003-code merged commit 6d47bc8 into main Jul 20, 2026
24 checks passed
@brownjuly2003-code
brownjuly2003-code deleted the ci/flink-smoke-bounded-build branch July 20, 2026 18:07
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.

2 participants