[Execution Engine] Rehydrate running jobs on page reload#3468
Draft
markus-moser wants to merge 3 commits into2025.4from
Draft
[Execution Engine] Rehydrate running jobs on page reload#3468markus-moser wants to merge 3 commits into2025.4from
markus-moser wants to merge 3 commits into2025.4from
Conversation
On app load, fetch in-progress jobs from the backend and re-attach a MessageBusJobHandler to each so progress bars reappear and continue updating after a browser reload. Also fixes the hide button to persist dismissed state to the backend so jobs do not reappear after reload. - JobRehydrationRegistry maps job names to handler factories - rehydrate-jobs-loader fetches running jobs at startup - ancestorJobRunIds tracks parent IDs through child-job transitions - ChildJobStepTracker gains startAtStep for rehydrated child runs
Send a proper filters object so the backend does not receive a null FilterParameter. Also filter the response to only rehydrate active jobs (running / not_started) — finished or failed jobs that have not yet been dismissed should not spawn new handlers on reload.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes #3455 — job progress bars disappear on browser reload.
Changes
executionEngine.rehydrateRunningJobs(items)MessageBusJobHandlerwith the message busstartAtStepoption so rehydrated child runs start at the correct stepRequires studio-backend-bundle PR that exposes
jobNameon the running-jobs endpoint.