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: Add optional memory max to task details ribbon #10459

Merged
merged 7 commits into from
Apr 28, 2021

Conversation

backspace
Copy link
Contributor

This is the first step in #10268.

@github-actions
Copy link

github-actions bot commented Apr 27, 2021

Ember Asset Size action

As of a9d3964

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +986 B +216 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

github-actions bot commented Apr 27, 2021

Ember Test Audit comparison

main a9d3964 change
passes 1079 1079 0
failures 0 0 0
flaky 0 0 0
duration 8m 50s 498ms 8m 05s 568ms -44s 930ms

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.

As is, this shows two numbers without an explanation of the difference. I added Max as suggestions.

ui/app/templates/jobs/job/task-group.hbs Outdated Show resolved Hide resolved
ui/tests/acceptance/task-group-detail-test.js Outdated Show resolved Hide resolved
Co-authored-by: Michael Lange <[email protected]>
@vercel vercel bot temporarily deployed to Preview – nomad April 28, 2021 16:58 Inactive
@backspace
Copy link
Contributor Author

Thanks for catching that oversight 😳💞

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.

:shipit:

The previous implementation could show a maximum that was lower
than the memory total, which could be confusing. This changes
the calculation so if no maximum is specified, the sum falls
back to using the memory, so the maximum shown will always be
the larger number.
@vercel vercel bot temporarily deployed to Preview – nomad April 28, 2021 19:47 Inactive
@backspace backspace merged commit f16cdea into main Apr 28, 2021
@backspace backspace deleted the f-ui/memory-max-in-ribbon branch April 28, 2021 20:38
backspace added a commit that referenced this pull request May 18, 2021
This is a reversion from #10459, more background here:
#10268 (comment)
@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 Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants