David Zhang David-Zhang-10
  • Joined on 2024-03-20
David Zhang closed pull request studio/flamenco#104318 2024-07-02 20:46:13 +02:00
WIP: Allow jobs to be submitted in paused status
David Zhang pushed to main at studio/flamenco 2024-07-01 17:00:11 +02:00
aac55e7e3c Manager: Support pausing jobs
1330487078 OAPI: regenerate code
8a82b1ee0a OAPI: add pause-requested job status
Compare 3 commits »
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-07-01 04:31:22 +02:00
4b20f8fad8 Manager: remove logging in isJobPausingComplete
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-07-01 04:21:56 +02:00
95f3472e6d Manager: flip condition
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-07-01 04:18:18 +02:00
adac7bbb37 Manager: function rename
8e1f481bf1 Merge remote-tracking branch 'official/main' into paused-job-status
842d1ab9a4 Manager: convert storing authored jobs from gorm to sqlc
bfe47ea394 Manager: convert task scheduler from gorm to sqlc
d86c97d06e Manager: Use require.XXX() functions in task scheduler test
Compare 26 commits »
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-22 16:39:22 +02:00
e6bc9cd061 Manager: backend for submitting job with initial status
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-22 15:15:30 +02:00
9aecbbb95c OAPI: Regenerate code
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-22 15:15:07 +02:00
578ffb1446 OAPI: make initial_status refer to existing JobStatus definition
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-22 15:05:54 +02:00
5a242095d9 OAPI: Regenerate code
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-22 15:04:27 +02:00
56fdf15e2b OAPI: change "submit_as_paused" to "initial_status"
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-20 21:59:49 +02:00
3f53a9ad2a Merge remote-tracking branch 'origin/paused-job-status' into submit-as-paused
484f746f92 Manager: add more test cases for paused status
009ad23da1 Manager: all original test cases passed
8f067da901 Manager: wrap job pause condition inside a function
Compare 4 commits »
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-06-20 21:56:28 +02:00
484f746f92 Manager: add more test cases for paused status
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-06-20 21:13:49 +02:00
009ad23da1 Manager: all original test cases passed
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-06-20 21:08:27 +02:00
8f067da901 Manager: wrap job pause condition inside a function
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-20 20:57:37 +02:00
86ddeb50e9 OAPI: Regenerate code
David Zhang created pull request studio/flamenco#104318 2024-06-20 01:41:39 +02:00
WIP: Allow jobs to be submitted in paused status
David Zhang pushed to submit-as-paused at David-Zhang-10/flamenco 2024-06-20 01:33:43 +02:00
7835cb8c6d OAPI: add "submit_as_paused" field to SubmittedJob
d510eb390c Manager: reorder logic
01754e9e3c Manager: correct logger message and reorder logic
05a1388106 Webapp: update canCancel to properly expose bugs
a569a1ce00 Manager: pauseTasks keeps cancelled tasks as cancelled
Compare 8 commits »
David Zhang commented on pull request studio/flamenco#104313 2024-06-19 17:45:08 +02:00
Support pausing jobs

So for the pausing to be complete, we need all tasks to be in paused state, including tasks that are runnable but not in active state? In other words, instead of checking the number of active…

David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-06-19 17:21:20 +02:00
d510eb390c Manager: reorder logic
David Zhang pushed to paused-job-status at David-Zhang-10/flamenco 2024-06-18 22:48:02 +02:00
01754e9e3c Manager: correct logger message and reorder logic