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

Backport of [ui] Bugfix: prevent parent job from showing another job's dispatches when it has none into release/1.9.x #24697

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #24668 to be assessed for backporting due to the inclusion of the label backport/1.9.x.

The below text is copied from the body of the original PR.


Resolves #24666

We had a bug where our watchChildJobs ember concurrency task (which kicks off whenever you hit a parameterized/periodic parent job route) would have a memoized list of childjobs from whenever it was last run. These components are not route-bound, and so don't shed data automatically when their route changes, and since we don't return a [] on /statuses with an ?index=1 parameter, but instead hold the blocking query open for further updates, we don't get any kind of "Clear what the app has in cache" signal.

This explicitly clears what the app has in cache on parent job route load.


Overview of commits

@tgross
Copy link
Member

tgross commented Dec 18, 2024

Merging this so it lands in today's release.

@tgross tgross merged commit d38cb71 into release/1.9.x Dec 18, 2024
15 of 17 checks passed
@tgross tgross deleted the backport/24666-in-the-ui-one-job-displays-the-job-launches-of-another/safely-big-reptile branch December 18, 2024 13:52
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.

3 participants