Skip to content

Bug 2048055 - Mark BACKFILLED records as FAILED after 72 hours#9624

Open
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:mark-stable-backfill-failed
Open

Bug 2048055 - Mark BACKFILLED records as FAILED after 72 hours#9624
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:mark-stable-backfill-failed

Conversation

@junngo

@junngo junngo commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

If a BackfillRecord remains in BACKFILLED status for more than 72 hours, it should be automatically transitioned to FAILED. This acts as a safety guard to prevent OutcomeChecker from being indefinitely blocked by long-running or stale jobs.

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=2048055

Comment thread treeherder/perf/models.py
Comment on lines +1191 to +1196
def get_backfill_log(self, iteration: int) -> dict:
log = self.get_backfill_logs()
for entry in log:
if entry.get("iteration") == iteration:
return entry
return None

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This change is unrelated to the main purpose of this PR, but since the scope is small, I've included it as a minor refactoring.

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