feat: if job COB already exists, return its ID
modified src/cob.rs
@@ -28,8 +28,8 @@ use crate::{logger, msg::RunId};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -40,7 +40,7 @@ pub fn create_job(repo_id: RepoId, oid: Oid) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -51,19 +51,14 @@ pub fn create_job(repo_id: RepoId, oid: Oid) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/logger.rs
@@ -868,6 +868,17 @@ pub fn job_create(repo_id: &RepoId, oid: &Oid, job_id: &JobId) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|