-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
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
There was a problem hiding this 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.
hmm yeah, there might be a blessed Ember Data way to wire these things up, I’ll look into it a bit 🤔 |
I thought #6343 would fix the flapping but it didn’t 😞
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. |
This fixes #6307. There’s no direct Ember Data-style relationship between a
TaskState
and itsTask
; instead, it’s determined by searching for aTask
with the matchingname
. There was a race condition where the relatedTask
was sometimes stored before everything was ready and not recalculated when thename
was known. This ensures the relationship is accurate if theTaskState
’sname
changes.