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: long poll /checks endpoint #14354

Merged
merged 3 commits into from
Aug 26, 2022
Merged

Conversation

ChaiWithJai
Copy link
Contributor

This PR handles long polling the client/allocations/:allocId/checks endpoint which is not stored in Ember Data. Instead we add the property directly onto the Allocation to visualize the Service Health information in real-time.

When doing real-time visualizations, we follow a pattern of skipping the Ember Data store because we expect a clean slate on every fetch.

@github-actions
Copy link

Ember Asset Size action

As of c48d50b

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +1.11 kB +177 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

Ember Test Audit comparison

f-ui/service-discovery c48d50b change
passes 1419 1419 0
failures 0 0 0
flaky 0 0 0
duration 10m 27s 602ms 10m 38s 901ms +11s 299ms

@ChaiWithJai ChaiWithJai merged commit 8a86862 into f-ui/service-discovery Aug 26, 2022
@ChaiWithJai ChaiWithJai deleted the f-ui/health-checks branch August 26, 2022 22:02
philrenaud pushed a commit that referenced this pull request Aug 31, 2022
* chore: add lodash isEqual package

* ui: fetch non ember-data records

* ui: create watcher to poll non ember-data records
philrenaud pushed a commit that referenced this pull request Sep 7, 2022
* chore: add lodash isEqual package

* ui: fetch non ember-data records

* ui: create watcher to poll non ember-data records
@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 Dec 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants