Skip to content

Reload an open run's jobs when the run changes - #7

Merged
codephilip merged 1 commit into
mainfrom
fix/refresh-open-run-detail
Dec 2, 2026
Merged

codephilip merged 1 commit into
mainfrom
fix/refresh-open-run-detail

Conversation

@codephilip

Copy link
Copy Markdown
Owner

An opened run fetched its job list once (details[id]) and kept it. A job that finished afterwards stayed in_progress in that copy, so its yellow bar and timer kept growing (seen: QuizOS staging e2e at 8m 11s, really 2m 13s) until a reload.

  • Details are stored with the run's updated_at; when the snapshot's run changes, the snapshot's jobs are shown and the details are fetched again.
  • One fetch per run version; a failed fetch is remembered for that version, so it isn't retried on every render.
  • Checked against live forge.lab data: opening the #285 staging run fetched once over 4 s of live updates; e2e shows 2m 13s, green.

@codephilip
codephilip merged commit 6fa6631 into main Dec 2, 2026
@codephilip
codephilip deleted the fix/refresh-open-run-detail branch December 2, 2026 18:47
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