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

UI: Fix Connect proxy tag #6343

Merged
merged 7 commits into from
Sep 19, 2019
Merged

UI: Fix Connect proxy tag #6343

merged 7 commits into from
Sep 19, 2019

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Sep 17, 2019

This fixes #6307. There’s no direct Ember Data-style relationship between a TaskState and its Task; instead, it’s determined by searching for a Task with the matching name. There was a race condition where the related Task was sometimes stored before everything was ready and not recalculated when the name was known. This ensures the relationship is accurate if the TaskState’s name changes.

backspace and others added 6 commits September 5, 2019 09:44
I put this property in the wrong place. I’ve been unable to
properly update the tests that verify the presence of the
proxy tag, sadly. The changes I make to models in Mirage
aren’t being reflected in the mock API responses. So I’ve
skipped the relevant tests for now.
# Conflicts:
#	ui/tests/acceptance/allocation-detail-test.js
# Conflicts:
#	ui/tests/acceptance/allocation-detail-test.js
@backspace backspace added this to the 0.10.0 milestone Sep 17, 2019
Copy link
Contributor

@DingoEatingFuzz DingoEatingFuzz left a comment

Choose a reason for hiding this comment

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

Nice and straightforward. I wonder if it's worth doing a bigger thinking exercise around the best way to model these faux relationships.

@backspace
Copy link
Contributor Author

hmm yeah, there might be a blessed Ember Data way to wire these things up, I’ll look into it a bit 🤔

@backspace backspace merged commit 05fd8a0 into master Sep 19, 2019
@backspace backspace deleted the f-ui/connect-proxy-tag-fix branch September 19, 2019 13:09
backspace added a commit that referenced this pull request Sep 20, 2019
I thought #6343 would fix the flapping but it didn’t 😞
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Proxy badge doesn’t always show on the right task
2 participants