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 exec heartbeat keepalive #8759

Merged
merged 2 commits into from
Aug 28, 2020
Merged

UI: Add exec heartbeat keepalive #8759

merged 2 commits into from
Aug 28, 2020

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Aug 27, 2020

This closes #8727, thanks to @jfcantu for the suggestion.

The CLI implementation of exec already has a 10-second
heartbeat so this mirrors that:
https://github.com/hashicorp/nomad/blob/v0.12.3/api/allocations.go#L161-L173

Here’s a GIF showing the {} message being sent after 10 seconds:
exec-heartbeat

@github-actions
Copy link

github-actions bot commented Aug 27, 2020

Ember Asset Size action

As of 037870f

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +295 B +94 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 Aug 27, 2020

Ember Test Audit comparison

master 037870f change
passes 1381 1382 +1
failures 0 0 0
flaky 0 0 0
duration 6m 24s 753ms 7m 17s 943ms +53s 190ms

@backspace backspace added this to the 0.12.4 milestone Aug 27, 2020
@backspace backspace marked this pull request as ready for review August 27, 2020 17:43
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.

Looks good other than a comment typo I caught. Nice turnaround time.

ui/app/utils/classes/exec-socket-xterm-adapter.js Outdated Show resolved Hide resolved
This closes #8727, thanks to jfcantu for the suggestion.
The CLI implementation of exec already has a 10-second
heartbeat so this mirrors that:
https://github.com/hashicorp/nomad/blob/v0.12.3/api/allocations.go#L161-L173
@backspace backspace merged commit 0c9b2e4 into master Aug 28, 2020
@backspace backspace deleted the f-ui/exec-keepalive branch August 28, 2020 15:13
@jfcantu
Copy link

jfcantu commented Aug 28, 2020

Four days. Four days from my making the suggestion, to having it implemented and merged to master for the next Nomad release. That's absolutely amazing.

Thank you all!

@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 20, 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.

Feature request: Keep-alive setting for remote exec UI
3 participants