Skip to content

fix: give workflow the same probe grace as icc - #64

Merged
marcopiraccini merged 1 commit into
mainfrom
fix/workflow-probe-hotreload-grace
Aug 13, 2026
Merged

fix: give workflow the same probe grace as icc#64
marcopiraccini merged 1 commit into
mainfrom
fix/workflow-probe-hotreload-grace

Conversation

@marcopiraccini

@marcopiraccini marcopiraccini commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

In hotReload/dev mode the workflow container runs pnpm install from the mounted repo before it binds :3042, which takes well over the previous liveness grace of ~35s (initialDelaySeconds: 5 + 3 × periodSeconds: 10). The kubelet SIGKILLed the pod mid-install (exit 137) and it fell into CrashLoopBackOff. icc runs the same hot-reload startup but has a ~90s grace and never trips.

This aligns the workflow liveness and readiness probes with icc (initialDelaySeconds: 40, failureThreshold: 5), giving the container enough time to finish installing and start serving /status before the probes begin failing.

Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
@marcopiraccini marcopiraccini changed the title Workflow probe same as ICC fix: give workflow the same probe grace as icc Aug 13, 2026

@leorossi leorossi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcopiraccini
marcopiraccini merged commit a69d35b into main Aug 13, 2026
1 check passed
@marcopiraccini
marcopiraccini deleted the fix/workflow-probe-hotreload-grace branch August 13, 2026 08:52
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.

3 participants