Commit Graph

16 Commits

Author SHA1 Message Date
Buck Doyle
67e9690b7d Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00
Michael Lange
9557475233 Make the no connection error on the logs page dismissable 2020-04-29 17:36:17 -07:00
Michael Lange
e5a5fc7744 Fix race condition where stdout and stderr requests can cause a no connection error
This would happen because a no connection error happens after the second request fails, but
that's because it's assumed the second request is to a server node. However, if a user clicks
stderr fast enough, the first and second requests are both to the client node. This changes
the logic to check if the request is to the server before deeming log streaming a total failure.
2020-04-29 17:36:17 -07:00
Michael Lange
e186554651 Clicking stdout/stderr when already on that tab is now a noop 2020-04-29 17:36:16 -07:00
Michael Lange
fab6fcbd88 Abort log fetch request when failing over from client to server
Typically a failover means that the client can't be reached. However, if
the client does eventually return after the timeout period, the log will
stream indefinitely. This fixes that using an API that wasn't broadly
available at the time this was first written.
2020-04-29 17:34:49 -07:00
Michael Lange
07f1c89cc5 Use the stream decode util and never opt to use the plain query param 2019-07-30 17:22:45 -07:00
Buck Doyle
1147fd6278 UI: Remove ember-native-dom-helpers (#5959)
This also includes migration of some tests to async.
2019-07-23 14:40:32 -05:00
Michael Lange
bebc9b8f11 Fix integration tests that had test failures 2019-04-10 14:54:33 -07:00
Michael Lange
90278bff04 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange
b767a87422 Update tests to handle region switching 2018-08-09 18:22:39 -07:00
Michael Lange
ab49b7a235 The poll logger needs to handle empty frames. 2018-05-24 18:16:42 -07:00
Michael Lange
f61f2f78a5 In the event the server also times out, show an error message 2018-02-27 13:38:31 -08:00
Michael Lange
5346f653a5 Fallback to using the nomad server for log streaming
Only when the client isn't accessible
2018-02-26 12:23:47 -08:00
Michael Lange
7526295e88 Use ember-test-selectors for integration tests 2018-01-17 09:03:59 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
0dce1ec659 Integration tests for the task-log component 2017-11-21 11:22:42 -08:00