ci: add verbose flag to flux reconcile and increase helmrelease timeout#23240
Merged
Conversation
…imeouts Add structured logging to every stage in deploy.yaml: - UTC timestamps before and after each step - Explicit timeout-minutes on every step and job - Summary of all step timeouts printed at the start of the deploy job - On failure: dump deployment describe, pod status, events, flux status - Wrap flux reconcile and kubectl rollout in helper functions with per-resource error diagnostics - Add timeout-minutes to should-deploy (5m) and deploy-wsproxies (30m) jobs - Add set -euxo pipefail and structured output to wsproxy deploys
c38241b to
c4a6f33
Compare
69d800c to
6099b99
Compare
6099b99 to
8bee756
Compare
johnstcn
approved these changes
Mar 18, 2026
Comment on lines
+112
to
+117
| flux --namespace flux-system reconcile --verbose source git flux-system | ||
| flux --namespace flux-system reconcile --verbose source git coder-main | ||
| flux --namespace flux-system reconcile --verbose kustomization flux-system | ||
| flux --namespace flux-system reconcile --verbose kustomization coder | ||
| flux --namespace flux-system reconcile --verbose source chart coder-coder | ||
| flux --namespace flux-system reconcile --verbose source chart coder-coder-provisioner |
Member
There was a problem hiding this comment.
Do we need to bump the recon timeout on the source / ks as well? Do those also default to 5m?
Contributor
Author
There was a problem hiding this comment.
5m by default, yeah
I'll make them explicit
8bee756 to
a39a837
Compare
Add --verbose to every flux reconcile invocation for better diagnostics on failure, and increase the timeout for helmrelease reconciliations from the default 5m to 10m. Ref: https://github.com/coder/coder/actions/runs/23251163568/job/67597250364
a39a837 to
185e396
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disclaimer: implemented by a Coder Agent using Claude Opus 4.6
Ref: https://github.com/coder/coder/actions/runs/23251163568/job/67597250364
The deploy workflow Flux reconciliation step failed with no visibility into what went wrong. Two changes:
--verboseto everyflux reconcileinvocation to print generated objects on failure--timeoutfor the fourhelmreleasereconciliations from the default 5m to 10m