Skip to content

Conversation

@kcons
Copy link
Member

@kcons kcons commented Jan 7, 2026

If a workflow is being deleted, we should disregard any scheduled attempts to evaluate it.
It's still possible for it to be deleted while we're processing since we don't entirely do an up-front fetch, but this ensures a subsequent retry will not have the same issue.

Addresses ISWF-819.

@kcons kcons requested a review from a team as a code owner January 7, 2026 00:51
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 7, 2026
@kcons
Copy link
Member Author

kcons commented Jan 7, 2026

We should probably handle the redis clean-up structurally rather than doing it at every exit point, but that's a different change.

Copy link
Member

@cathteng cathteng left a comment

Choose a reason for hiding this comment

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

TIL we have a WorkflowManager that automatically excludes workflows pending deletion / being deleted when querying 🤯

@kcons kcons merged commit 40d16ff into master Jan 7, 2026
66 checks passed
@kcons kcons deleted the kcons/worfglows branch January 7, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants