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

[backfill daemon run retries 3/n] retries of runs in completed backfills should not be considered part of the backfill #25900

Draft
wants to merge 3 commits into
base: jamie/backfill-daemon-accounts-for-retries
Choose a base branch
from

Conversation

jamiedemaria
Copy link
Contributor

@jamiedemaria jamiedemaria commented Nov 13, 2024

Summary & Motivation

If a run is retried after a backfill is complete, that run is given the backfill tag, but has no affect on the backfill itself. This can cause confusion. Imagine the scenario where a single asset-partition failed in a backfill. The backfill is complete and a user retries the failed asset and the retry succeeds. That retried run will show up in the list of runs for the backfill, but the status for asset will still be failed since the status is locked when the backfill completes. In the UI you can see a successful run for the asset partition, but that the partition is failed

We should be more strict about when run retries are considered part of the backfill. We decided in https://github.com/dagster-io/internal/discussions/12460 that retries that are launched while the backfill is in progress will be part of the backfill, but that retries that are launched after the backfill is complete should not be considered part of the backfill.

To make this change we need to remove the backfill tag from retried runs if the backfill is successful.

How I Tested These Changes

Changelog

Insert changelog entry or delete this section.

Copy link
Contributor Author

@jamiedemaria jamiedemaria force-pushed the jamie/backfill-daemon-accounts-for-retries branch from 389f553 to 46e48b3 Compare November 13, 2024 16:03
@jamiedemaria jamiedemaria force-pushed the jamie/remove-backfill-tags-for-run-retries-after-backfill-complete branch from aabdbaa to 039026a Compare November 13, 2024 16:04
@jamiedemaria jamiedemaria changed the title retries of runs in completed backfills should not be considered part of the backfill [backfill daemon run retries 3/n] retries of runs in completed backfills should not be considered part of the backfill Nov 13, 2024
@jamiedemaria jamiedemaria force-pushed the jamie/backfill-daemon-accounts-for-retries branch from 46e48b3 to eade146 Compare November 13, 2024 16:40
@jamiedemaria jamiedemaria force-pushed the jamie/remove-backfill-tags-for-run-retries-after-backfill-complete branch from 039026a to 9f7eaa6 Compare November 13, 2024 16:40
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.

1 participant