Support pausing jobs #104313

Manually merged
Sybren A. Stüvel merged 28 commits from David-Zhang-10/flamenco:paused-job-status into main 2024-07-01 17:53:44 +02:00

28 Commits

Author SHA1 Message Date
4b20f8fad8 Manager: remove logging in isJobPausingComplete 2024-06-30 22:31:16 -04:00
95f3472e6d Manager: flip condition 2024-06-30 22:21:50 -04:00
adac7bbb37 Manager: function rename 2024-06-30 22:17:45 -04:00
8e1f481bf1 Merge remote-tracking branch 'official/main' into paused-job-status
# Conflicts:
#	go.mod
2024-06-30 22:13:35 -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
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