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
Run now dialog improvements #977
Merged
Merged
Changes from 17 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
dd62b3a
Merge branch 'master' into run-now-dialog-improvements
ad41a24
Run now dialog options UI implemented but they don't yet do anything
713a5bd
Create a runId in the UI (rather than let the API do it) in runNow di…
3c247cb
Fix for run now button broken for pending tasks. Also Autotailer is n…
ae8e2d6
Add ability to open up a task's page once it starts running. Big chan…
7d2f421
Merge branch 'master' into run-now-dialog-improvements
02cf54d
Browse to sandbox by default
715e18b
Clearer code for displaying 'Run' or 'Rerun'
741e82e
Better wording for browse to sandbox option
174069f
Default filename for run now is now the name of config.runningTaskLog…
9c8af8e
Change wording of 'stay on page' option to take out the word 'request'
150b47a
Change wording of 'stay on page' option to take out the word 'request'
0ff49d6
Fix task poller timeout constant ignored bug
f847347
Fix awkward wording
ed894db
Autopopulate command line args from last run task if not rerunning
a14b879
We don't need the prefix parameter since the localStorage command lin…
43a6966
Poll for historical tasks by runId instead of by reset event
096a89b
Better calculation of minutes to milliseconds for timeout; Smaller me…
688d659
draft of endpoint to fetch active task by runId
ssalinas 481785f
Poll for running tasks like for completed tasks
2dd46b8
Detects if task has entered terminal state and will never have the co…
7f7e5db
No fun allowed in user messages
acbc6a9
Better message for task in terminal state and file not found
eb0c767
Bug fix
74c161f
Fix bug that caused file to revert to undefined after running with 'b…
857c495
Re-fix bug that prevented run now dialog from opening from the pendin…
40a0895
Revert "Re-fix bug that prevented run now dialog from opening from th…
3e1e910
This should actually fix the run now button on the scheduled tasks page
9e22341
Fix bug that was stopping autotailer from loading
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h3>Launching</h3> | ||
<ol class="task-poller-checklist wait-for-checklist"> | ||
<li class="wait-for-task-start">Waiting for task to launch</li> | ||
<li class="wait-for-file-exists">Waiting for <code>{{ autoTailFilename }}</code> to exist</li> | ||
</ol> | ||
<div class='page-loader centered cushy'></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h3>Failure</h3> | ||
{{#if autoTailFilename}}<code>{{ autoTailFilename }}</code>{{else}}Task{{/if}} did not exist after {{ timeout }} minute(s). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
once we have the taskId, we can also fetch this using that. I know the main use case with be by runId, but just wanted to clarify
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.
When you fetch by taskId, you get a different model as a response. That gives back a SingularityTaskHistory (which is the TaskHistory model in the UI), wheras searching by runId returns a SingularityTaskIdHistory (Which is this model in the UI). In a roundabout way, you can use Task Search to search out this model by taskId, but then you'd be fetching the collection rather than the model.