feat(app): harden cancellable LAPP turns
verify / verify (push) Has been cancelled

This commit is contained in:
Codex
2026-07-28 08:44:53 -04:00
parent 4831db1763
commit 23672e857b
26 changed files with 2822 additions and 167 deletions
+1 -1
View File
@@ -1 +1 @@
6a3351b1936a09050428f73f854b2a89c96a98b049657d87bce78cf84d46e9eb
9862200858d46d8e15e10d56972039a85b69853ca35f4e79f19abaab784d91fc
@@ -0,0 +1,31 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LappConnectionTestResult",
"type": "object",
"properties": {
"diagnosticCode": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"modelId": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"providerId": {
"type": "string"
}
},
"required": [
"ok",
"providerId",
"modelId",
"message"
]
}
@@ -25,6 +25,10 @@
"stale_node",
"invalid_input",
"invalid_model_output",
"provider_configuration",
"provider_credentials",
"provider_rate_limited",
"provider_rejected",
"provider_unavailable",
"cancelled",
"timed_out",
+3 -1
View File
@@ -138,7 +138,9 @@ export type LappSettings = { mode: LappMode, selectedProviderId: string | null,
export type UpdateLappSettingsRequest = { providerId: string, modelId: string, };
export type TurnFailureCode = "stale_node" | "invalid_input" | "invalid_model_output" | "provider_unavailable" | "cancelled" | "timed_out" | "internal";
export type LappConnectionTestResult = { ok: boolean, providerId: string, modelId: string, message: string, diagnosticCode: string | null, };
export type TurnFailureCode = "stale_node" | "invalid_input" | "invalid_model_output" | "provider_configuration" | "provider_credentials" | "provider_rate_limited" | "provider_rejected" | "provider_unavailable" | "cancelled" | "timed_out" | "internal";
export type TurnFailure = { code: TurnFailureCode, message: string, retryable: boolean, };