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

Prevent issue handler from trying to handle issues on finished pods #4057

Merged

Conversation

JamesMurkin
Copy link
Contributor

This was causing issues where we'd send events for long finished pods

For example a pod that fails - but the pod is kept around for a few days for debugging purposes

Once the finished pod reached its activeDeadlineSeconds, the executor would send a failed event and delete the pod

We don't need to look for issues on finished pods - and sending events for finished pods is actively confusing to downstream

We now filter pods we look for issues on based on their state

This was causing issues where we'd send events for long finished pods

For example a pod that fails - but the pod is kept around for a few days
for debugging purposes

Once the finished pod reached its activeDeadlineSeconds, the executor
would send a failed event and delete the pod

We don't need to look for issues on finished pods - and sending events
for finished pods is actively confusing to downstream

We now filter pods we look for issues on based on their state
@JamesMurkin JamesMurkin marked this pull request as ready for review November 25, 2024 15:12
@JamesMurkin JamesMurkin merged commit 78d76c4 into master Dec 9, 2024
20 checks passed
@JamesMurkin JamesMurkin deleted the fix_termination_grace_period_handling_of_finished_jobs branch December 9, 2024 11:09
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