From cd08bab210bdeca3ef4d6d9850eb28b201d58860 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi <543633+mohsen1@users.noreply.github.com> Date: Thu, 22 Oct 2026 21:19:19 +0200 Subject: [PATCH] Add the Deep Review run label to the public contract CustomerReviewDetail carries is_deep_review, present and true when the run is a Deep Review (prooflinedev/proofline#4911). scripts/generate.py regenerates the model from the contract. --- openapi.public.json | 4 ++++ proofline/_generated/models/customer_review_detail.py | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/openapi.public.json b/openapi.public.json index 1cef9a9e..080d3c67 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -1932,6 +1932,10 @@ "format": "uuid", "type": "string" }, + "is_deep_review": { + "description": "Present and true when this run is a Deep Review.", + "type": "boolean" + }, "kind": { "description": "`PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes\n sent as a patch, `COMMIT`, a review of pushed commits, or `FILES`,\n complete selected files at one pushed commit.", "type": "string" diff --git a/proofline/_generated/models/customer_review_detail.py b/proofline/_generated/models/customer_review_detail.py index 725a2053..5ff58278 100644 --- a/proofline/_generated/models/customer_review_detail.py +++ b/proofline/_generated/models/customer_review_detail.py @@ -109,6 +109,7 @@ class CustomerReviewDetail: branch moves, the reviewed input does not. Absent for a patch review. head_ref (None | str | Unset): The pull request's head branch name as last recorded from GitHub, for orientation only. Null when no pull request state is recorded. + is_deep_review (bool | Unset): Present and true when this run is a Deep Review. local_reverifications (list[LocalReverification] | Unset): For a patch review requested with `verify_finding_ids`, each finding it re-verifies against the patch and the outcome. The outcome is @@ -206,6 +207,7 @@ class CustomerReviewDetail: head_commit_sha: None | str | Unset = UNSET head_commit_url: None | str | Unset = UNSET head_ref: None | str | Unset = UNSET + is_deep_review: bool | Unset = UNSET local_reverifications: list[LocalReverification] | Unset = UNSET merge_gate: None | PullRequestMergeGate | Unset = UNSET open_items: None | OpenItemsView | Unset = UNSET @@ -394,6 +396,8 @@ def to_dict(self) -> dict[str, Any]: else: head_ref = self.head_ref + is_deep_review = self.is_deep_review + local_reverifications: list[dict[str, Any]] | Unset = UNSET if not isinstance(self.local_reverifications, Unset): local_reverifications = [] @@ -632,6 +636,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["head_commit_url"] = head_commit_url if head_ref is not UNSET: field_dict["head_ref"] = head_ref + if is_deep_review is not UNSET: + field_dict["is_deep_review"] = is_deep_review if local_reverifications is not UNSET: field_dict["local_reverifications"] = local_reverifications if merge_gate is not UNSET: @@ -951,6 +957,8 @@ def _parse_head_ref(data: object) -> None | str | Unset: head_ref = _parse_head_ref(d.pop("head_ref", UNSET)) + is_deep_review = d.pop("is_deep_review", UNSET) + _local_reverifications = d.pop("local_reverifications", UNSET) local_reverifications: list[LocalReverification] | Unset = UNSET if _local_reverifications is not UNSET: @@ -1328,6 +1336,7 @@ def _parse_trigger_source(data: object) -> None | PatchTriggerSource | Unset: head_commit_sha=head_commit_sha, head_commit_url=head_commit_url, head_ref=head_ref, + is_deep_review=is_deep_review, local_reverifications=local_reverifications, merge_gate=merge_gate, open_items=open_items,