WIP: Allow jobs to be submitted in paused status #104318

Closed
David Zhang wants to merge 32 commits from David-Zhang-10/flamenco:submit-as-paused into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

32 Commits

Author SHA1 Message Date
e6bc9cd061 Manager: backend for submitting job with initial status 2024-06-22 10:39:11 -04:00
9aecbbb95c OAPI: Regenerate code 2024-06-22 09:15:23 -04:00
578ffb1446 OAPI: make initial_status refer to existing JobStatus definition 2024-06-22 09:15:00 -04:00
5a242095d9 OAPI: Regenerate code 2024-06-22 09:05:46 -04:00
56fdf15e2b OAPI: change "submit_as_paused" to "initial_status" 2024-06-22 09:04:15 -04:00
3f53a9ad2a Merge remote-tracking branch 'origin/paused-job-status' into submit-as-paused 2024-06-20 15:59:32 -04:00
484f746f92 Manager: add more test cases for paused status 2024-06-20 15:56:18 -04:00
009ad23da1 Manager: all original test cases passed 2024-06-20 15:13:43 -04:00
8f067da901 Manager: wrap job pause condition inside a function 2024-06-20 15:08:21 -04:00
86ddeb50e9 OAPI: Regenerate code 2024-06-19 19:45:00 -04:00
7835cb8c6d OAPI: add "submit_as_paused" field to SubmittedJob 2024-06-19 19:29:18 -04:00
d510eb390c Manager: reorder logic 2024-06-19 11:21:15 -04:00
01754e9e3c Manager: correct logger message and reorder logic 2024-06-18 16:47:55 -04:00
05a1388106 Webapp: update canCancel to properly expose bugs 2024-06-18 16:31:08 -04:00
a569a1ce00 Manager: pauseTasks keeps cancelled tasks as cancelled 2024-06-18 16:27:24 -04:00
c13cc884ce Webapp: end comment with a period 2024-06-18 16:16:32 -04:00
4b4511f9b6 Manager: reorder updateJobOnTaskStatusCanceled logic 2024-06-18 16:12:59 -04:00
5a4e225a6b Manager: keep the newline between built-in packages and 3rd party packages 2024-06-18 13:36:07 -04:00
c32a591e55 Manager: disallow task cancellation when the job has pause-requested status 2024-06-15 11:52:21 -04:00
c3af84f6a6 Manager: pass TestTaskStatusChangeQueuedToFailed and TestTaskStatusChangeCancelSingleTask 2024-06-14 20:14:46 +09:00
ac5627e57a Merge remote-tracking branch 'official/main' into paused-job-status 2024-06-14 20:09:52 +09:00
1c35617cb1 Manager: fix manager warning 2024-06-13 00:18:33 +08:00
0e523a9b31 Manager: passing TestTaskStatusChangeActiveToCompleted 2024-06-07 16:28:16 +08:00
526e0f98fb Merge remote-tracking branch 'official/main' into paused-job-status 2024-06-07 14:42:13 +08:00
71c7715eab Manager: cancelling tasks should not cause a pause-requested job to be cancelled 2024-06-07 14:35:09 +08:00
050c779995 Manager: improve state transition logic 2024-06-07 01:05:03 +08:00
ba454cd4a0 Webapp: interactive Pause Job button 2024-06-04 21:55:46 +08:00
a84097e59f Manager: improve error handling of pauseTasks() 2024-06-01 17:27:06 +08:00
e30832aab4 Manager: taskStatusesToPause should include soft-failed 2024-06-01 17:18:22 +08:00
716f86c0f4 Manager: leave out updateJobOnTaskStatusPaused 2024-06-01 17:13:11 +08:00
562f77bd74 Manager: basic test case for paused status with all queued tasks 2024-06-01 17:09:52 +08:00
ec540e47a7 Manager: draft task and job status transition; regenerated openapi with pause-requested status; start frontend work 2024-05-31 15:41:44 +08:00