Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "engine: consider Unschedulable pods as being in error state" #4413

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

milas
Copy link
Contributor

@milas milas commented Apr 8, 2021

Unfortunately, this is too aggressive and can cause tilt ci to fail even when everything will come up successfully but isn't doing so fast enough.

The behavior we're reverting to is still technically correct - the pod is pending. We'd like to frame that as an error if it's going to be waiting indefinitely, but we can't accurately make that determination with the state available.

Perhaps this would be better addressed as an optional flag/config for tilt ci of a "max resource startup duration" that could generically cause it to fail if a resource is still in pending after some user-determined amount of time to avoid a tilt ci process that runs indefinitely but avoid pitfalls like the one encountered here.

Reverts #4386.

Closes #4412.

@milas milas added the bug Something isn't working label Apr 8, 2021
@milas milas requested review from nicks and maiamcc April 8, 2021 18:39
Copy link
Contributor

@maiamcc maiamcc left a comment

Choose a reason for hiding this comment

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

F

@milas milas merged commit 77ae37f into master Apr 8, 2021
@milas milas deleted the revert-4386-milas/bugfix-unschedulable-pod branch April 8, 2021 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unexplained tilt ci exits
3 participants