Skip to content

CLO-81 cancel rollout after timeout#36863

Open
alex-hunt-materialize wants to merge 1 commit into
MaterializeInc:mainfrom
alex-hunt-materialize:CLO-81_cancel_deploy_after_timeout
Open

CLO-81 cancel rollout after timeout#36863
alex-hunt-materialize wants to merge 1 commit into
MaterializeInc:mainfrom
alex-hunt-materialize:CLO-81_cancel_deploy_after_timeout

Conversation

@alex-hunt-materialize
Copy link
Copy Markdown
Contributor

@alex-hunt-materialize alex-hunt-materialize commented Jun 2, 2026

Cancel rollout after timeout exceeded.

Motivation

Resolves https://linear.app/materializeinc/issue/CLO-81/deploy-should-cancel-environment-rollout-after-a-configurable-timeout

Description

Adds a new rollout_request_timeout field to the Materialize CRD, with a default of 24 hours. If the rollout runs for longer than that time, it gets aborted.

There is a significant change to the timestamp of the UpToDate condition. We now track its last transition time as when the value changes, not every time the reason changes. I don't think this affects anything else, but I think this is actually closer to how most K8S things use this field, and it's required to not reset the timer.

Verification

New rust tests, and new orchestratord nightly test.

@alex-hunt-materialize alex-hunt-materialize force-pushed the CLO-81_cancel_deploy_after_timeout branch 2 times, most recently from b007c3f to f8c5b07 Compare June 2, 2026 13:52
@alex-hunt-materialize alex-hunt-materialize force-pushed the CLO-81_cancel_deploy_after_timeout branch from f8c5b07 to 26db895 Compare June 2, 2026 14:08
@alex-hunt-materialize alex-hunt-materialize marked this pull request as ready for review June 2, 2026 14:45
@alex-hunt-materialize alex-hunt-materialize requested review from a team as code owners June 2, 2026 14:45
@alex-hunt-materialize
Copy link
Copy Markdown
Contributor Author

@bosconi Did you get the distribution of actual times? I wrote this with 24h timeout, but I'd like to confirm that's the appropriate number before we merge.

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