From c889fea2154af9fcd4c51d66bf3826fb7de3309e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Jun 2026 05:48:20 +0000 Subject: [PATCH 1/2] feat(API): always include review_due_date in job responses #SCD-1061 --- doc/compiled.json | 14 ++++++++++++++ schemas/job.yaml | 8 ++++++++ schemas/job_details.yaml | 8 ++++++++ 3 files changed, 30 insertions(+) diff --git a/doc/compiled.json b/doc/compiled.json index cc270e10..d4b40b46 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -3263,6 +3263,13 @@ "type": "string", "nullable": true, "description": "The ID of the job template this job was created from, or null if no template was used." + }, + "review_due_date": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The review due date for this job. Always present in the response; returns `null` when the project does not have review workflow enabled.", + "example": "2015-03-25T11:43:52Z" } }, "example": { @@ -3387,6 +3394,13 @@ "type": "string", "nullable": true, "description": "The ID of the job template this job was created from, or null if no template was used." + }, + "review_due_date": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The review due date for this job. Always present in the response; returns `null` when the project does not have review workflow enabled.", + "example": "2015-03-25T11:43:52Z" } }, "example": { diff --git a/schemas/job.yaml b/schemas/job.yaml index 2408957b..8bf9ab18 100644 --- a/schemas/job.yaml +++ b/schemas/job.yaml @@ -39,6 +39,14 @@ job: description: >- The ID of the job template this job was created from, or null if no template was used. + review_due_date: + type: string + format: date-time + nullable: true + description: >- + The review due date for this job. Always present in the response; returns + `null` when the project does not have review workflow enabled. + example: "2015-03-25T11:43:52Z" example: id: 626ea67628690c73ac86ac81eec2d185 name: Translations for new Feature diff --git a/schemas/job_details.yaml b/schemas/job_details.yaml index 53474119..eee46bbf 100644 --- a/schemas/job_details.yaml +++ b/schemas/job_details.yaml @@ -42,6 +42,14 @@ job_details: description: >- The ID of the job template this job was created from, or null if no template was used. + review_due_date: + type: string + format: date-time + nullable: true + description: >- + The review due date for this job. Always present in the response; returns + `null` when the project does not have review workflow enabled. + example: "2015-03-25T11:43:52Z" example: owner: id: abcd1234cdef1234abcd1234cdef1234 From c709eb95a1a4ab834bebcd91feac742f83ad472f Mon Sep 17 00:00:00 2001 From: Sven Dunemann Date: Fri, 19 Jun 2026 10:21:12 +0200 Subject: [PATCH 2/2] rephrase --- .gitignore | 4 +++- doc/compiled.json | 4 ++-- schemas/job.yaml | 2 +- schemas/job_details.yaml | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a35c7bb9..74c0ca53 100644 --- a/.gitignore +++ b/.gitignore @@ -68,4 +68,6 @@ doc/*.js tmp/ node_modules/ .DS_Store -clients/cli/README.md \ No newline at end of file +clients/cli/README.md + +.claude diff --git a/doc/compiled.json b/doc/compiled.json index d4b40b46..74751fd9 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -3268,7 +3268,7 @@ "type": "string", "format": "date-time", "nullable": true, - "description": "The review due date for this job. Always present in the response; returns `null` when the project does not have review workflow enabled.", + "description": "The review due date for this job. Returns `null` when the project does not have review workflow enabled.", "example": "2015-03-25T11:43:52Z" } }, @@ -3399,7 +3399,7 @@ "type": "string", "format": "date-time", "nullable": true, - "description": "The review due date for this job. Always present in the response; returns `null` when the project does not have review workflow enabled.", + "description": "The review due date for this job. Returns `null` when the project does not have review workflow enabled.", "example": "2015-03-25T11:43:52Z" } }, diff --git a/schemas/job.yaml b/schemas/job.yaml index 8bf9ab18..09ac63ec 100644 --- a/schemas/job.yaml +++ b/schemas/job.yaml @@ -44,7 +44,7 @@ job: format: date-time nullable: true description: >- - The review due date for this job. Always present in the response; returns + The review due date for this job. Returns `null` when the project does not have review workflow enabled. example: "2015-03-25T11:43:52Z" example: diff --git a/schemas/job_details.yaml b/schemas/job_details.yaml index eee46bbf..6abdaffe 100644 --- a/schemas/job_details.yaml +++ b/schemas/job_details.yaml @@ -47,7 +47,7 @@ job_details: format: date-time nullable: true description: >- - The review due date for this job. Always present in the response; returns + The review due date for this job. Returns `null` when the project does not have review workflow enabled. example: "2015-03-25T11:43:52Z" example: