Repository navigation
Run the async client on trio as well as asyncio #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
1844f51
eeae462
c2454f7
746c2d4
663f4d8
3636df8
cd0eba8
bb9148d
8e94310
399f948
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -504,7 +504,7 @@ | |
| "type": "object" | ||
| }, | ||
| "CheckFile": { | ||
| "description": "One file World cited for a check's result.", | ||
| "description": "One file the evaluator cited for a check's result.", | ||
| "properties": { | ||
| "path": { | ||
| "allOf": [ | ||
|
|
@@ -520,7 +520,7 @@ | |
| "$ref": "#/components/schemas/CheckFileRevision" | ||
| } | ||
| ], | ||
| "description": "The revision World read the file at." | ||
| "description": "The revision the evaluator read the file at." | ||
| } | ||
| }, | ||
| "required": [ | ||
|
|
@@ -545,7 +545,7 @@ | |
| ] | ||
| }, | ||
| "CheckLifecycle": { | ||
| "description": "World's lifecycle disclosure for the evaluator version that answered, as\n the receipt recorded it. A deployment gate counts only `GATING` results\n (`DeterministicCoverage::gate_effective_status`), and only when it\n evaluates a deployment; the lifecycle alone permits or blocks nothing.", | ||
| "description": "The lifecycle the evaluator disclosed for the version that answered, as\n the receipt recorded it. A deployment gate counts only `GATING` results\n (`DeterministicCoverage::gate_effective_status`), and only when it\n evaluates a deployment; the lifecycle alone permits or blocks nothing.", | ||
| "oneOf": [ | ||
| { | ||
| "const": "GATING", | ||
|
|
@@ -801,6 +801,20 @@ | |
| "CommitDeploy": { | ||
| "description": "One deploy of the commit and where its verification stands.", | ||
| "properties": { | ||
| "aws_provider": { | ||
| "description": "The provider of an AWS deploy (`AWS_CODEPIPELINE` or `AWS_AMPLIFY`).", | ||
| "type": [ | ||
| "string", | ||
| "null" | ||
| ] | ||
| }, | ||
| "aws_run_id": { | ||
| "description": "The `CodePipeline` execution ID or Amplify job ID.", | ||
| "type": [ | ||
| "string", | ||
| "null" | ||
| ] | ||
| }, | ||
| "checkpoints": { | ||
| "description": "The four checks in order, each with its recorded result, if any, and\n when a missing one becomes overdue. Empty when no verification of\n the deploy exists.", | ||
| "items": { | ||
|
|
@@ -834,6 +848,14 @@ | |
| }, | ||
| "type": "array" | ||
| }, | ||
| "github_deployment_ids": { | ||
| "description": "The ID of each GitHub deployment the deploy holds, ascending: the\n deployment a pipeline created, or each one an Actions run's jobs\n created. A deployment outside Actions is a deploy of its own, so two\n of one commit, GitHub Environment and task read apart by this ID.\n Every GitHub deploy holds one; a server from before the field existed\n omits it.", | ||
| "items": { | ||
| "format": "int64", | ||
| "type": "integer" | ||
| }, | ||
| "type": "array" | ||
| }, | ||
| "github_environment": { | ||
| "description": "The GitHub Environment the deployment named.", | ||
| "type": [ | ||
|
|
@@ -869,6 +891,11 @@ | |
| ], | ||
| "description": "Where the deploy's verification stands." | ||
| }, | ||
| "verification_ended": { | ||
| "default": false, | ||
| "description": "Whether the deploy's verification ended. A check with no `result`\n then will never be recorded, while a running verification can still\n record one that is overdue; `state` reads `UNRECORDED` for both.\n False without a verification, which `state` reads as `UNVERIFIED`.\n Older responses omit it, which reads as false.", | ||
| "type": "boolean" | ||
| }, | ||
| "workflow_run_attempt": { | ||
| "description": "The attempt of that run that created the deployment addressing the\n deploy; above 1 for a rerun.", | ||
| "format": "int64", | ||
|
|
@@ -1022,9 +1049,12 @@ | |
| }, | ||
| { | ||
| "$ref": "#/components/schemas/CreditRefusalCause" | ||
| }, | ||
| { | ||
| "$ref": "#/components/schemas/InstallationRefusalCause" | ||
| } | ||
| ], | ||
| "description": "What a review is counted under: the cause its assessments recorded,\n `SPEND_LIMIT_REACHED` where an assessment recorded a spend limit's code, or\n `OUT_OF_CREDITS` where an assessment recorded the credit refusal. An\n assessment's detail names that refusal by the rule `public_reason_codes`\n applies; no other detail is read into the summary." | ||
| "description": "What a review is counted under: the cause its assessments recorded,\n `SPEND_LIMIT_REACHED` where an assessment recorded a spend limit's code,\n `OUT_OF_CREDITS` where an assessment recorded the credit refusal, or\n `GITHUB_REFUSED` where a code assessment ended on GitHub's refusal of a\n source read. An assessment's detail names the credit refusal by the rule\n `public_reason_codes` applies; no other detail is read into the summary." | ||
| }, | ||
| "CoverageRefused": { | ||
| "description": "An upload refused for its content: a symbolic or unknown commit, or a\n report that cannot be read. Nothing is stored.", | ||
|
|
@@ -1143,7 +1173,7 @@ | |
| "$ref": "#/components/schemas/CustomerChecks" | ||
| } | ||
| ], | ||
| "description": "The deterministic World checks recorded for this assessment." | ||
| "description": "The deterministic environment checks recorded for this assessment.\n Only assessments made by the check evaluator Proofline retired on\n 2026-11-05 carry them. A later assessment records none, and\n `receipt_recorded` is then false." | ||
|
Comment on lines
1173
to
+1176
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning · Completed reviews return INCOMPLETE after evaluator retirement
Both sync and async Require receipts only when deterministic checks were expected, while preserving other assessment gaps. Also at:
|
||
| }, | ||
| "completed_at": { | ||
| "description": "When the assessment completed. Null while it has not.", | ||
|
|
@@ -1231,7 +1261,7 @@ | |
| "$ref": "#/components/schemas/CustomerChecks" | ||
| } | ||
| ], | ||
| "description": "The deterministic World checks recorded for this assessment." | ||
| "description": "The deterministic environment checks recorded for this assessment.\n Only assessments made by the check evaluator Proofline retired on\n 2026-11-05 carry them. A later assessment records none, and\n `receipt_recorded` is then false." | ||
| }, | ||
| "completed_at": { | ||
| "description": "When the assessment completed. Null while it has not.", | ||
|
|
@@ -1328,21 +1358,21 @@ | |
| "CustomerCheck": { | ||
| "properties": { | ||
| "detail": { | ||
| "description": "Why World refused the check, or otherwise World's recorded explanation\n of the result. Null when neither is recorded.", | ||
| "description": "Why the evaluator refused the check, or otherwise its recorded\n explanation of the result. Null when neither is recorded.", | ||
| "type": [ | ||
| "string", | ||
| "null" | ||
| ] | ||
| }, | ||
| "evaluated_at": { | ||
| "description": "When World evaluated this answer. A reused answer is evidence from\n this instant, which can precede the assessment.", | ||
| "description": "When the evaluator produced this answer. A reused answer is evidence\n from this instant, which can precede the assessment.", | ||
| "type": [ | ||
| "string", | ||
| "null" | ||
| ] | ||
| }, | ||
| "files": { | ||
| "description": "The files World cited as evidence for this result, once each in\n World's order, with the revision World read each at. Empty when World\n cited no file, and on results recorded before World cited files.", | ||
| "description": "The files the evaluator cited as evidence for this result, once each\n in the evaluator's order, with the revision it read each at. Empty\n when it cited no file, and on results recorded before it cited files.", | ||
| "items": { | ||
| "$ref": "#/components/schemas/CheckFile" | ||
| }, | ||
|
|
@@ -1373,7 +1403,7 @@ | |
| "type": "null" | ||
| } | ||
| ], | ||
| "description": "Why an `UNRESOLVED` check did not settle, as World's verdict gave it.\n Absent on every other outcome, and on an unresolved receipt whose\n verdict names none of these reasons." | ||
| "description": "Why an `UNRESOLVED` check did not settle, as the evaluator's verdict\n gave it.\n Absent on every other outcome, and on an unresolved receipt whose\n verdict names none of these reasons." | ||
| } | ||
| }, | ||
| "required": [ | ||
|
|
@@ -1410,7 +1440,7 @@ | |
| "type": "object" | ||
| }, | ||
| "CustomerCodeAssessment": { | ||
| "description": "The review's code assessment as it recorded its run. Its findings\n rest on the pinned code alone, never on World evidence.", | ||
| "description": "The review's code assessment as it recorded its run. Its findings\n rest on the pinned code alone, never on infrastructure evidence.", | ||
| "properties": { | ||
| "base_commit_sha": { | ||
| "description": "The base commit the code assessment compared the head with.", | ||
|
|
@@ -1538,7 +1568,7 @@ | |
| "type": "string" | ||
| }, | ||
| "label": { | ||
| "description": "The reference's display label, such as a path with its line range. A\n recorded read, a vendor documentation read, a customer tool call, a\n static analysis result or an unnamed World entity carries a fixed\n label, and a deterministic test carries its check's readable name.", | ||
| "description": "The reference's display label, such as a path with its line range. A\n recorded read, a vendor documentation read, a customer tool call, a\n static analysis result or an unnamed infrastructure entity carries a fixed\n label, and a deterministic test carries its check's readable name.", | ||
| "type": "string" | ||
| }, | ||
| "legacy_text": { | ||
|
|
@@ -1921,7 +1951,7 @@ | |
| "type": "null" | ||
| } | ||
| ], | ||
| "description": "The change-level diagram: the changed call path from the pinned code\n index and the relations World declares. Absent when the review\n recorded none." | ||
| "description": "The change-level diagram: the changed call path from the pinned code\n index. A diagram recorded by the check evaluator Proofline retired on\n 2026-11-05 can also show the environment relations it returned.\n Absent when the review recorded none." | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning · Diagram docs credit the retired evaluator with recording the diagram The new Client authors get the wrong provenance for diagrams generated by the server from the stored graph. Apply the retirement qualifier to the environment relations, not to the diagram, and regenerate the SDK. Also at:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning · Standalone diagram help omits that evaluator relations are historical
Readers of standalone schema or SDK help cannot tell whether current diagrams can include those relations. Qualify evaluator-supplied relations in the legend description and regenerate the SDK. Also at:
|
||
| }, | ||
| "change_summary": { | ||
| "anyOf": [ | ||
|
|
@@ -1987,7 +2017,7 @@ | |
| ] | ||
| }, | ||
| "counted_incomplete_causes": { | ||
| "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it. Present exactly when\n `incomplete_causes` is.", | ||
| "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it, and `GITHUB_REFUSED` in place of the\n `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused\n its source read. Present exactly when\n `incomplete_causes` is.", | ||
| "items": { | ||
| "$ref": "#/components/schemas/CountedCause" | ||
| }, | ||
|
|
@@ -2042,7 +2072,7 @@ | |
| "type": "array" | ||
| }, | ||
| "finding_count": { | ||
| "description": "How many findings this review's assessments recorded, across all of them.", | ||
| "description": "How many findings this review's assessments recorded, across all of\n them, with the supported findings its KIAN assessments published.", | ||
| "format": "int64", | ||
| "type": "integer" | ||
| }, | ||
|
|
@@ -2669,7 +2699,7 @@ | |
| }, | ||
| { | ||
| "const": "RUNTIME_INVENTORY_UNAVAILABLE", | ||
| "description": "The check could not read an inventory of the connection's Cloud Run\n services or ECS tasks: Kian retains none, or the read failed or timed\n out. Nothing shows what runs.", | ||
| "description": "The check could not read an inventory of the connection's Cloud Run\n services or ECS tasks. Kian may retain none. When opening the evidence\n database or reading its workspace failed, or the read exceeded its\n deadline, the report records `runtime_read_cause`.", | ||
|
Comment on lines
2701
to
+2702
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning · The inventory gap points to an undocumented diagnostic The API and SDK consumers have no documented way to distinguish missing inventory from a failed or timed-out read. Identify where consumers can read Details
|
||
| "type": "string" | ||
| }, | ||
| { | ||
|
|
@@ -3335,7 +3365,7 @@ | |
| }, | ||
| { | ||
| "const": "WORLD_EVIDENCED", | ||
| "description": "A World entity or deterministic World evaluation at the pinned snapshot.", | ||
| "description": "An infrastructure entity or deterministic check result at the pinned\n snapshot, recorded by the check evaluator Proofline retired on\n 2026-11-05.", | ||
| "type": "string" | ||
| }, | ||
| { | ||
|
|
@@ -3672,7 +3702,8 @@ | |
| "enum": [ | ||
| "outcome", | ||
| "code_changed", | ||
| "post_merge" | ||
| "post_merge", | ||
| "published" | ||
| ], | ||
| "type": "string" | ||
| }, | ||
|
|
@@ -4165,6 +4196,16 @@ | |
| } | ||
| ] | ||
| }, | ||
| "InstallationRefusalCause": { | ||
| "description": "A GitHub refusal the App installation repairs, named apart from the\n `EVIDENCE_UNAVAILABLE` it records.", | ||
| "oneOf": [ | ||
| { | ||
| "const": "GITHUB_REFUSED", | ||
| "description": "GitHub refused the code lane's read of the repository's files with a\n 403 that named no rate limit, so the code assessment stopped.", | ||
| "type": "string" | ||
| } | ||
| ] | ||
| }, | ||
| "KianFindingSource": { | ||
| "description": "What published a supported Kian finding.", | ||
| "oneOf": [ | ||
|
|
@@ -5767,7 +5808,7 @@ | |
| ] | ||
| }, | ||
| "counted_incomplete_causes": { | ||
| "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it. Present exactly when\n `incomplete_causes` is.", | ||
| "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it, and `GITHUB_REFUSED` in place of the\n `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused\n its source read. Present exactly when\n `incomplete_causes` is.", | ||
| "items": { | ||
| "$ref": "#/components/schemas/CountedCause" | ||
| }, | ||
|
|
@@ -5793,7 +5834,7 @@ | |
| "type": "array" | ||
| }, | ||
| "finding_count": { | ||
| "description": "How many findings this review's assessments recorded, across all of them.", | ||
| "description": "How many findings this review's assessments recorded, across all of\n them, with the supported findings its KIAN assessments published.", | ||
| "format": "int64", | ||
| "type": "integer" | ||
| }, | ||
|
|
@@ -7059,11 +7100,11 @@ | |
| "type": "string" | ||
| }, | ||
| "UnresolvedReason": { | ||
| "description": "World's reason an executed check did not settle. A gate weighs the three\n alike, and each asks the reader for a different response.", | ||
| "description": "The evaluator's reason an executed check did not settle. A gate weighs the three\n alike, and each asks the reader for a different response.", | ||
| "oneOf": [ | ||
| { | ||
| "const": "NEEDS_EVIDENCE", | ||
| "description": "The evidence World held neither established nor refuted the property.", | ||
| "description": "The evidence the evaluator held neither established nor refuted the\n property.", | ||
| "type": "string" | ||
| }, | ||
| { | ||
|
|
@@ -7234,7 +7275,7 @@ | |
| }, | ||
| "info": { | ||
| "title": "Proofline Review API", | ||
| "version": "9.3.0" | ||
| "version": "10.2.0" | ||
| }, | ||
| "openapi": "3.1.0", | ||
| "paths": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning · SDK help omits why current assessments have no check receipt
Both generated assessment models omit the new retirement guidance, and
CustomerChecksinproofline/_generated/models/customer_checks.pyonly says what a missing receipt contains.SDK users cannot tell that
receipt_recorded: falseis expected after retirement.Document the retirement rule on the shared checks schema and regenerate the SDK.
View finding in Proofline
Also at:
proofline/_generated/models/customer_assessment_detail.pyline 27