@open-qa/qa 0.1.0-alpha.4 → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY.md +5 -0
- package/drizzle/0017_provider_notifications.sql +13 -0
- package/drizzle/0018_classification_registry.sql +39 -0
- package/drizzle/0019_trial_audit.sql +44 -0
- package/drizzle/meta/0017_snapshot.json +2092 -0
- package/drizzle/meta/0018_snapshot.json +2102 -0
- package/drizzle/meta/0019_snapshot.json +2451 -0
- package/drizzle/meta/_journal.json +21 -0
- package/package.json +12 -7
- package/src/access-binding.d.ts +8 -0
- package/src/access-binding.js +26 -0
- package/src/adapters/classification-write.d.ts +87 -0
- package/src/adapters/classification-write.js +64 -0
- package/src/adapters/e2b-executor.js +4 -0
- package/src/adapters/file-run-store.d.ts +186 -41
- package/src/adapters/file-run-store.js +87 -19
- package/src/adapters/file-trial-audit.d.ts +280 -0
- package/src/adapters/file-trial-audit.js +105 -0
- package/src/adapters/pg-classification-store.d.ts +98 -20
- package/src/adapters/pg-classification-store.js +84 -44
- package/src/adapters/pg-run-store.d.ts +1 -0
- package/src/adapters/pg-run-store.js +70 -9
- package/src/adapters/run-metadata.d.ts +2 -0
- package/src/adapters/run-metadata.js +10 -0
- package/src/adapters/secret-manager-credential-resolver.d.ts +1 -1
- package/src/attempt-audit.d.ts +363 -0
- package/src/attempt-audit.js +253 -0
- package/src/audit-command.d.ts +13 -0
- package/src/audit-command.js +77 -0
- package/src/classification-command.d.ts +14 -9
- package/src/classification-command.js +119 -26
- package/src/classification-model.d.ts +10 -3
- package/src/classification-model.js +40 -24
- package/src/classification-notifier.d.ts +4 -3
- package/src/classification-notifier.js +26 -6
- package/src/classify-runs.d.ts +2 -1
- package/src/classify-runs.js +39 -3
- package/src/cli-program.js +53 -7
- package/src/commands.d.ts +1 -0
- package/src/commands.js +2 -0
- package/src/db/database.d.ts +7 -0
- package/src/db/database.js +15 -0
- package/src/db/event-chunks.d.ts +38 -29
- package/src/db/flow-status.d.ts +7 -3
- package/src/db/flow-status.js +240 -16
- package/src/db/queries.d.ts +24 -1
- package/src/db/queries.js +22 -0
- package/src/db/schema.d.ts +333 -4
- package/src/db/schema.js +83 -11
- package/src/db/trial-audit.d.ts +526 -0
- package/src/db/trial-audit.js +84 -0
- package/src/draft-api.d.ts +25 -421
- package/src/draft-api.js +10 -3
- package/src/engine.d.ts +47 -4
- package/src/engine.js +97 -8
- package/src/execution-snapshot.d.ts +1 -1
- package/src/execution-snapshot.js +22 -17
- package/src/export-command.d.ts +6 -0
- package/src/export-command.js +106 -0
- package/src/flow-check.js +1 -1
- package/src/flow-loader.d.ts +72 -6
- package/src/flow-loader.js +76 -12
- package/src/http-stage-client.d.ts +98 -1
- package/src/independent-model.js +53 -6
- package/src/judge-review-store.d.ts +13 -0
- package/src/judge-review-store.js +58 -0
- package/src/local-host-executor.d.ts +3 -1
- package/src/local-host-executor.js +2 -0
- package/src/quarantine-command.d.ts +5 -1
- package/src/quarantine-command.js +56 -13
- package/src/remote-command.js +2 -0
- package/src/report/browser.js +37 -37
- package/src/report/ctrf.d.ts +983 -0
- package/src/report/ctrf.js +306 -0
- package/src/report/generate.d.ts +1 -1
- package/src/report/generate.js +29 -6
- package/src/report/load.d.ts +738 -42
- package/src/report/load.js +78 -6
- package/src/result-notifier.js +1 -1
- package/src/result-trace.d.ts +62 -0
- package/src/result-trace.js +81 -0
- package/src/run-command.d.ts +2 -0
- package/src/run-command.js +285 -62
- package/src/run-setup-error.d.ts +1 -1
- package/src/run-setup-error.js +2 -2
- package/src/server/app.js +5 -4
- package/src/server/index.d.ts +2 -0
- package/src/server/index.js +11 -2
- package/src/server/repository.d.ts +166 -29
- package/src/server/repository.js +14 -2
- package/src/studio-review.js +1 -1
- package/src/system-config.d.ts +2 -2
- package/src/system-config.js +5 -4
- package/src/trial-audit.d.ts +630 -0
- package/src/trial-audit.js +272 -0
- package/src/visual-baseline.d.ts +4 -0
- package/src/visual-baseline.js +42 -0
- package/src/webhook-notification.d.ts +15 -0
- package/src/webhook-notification.js +61 -0
- package/src/worker/execution.d.ts +2 -1
- package/src/worker/execution.js +122 -3
- package/src/worker/index.d.ts +4 -0
- package/src/worker/index.js +10 -1
- package/src/worker/quarantine-notifications.js +2 -2
- package/src/worker/queue.d.ts +6 -2
- package/src/worker/queue.js +80 -19
- package/src/worker/result-notifications.d.ts +10 -2
- package/src/worker/result-notifications.js +120 -23
- package/src/worker/store.js +6 -3
|
@@ -0,0 +1,983 @@
|
|
|
1
|
+
import type { CreateRun, FinishRun } from "@open-qa/qa-engine";
|
|
2
|
+
import { type Finding } from "@open-qa/qa-engine/protocol";
|
|
3
|
+
import { type JudgeReview } from "../attempt-audit.js";
|
|
4
|
+
import type { summarizeTrial } from "../trial-audit.js";
|
|
5
|
+
export interface ReportAttempt {
|
|
6
|
+
run: CreateRun;
|
|
7
|
+
result?: Pick<FinishRun, "verdict" | "reason" | "finishedAt" | "errorReason" | "usage">;
|
|
8
|
+
batchId?: string | null;
|
|
9
|
+
findings?: readonly Finding[];
|
|
10
|
+
judgeReviews?: readonly JudgeReview[];
|
|
11
|
+
quarantined?: boolean;
|
|
12
|
+
}
|
|
13
|
+
type Status = "passed" | "failed" | "skipped" | "pending" | "other";
|
|
14
|
+
export declare function selectReportAttempts(runs: readonly ReportAttempt[], id: string, batch: boolean): ReportAttempt[];
|
|
15
|
+
/** Build a CTRF 0.3 report from stored attempts. The inputs are safe to reuse from webhooks. */
|
|
16
|
+
export declare function buildCtrfReport(input: readonly ReportAttempt[], options: {
|
|
17
|
+
id: string;
|
|
18
|
+
project?: string;
|
|
19
|
+
relatedAttempts?: readonly ReportAttempt[];
|
|
20
|
+
trials?: readonly ReturnType<typeof summarizeTrial>[];
|
|
21
|
+
quarantineOverdue?: readonly {
|
|
22
|
+
flow: string;
|
|
23
|
+
expiresAt: number;
|
|
24
|
+
}[];
|
|
25
|
+
}): {
|
|
26
|
+
reportFormat: string;
|
|
27
|
+
specVersion: string;
|
|
28
|
+
runId: string;
|
|
29
|
+
extra: {
|
|
30
|
+
openQa: {
|
|
31
|
+
schemaVersion: number;
|
|
32
|
+
trials: readonly {
|
|
33
|
+
group: {
|
|
34
|
+
schemaVersion: 1;
|
|
35
|
+
groupId: string;
|
|
36
|
+
projectId: string;
|
|
37
|
+
batchId: string;
|
|
38
|
+
caseId: string;
|
|
39
|
+
flow: string;
|
|
40
|
+
caseRevision: string;
|
|
41
|
+
target: string;
|
|
42
|
+
targetRevision: string | null;
|
|
43
|
+
generation: number | null;
|
|
44
|
+
planned: number;
|
|
45
|
+
startedAt: number;
|
|
46
|
+
environment: Record<string, import("zod").JSONType>;
|
|
47
|
+
independent?: boolean | undefined;
|
|
48
|
+
quarantinePolicy?: {
|
|
49
|
+
expiresAfterHours: number;
|
|
50
|
+
evidenceMaxAgeHours: number;
|
|
51
|
+
minimumPassedTrials: number;
|
|
52
|
+
flakyStreak: number;
|
|
53
|
+
} | undefined;
|
|
54
|
+
};
|
|
55
|
+
finishedAt: number | null;
|
|
56
|
+
counts: {
|
|
57
|
+
passed: number;
|
|
58
|
+
failed: number;
|
|
59
|
+
blocked: number;
|
|
60
|
+
error: number;
|
|
61
|
+
inconclusive: number;
|
|
62
|
+
canceled: number;
|
|
63
|
+
skipped: number;
|
|
64
|
+
pending: number;
|
|
65
|
+
notRun: number;
|
|
66
|
+
};
|
|
67
|
+
completed: number;
|
|
68
|
+
confidence: {
|
|
69
|
+
method: string;
|
|
70
|
+
level: number;
|
|
71
|
+
comparable: boolean;
|
|
72
|
+
mixed: boolean;
|
|
73
|
+
assumptions: string;
|
|
74
|
+
};
|
|
75
|
+
first: {
|
|
76
|
+
passed: number;
|
|
77
|
+
n: number;
|
|
78
|
+
fraction: number | null;
|
|
79
|
+
interval: {
|
|
80
|
+
lower: number;
|
|
81
|
+
upper: number;
|
|
82
|
+
} | null;
|
|
83
|
+
};
|
|
84
|
+
final: {
|
|
85
|
+
passed: number;
|
|
86
|
+
n: number;
|
|
87
|
+
fraction: number | null;
|
|
88
|
+
interval: {
|
|
89
|
+
lower: number;
|
|
90
|
+
upper: number;
|
|
91
|
+
} | null;
|
|
92
|
+
};
|
|
93
|
+
trials: {
|
|
94
|
+
index: number;
|
|
95
|
+
executionId: string;
|
|
96
|
+
firstOutcome: string;
|
|
97
|
+
outcome: string;
|
|
98
|
+
quarantined: boolean | null;
|
|
99
|
+
attempts: {
|
|
100
|
+
trace: {
|
|
101
|
+
schemaVersion: 1;
|
|
102
|
+
projectId: string;
|
|
103
|
+
caseId: string;
|
|
104
|
+
caseRevision: string | null;
|
|
105
|
+
executionId: string;
|
|
106
|
+
attemptId: string;
|
|
107
|
+
attempt: number;
|
|
108
|
+
started: boolean;
|
|
109
|
+
retryOf: string | null;
|
|
110
|
+
batchId: string | null;
|
|
111
|
+
trial: {
|
|
112
|
+
groupId: string;
|
|
113
|
+
index: number;
|
|
114
|
+
count: number;
|
|
115
|
+
} | null;
|
|
116
|
+
target: string | null;
|
|
117
|
+
targetRevision: string | null;
|
|
118
|
+
commit: string | null;
|
|
119
|
+
parameters: {
|
|
120
|
+
runtime: "claude-code" | "codex" | "scripted" | "pi" | null;
|
|
121
|
+
modelAccess: "env" | "login" | "personal" | "team" | null;
|
|
122
|
+
placement: "local-host" | "e2b" | null;
|
|
123
|
+
agentAt: "host" | "stage" | null;
|
|
124
|
+
headed: boolean | null;
|
|
125
|
+
level: "semantic" | "pixel" | "hybrid" | null;
|
|
126
|
+
device: string | null;
|
|
127
|
+
persona: string | null;
|
|
128
|
+
replay: "off" | "enabled" | null;
|
|
129
|
+
};
|
|
130
|
+
parameterFingerprint: string;
|
|
131
|
+
environmentFingerprint: string;
|
|
132
|
+
acceptance?: {
|
|
133
|
+
source: string;
|
|
134
|
+
revision: string;
|
|
135
|
+
criteria: {
|
|
136
|
+
id: string;
|
|
137
|
+
text: string;
|
|
138
|
+
source?: string | undefined;
|
|
139
|
+
}[];
|
|
140
|
+
flows: {
|
|
141
|
+
flow: string;
|
|
142
|
+
covers: string[];
|
|
143
|
+
}[];
|
|
144
|
+
} | undefined;
|
|
145
|
+
covers?: string[] | undefined;
|
|
146
|
+
traceability?: {
|
|
147
|
+
caseId?: string | undefined;
|
|
148
|
+
risk?: string | undefined;
|
|
149
|
+
owner?: string | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
context?: {
|
|
152
|
+
device?: string | undefined;
|
|
153
|
+
ci?: {
|
|
154
|
+
pipeline?: string | undefined;
|
|
155
|
+
task?: string | undefined;
|
|
156
|
+
runId?: string | undefined;
|
|
157
|
+
runUrl?: string | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
build?: {
|
|
160
|
+
id?: string | undefined;
|
|
161
|
+
url?: string | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
correlation?: {
|
|
164
|
+
traceId?: string | undefined;
|
|
165
|
+
spanId?: string | undefined;
|
|
166
|
+
requestId?: string | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
productPr?: {
|
|
169
|
+
url: string;
|
|
170
|
+
base?: string | undefined;
|
|
171
|
+
head?: string | undefined;
|
|
172
|
+
revision?: string | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
qa?: {
|
|
175
|
+
issue?: string | undefined;
|
|
176
|
+
pr?: string | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
defects?: {
|
|
179
|
+
url: string;
|
|
180
|
+
acceptance: string[];
|
|
181
|
+
}[] | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
outcome?: "skipped" | "blocked" | "not-run" | "expected-failure" | undefined;
|
|
184
|
+
engineResult?: {
|
|
185
|
+
verdict: "error" | "passed" | "failed" | "inconclusive" | "canceled";
|
|
186
|
+
reason: string | null;
|
|
187
|
+
finishedAt: number;
|
|
188
|
+
} | undefined;
|
|
189
|
+
evidence?: {
|
|
190
|
+
path: string;
|
|
191
|
+
actor: string | null;
|
|
192
|
+
view: string | null;
|
|
193
|
+
step: string | null;
|
|
194
|
+
eventSeq: number;
|
|
195
|
+
}[] | undefined;
|
|
196
|
+
};
|
|
197
|
+
result: {
|
|
198
|
+
kind: "attempt-finished";
|
|
199
|
+
attemptId: string;
|
|
200
|
+
at: number;
|
|
201
|
+
verdict: "error" | "passed" | "failed" | "inconclusive" | "canceled";
|
|
202
|
+
outcome?: "skipped" | "blocked" | "not-run" | "expected-failure" | undefined;
|
|
203
|
+
usage?: {
|
|
204
|
+
inputTokens: number;
|
|
205
|
+
outputTokens: number;
|
|
206
|
+
actions: number;
|
|
207
|
+
minutes: number;
|
|
208
|
+
cacheReadTokens?: number | undefined;
|
|
209
|
+
cacheWriteTokens?: number | undefined;
|
|
210
|
+
costUsd?: number | undefined;
|
|
211
|
+
costUnknown?: true | undefined;
|
|
212
|
+
e2bMinutes?: number | undefined;
|
|
213
|
+
} | undefined;
|
|
214
|
+
audit?: {
|
|
215
|
+
schemaVersion: 1;
|
|
216
|
+
usage: {
|
|
217
|
+
inputTokens: number;
|
|
218
|
+
outputTokens: number;
|
|
219
|
+
role: "heal" | "main" | "judge" | "reviewer" | "classifier";
|
|
220
|
+
billing: "subscription" | "metered" | null;
|
|
221
|
+
cacheReadTokens?: number | undefined;
|
|
222
|
+
cacheWriteTokens?: number | undefined;
|
|
223
|
+
costUsd?: number | undefined;
|
|
224
|
+
costUnknown?: true | undefined;
|
|
225
|
+
model?: {
|
|
226
|
+
provider: string | null;
|
|
227
|
+
model: string | null;
|
|
228
|
+
seed: number | "unknown" | "unsupported";
|
|
229
|
+
billingVersion: string | null;
|
|
230
|
+
deployment?: string | undefined;
|
|
231
|
+
promptVersion?: string | undefined;
|
|
232
|
+
promptHash?: string | undefined;
|
|
233
|
+
parameters?: Record<string, import("zod").JSONType> | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
billingMode?: "subscription" | "metered" | undefined;
|
|
236
|
+
costUnknownReason?: "subscription" | "unpriced" | "usage-unavailable" | "billing-unrecorded" | undefined;
|
|
237
|
+
actor?: string | undefined;
|
|
238
|
+
step?: string | undefined;
|
|
239
|
+
}[];
|
|
240
|
+
judges: {
|
|
241
|
+
eventSeq: number;
|
|
242
|
+
actor: string | null;
|
|
243
|
+
step: string | null;
|
|
244
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
245
|
+
confidence: number | null;
|
|
246
|
+
reason: string;
|
|
247
|
+
rubricVersion: string | null;
|
|
248
|
+
rubricHash: string | null;
|
|
249
|
+
outcome: {
|
|
250
|
+
eventSeq: number;
|
|
251
|
+
type: string;
|
|
252
|
+
passed: boolean;
|
|
253
|
+
}[];
|
|
254
|
+
reviewStatus: "recorded" | "pending" | "deterministic";
|
|
255
|
+
}[];
|
|
256
|
+
reviewer: {
|
|
257
|
+
eventSeq: number;
|
|
258
|
+
status: "completed" | "incomplete" | "skipped";
|
|
259
|
+
reason: string;
|
|
260
|
+
failureType: string | null;
|
|
261
|
+
rubricVersion: string | null;
|
|
262
|
+
rubricHash: string | null;
|
|
263
|
+
}[];
|
|
264
|
+
environment?: {
|
|
265
|
+
image: {
|
|
266
|
+
template: string | null;
|
|
267
|
+
digest: string | null;
|
|
268
|
+
};
|
|
269
|
+
runtime: string | null;
|
|
270
|
+
views: {
|
|
271
|
+
view: string;
|
|
272
|
+
browser: string | null;
|
|
273
|
+
viewport: {
|
|
274
|
+
width: number;
|
|
275
|
+
height: number;
|
|
276
|
+
} | null;
|
|
277
|
+
device: string | null;
|
|
278
|
+
}[];
|
|
279
|
+
} | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
observation?: Record<string, import("zod").JSONType> | undefined;
|
|
282
|
+
evidence?: {
|
|
283
|
+
path: string;
|
|
284
|
+
actor: string | null;
|
|
285
|
+
view: string | null;
|
|
286
|
+
step: string | null;
|
|
287
|
+
eventSeq: number;
|
|
288
|
+
}[] | undefined;
|
|
289
|
+
} | null;
|
|
290
|
+
classifierUsage: {
|
|
291
|
+
inputTokens: number;
|
|
292
|
+
outputTokens: number;
|
|
293
|
+
cacheReadTokens?: number | undefined;
|
|
294
|
+
cacheWriteTokens?: number | undefined;
|
|
295
|
+
costUsd?: number | undefined;
|
|
296
|
+
costUnknown?: true | undefined;
|
|
297
|
+
model?: {
|
|
298
|
+
provider: string | null;
|
|
299
|
+
model: string | null;
|
|
300
|
+
seed: number | "unknown" | "unsupported";
|
|
301
|
+
billingVersion: string | null;
|
|
302
|
+
deployment?: string | undefined;
|
|
303
|
+
promptVersion?: string | undefined;
|
|
304
|
+
promptHash?: string | undefined;
|
|
305
|
+
parameters?: Record<string, import("zod").JSONType> | undefined;
|
|
306
|
+
} | undefined;
|
|
307
|
+
billingMode?: "subscription" | "metered" | undefined;
|
|
308
|
+
costUnknownReason?: "subscription" | "unpriced" | "usage-unavailable" | "billing-unrecorded" | undefined;
|
|
309
|
+
}[];
|
|
310
|
+
outcome: string;
|
|
311
|
+
}[];
|
|
312
|
+
}[];
|
|
313
|
+
}[];
|
|
314
|
+
quarantine: {
|
|
315
|
+
attemptId: string;
|
|
316
|
+
caseId: string | null;
|
|
317
|
+
outcome: string;
|
|
318
|
+
covers: string[];
|
|
319
|
+
}[];
|
|
320
|
+
acceptance: {
|
|
321
|
+
projectId: string;
|
|
322
|
+
source: string;
|
|
323
|
+
revision: string;
|
|
324
|
+
criteria: {
|
|
325
|
+
status: import("@open-qa/qa-engine/protocol").AcceptanceStatus;
|
|
326
|
+
coveringFlows: string[];
|
|
327
|
+
unexecutedFlows: string[];
|
|
328
|
+
attempts: {
|
|
329
|
+
attemptId: string;
|
|
330
|
+
flow: string;
|
|
331
|
+
outcome: string;
|
|
332
|
+
status: Exclude<import("@open-qa/qa-engine/protocol").AcceptanceStatus, "uncovered">;
|
|
333
|
+
reason: string | null;
|
|
334
|
+
owner: string | null;
|
|
335
|
+
}[];
|
|
336
|
+
id: string;
|
|
337
|
+
text: string;
|
|
338
|
+
source?: string | undefined;
|
|
339
|
+
}[];
|
|
340
|
+
}[];
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
results: {
|
|
344
|
+
tool: {
|
|
345
|
+
name: string;
|
|
346
|
+
};
|
|
347
|
+
summary: {
|
|
348
|
+
start: number;
|
|
349
|
+
stop: number;
|
|
350
|
+
extra: {
|
|
351
|
+
openQa: {
|
|
352
|
+
quarantineOverdue?: readonly {
|
|
353
|
+
flow: string;
|
|
354
|
+
expiresAt: number;
|
|
355
|
+
}[] | undefined;
|
|
356
|
+
uniqueCases: number;
|
|
357
|
+
unidentifiedExecutions: number;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
passed: number;
|
|
361
|
+
failed: number;
|
|
362
|
+
skipped: number;
|
|
363
|
+
pending: number;
|
|
364
|
+
other: number;
|
|
365
|
+
flaky: number;
|
|
366
|
+
tests: number;
|
|
367
|
+
};
|
|
368
|
+
tests: {
|
|
369
|
+
extra: {
|
|
370
|
+
openQa: {
|
|
371
|
+
recordedPriorAttempts?: ({
|
|
372
|
+
extra: {
|
|
373
|
+
openQa: {
|
|
374
|
+
projectId: string | null;
|
|
375
|
+
caseId: string | null;
|
|
376
|
+
caseRevision: string | null;
|
|
377
|
+
retryOf: string | null;
|
|
378
|
+
batchId: string | null;
|
|
379
|
+
trial: {
|
|
380
|
+
groupId: string;
|
|
381
|
+
index: number;
|
|
382
|
+
count: number;
|
|
383
|
+
} | null;
|
|
384
|
+
quarantined: boolean | null;
|
|
385
|
+
attemptAudit: {
|
|
386
|
+
knownCostUsd: number | null;
|
|
387
|
+
costUnknown: boolean;
|
|
388
|
+
roles: {
|
|
389
|
+
[k: string]: string;
|
|
390
|
+
};
|
|
391
|
+
judges: {
|
|
392
|
+
reviews: {
|
|
393
|
+
schemaVersion: 1;
|
|
394
|
+
eventSeq: number;
|
|
395
|
+
actor: string;
|
|
396
|
+
at: number;
|
|
397
|
+
reason: string;
|
|
398
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
399
|
+
dbUser?: string | undefined;
|
|
400
|
+
host?: string | undefined;
|
|
401
|
+
}[];
|
|
402
|
+
effectiveVerdict: "passed" | "failed" | "inconclusive";
|
|
403
|
+
reviewStatus: string;
|
|
404
|
+
eventSeq: number;
|
|
405
|
+
actor: string | null;
|
|
406
|
+
step: string | null;
|
|
407
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
408
|
+
confidence: number | null;
|
|
409
|
+
reason: string;
|
|
410
|
+
rubricVersion: string | null;
|
|
411
|
+
rubricHash: string | null;
|
|
412
|
+
outcome: {
|
|
413
|
+
eventSeq: number;
|
|
414
|
+
type: string;
|
|
415
|
+
passed: boolean;
|
|
416
|
+
}[];
|
|
417
|
+
}[];
|
|
418
|
+
schemaVersion: 1;
|
|
419
|
+
usage: {
|
|
420
|
+
inputTokens: number;
|
|
421
|
+
outputTokens: number;
|
|
422
|
+
role: "heal" | "main" | "judge" | "reviewer" | "classifier";
|
|
423
|
+
billing: "subscription" | "metered" | null;
|
|
424
|
+
cacheReadTokens?: number | undefined;
|
|
425
|
+
cacheWriteTokens?: number | undefined;
|
|
426
|
+
costUsd?: number | undefined;
|
|
427
|
+
costUnknown?: true | undefined;
|
|
428
|
+
model?: {
|
|
429
|
+
provider: string | null;
|
|
430
|
+
model: string | null;
|
|
431
|
+
seed: number | "unknown" | "unsupported";
|
|
432
|
+
billingVersion: string | null;
|
|
433
|
+
deployment?: string | undefined;
|
|
434
|
+
promptVersion?: string | undefined;
|
|
435
|
+
promptHash?: string | undefined;
|
|
436
|
+
parameters?: Record<string, import("zod").JSONType> | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
billingMode?: "subscription" | "metered" | undefined;
|
|
439
|
+
costUnknownReason?: "subscription" | "unpriced" | "usage-unavailable" | "billing-unrecorded" | undefined;
|
|
440
|
+
actor?: string | undefined;
|
|
441
|
+
step?: string | undefined;
|
|
442
|
+
}[];
|
|
443
|
+
reviewer: {
|
|
444
|
+
eventSeq: number;
|
|
445
|
+
status: "completed" | "incomplete" | "skipped";
|
|
446
|
+
reason: string;
|
|
447
|
+
failureType: string | null;
|
|
448
|
+
rubricVersion: string | null;
|
|
449
|
+
rubricHash: string | null;
|
|
450
|
+
}[];
|
|
451
|
+
environment?: {
|
|
452
|
+
image: {
|
|
453
|
+
template: string | null;
|
|
454
|
+
digest: string | null;
|
|
455
|
+
};
|
|
456
|
+
runtime: string | null;
|
|
457
|
+
views: {
|
|
458
|
+
view: string;
|
|
459
|
+
browser: string | null;
|
|
460
|
+
viewport: {
|
|
461
|
+
width: number;
|
|
462
|
+
height: number;
|
|
463
|
+
} | null;
|
|
464
|
+
device: string | null;
|
|
465
|
+
}[];
|
|
466
|
+
} | undefined;
|
|
467
|
+
} | null;
|
|
468
|
+
target: string | null;
|
|
469
|
+
targetRevision: string | null;
|
|
470
|
+
commit: string | null;
|
|
471
|
+
parameters: {
|
|
472
|
+
runtime: "claude-code" | "codex" | "scripted" | "pi" | null;
|
|
473
|
+
modelAccess: "env" | "login" | "personal" | "team" | null;
|
|
474
|
+
placement: "local-host" | "e2b" | null;
|
|
475
|
+
agentAt: "host" | "stage" | null;
|
|
476
|
+
headed: boolean | null;
|
|
477
|
+
level: "semantic" | "pixel" | "hybrid" | null;
|
|
478
|
+
device: string | null;
|
|
479
|
+
persona: string | null;
|
|
480
|
+
replay: "off" | "enabled" | null;
|
|
481
|
+
} | null;
|
|
482
|
+
parameterFingerprint: string | null;
|
|
483
|
+
environmentFingerprint: string | null;
|
|
484
|
+
rawVerdict: "error" | "passed" | "failed" | "inconclusive" | "canceled" | null;
|
|
485
|
+
rawReason: string | null;
|
|
486
|
+
covers: string[];
|
|
487
|
+
risk: string | null;
|
|
488
|
+
owner: string | null;
|
|
489
|
+
acceptanceSuite: {
|
|
490
|
+
source: string;
|
|
491
|
+
revision: string;
|
|
492
|
+
} | null;
|
|
493
|
+
ci: {
|
|
494
|
+
pipeline: string | null;
|
|
495
|
+
task: string | null;
|
|
496
|
+
runId: string | null;
|
|
497
|
+
runUrl: string | null;
|
|
498
|
+
};
|
|
499
|
+
build: {
|
|
500
|
+
id: string | null;
|
|
501
|
+
url: string | null;
|
|
502
|
+
};
|
|
503
|
+
correlation: {
|
|
504
|
+
trace_id: string | null;
|
|
505
|
+
span_id: string | null;
|
|
506
|
+
request_id: string | null;
|
|
507
|
+
};
|
|
508
|
+
productPr: {
|
|
509
|
+
url: string;
|
|
510
|
+
base?: string | undefined;
|
|
511
|
+
head?: string | undefined;
|
|
512
|
+
revision?: string | undefined;
|
|
513
|
+
} | null;
|
|
514
|
+
qa: {
|
|
515
|
+
issue: string | null;
|
|
516
|
+
pr: string | null;
|
|
517
|
+
};
|
|
518
|
+
defects: {
|
|
519
|
+
url: string;
|
|
520
|
+
acceptance: string[];
|
|
521
|
+
}[];
|
|
522
|
+
findings: {
|
|
523
|
+
id: string;
|
|
524
|
+
evidence: string[];
|
|
525
|
+
eventSeqs: number[];
|
|
526
|
+
shots: string[];
|
|
527
|
+
actor: string;
|
|
528
|
+
step: string;
|
|
529
|
+
category: "scope" | "other";
|
|
530
|
+
severity: "low" | "medium" | "high";
|
|
531
|
+
description: string;
|
|
532
|
+
}[];
|
|
533
|
+
engineResult: {
|
|
534
|
+
verdict: "error" | "passed" | "failed" | "inconclusive" | "canceled";
|
|
535
|
+
reason: string | null;
|
|
536
|
+
finishedAt: number;
|
|
537
|
+
} | null;
|
|
538
|
+
errorReason: "budget" | null;
|
|
539
|
+
outcome: string;
|
|
540
|
+
startedAt: number | null;
|
|
541
|
+
queuedAt: number | null;
|
|
542
|
+
finishedAt: number | null;
|
|
543
|
+
durationMs: number | null;
|
|
544
|
+
traceSchemaVersion?: number | undefined;
|
|
545
|
+
traceStatus: "unsupported" | "not-recorded" | "recorded" | "invalid";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
attachments?: {
|
|
549
|
+
name: string;
|
|
550
|
+
path: string;
|
|
551
|
+
contentType: string;
|
|
552
|
+
extra: {
|
|
553
|
+
openQa: {
|
|
554
|
+
sha256: string;
|
|
555
|
+
context: {
|
|
556
|
+
actor: string | null;
|
|
557
|
+
view: string | null;
|
|
558
|
+
step: string | null;
|
|
559
|
+
eventSeq: number;
|
|
560
|
+
} | null;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
}[] | undefined;
|
|
564
|
+
duration: number;
|
|
565
|
+
stop?: number | undefined;
|
|
566
|
+
start?: number | undefined;
|
|
567
|
+
message?: string | undefined;
|
|
568
|
+
attemptId: string;
|
|
569
|
+
status: Status;
|
|
570
|
+
} & {
|
|
571
|
+
attempt: number;
|
|
572
|
+
})[] | undefined;
|
|
573
|
+
caseId: string | null;
|
|
574
|
+
attempt: number;
|
|
575
|
+
missingPredecessor: string | null;
|
|
576
|
+
projectId: string | null;
|
|
577
|
+
caseRevision: string | null;
|
|
578
|
+
retryOf: string | null;
|
|
579
|
+
batchId: string | null;
|
|
580
|
+
trial: {
|
|
581
|
+
groupId: string;
|
|
582
|
+
index: number;
|
|
583
|
+
count: number;
|
|
584
|
+
} | null;
|
|
585
|
+
quarantined: boolean | null;
|
|
586
|
+
attemptAudit: {
|
|
587
|
+
knownCostUsd: number | null;
|
|
588
|
+
costUnknown: boolean;
|
|
589
|
+
roles: {
|
|
590
|
+
[k: string]: string;
|
|
591
|
+
};
|
|
592
|
+
judges: {
|
|
593
|
+
reviews: {
|
|
594
|
+
schemaVersion: 1;
|
|
595
|
+
eventSeq: number;
|
|
596
|
+
actor: string;
|
|
597
|
+
at: number;
|
|
598
|
+
reason: string;
|
|
599
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
600
|
+
dbUser?: string | undefined;
|
|
601
|
+
host?: string | undefined;
|
|
602
|
+
}[];
|
|
603
|
+
effectiveVerdict: "passed" | "failed" | "inconclusive";
|
|
604
|
+
reviewStatus: string;
|
|
605
|
+
eventSeq: number;
|
|
606
|
+
actor: string | null;
|
|
607
|
+
step: string | null;
|
|
608
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
609
|
+
confidence: number | null;
|
|
610
|
+
reason: string;
|
|
611
|
+
rubricVersion: string | null;
|
|
612
|
+
rubricHash: string | null;
|
|
613
|
+
outcome: {
|
|
614
|
+
eventSeq: number;
|
|
615
|
+
type: string;
|
|
616
|
+
passed: boolean;
|
|
617
|
+
}[];
|
|
618
|
+
}[];
|
|
619
|
+
schemaVersion: 1;
|
|
620
|
+
usage: {
|
|
621
|
+
inputTokens: number;
|
|
622
|
+
outputTokens: number;
|
|
623
|
+
role: "heal" | "main" | "judge" | "reviewer" | "classifier";
|
|
624
|
+
billing: "subscription" | "metered" | null;
|
|
625
|
+
cacheReadTokens?: number | undefined;
|
|
626
|
+
cacheWriteTokens?: number | undefined;
|
|
627
|
+
costUsd?: number | undefined;
|
|
628
|
+
costUnknown?: true | undefined;
|
|
629
|
+
model?: {
|
|
630
|
+
provider: string | null;
|
|
631
|
+
model: string | null;
|
|
632
|
+
seed: number | "unknown" | "unsupported";
|
|
633
|
+
billingVersion: string | null;
|
|
634
|
+
deployment?: string | undefined;
|
|
635
|
+
promptVersion?: string | undefined;
|
|
636
|
+
promptHash?: string | undefined;
|
|
637
|
+
parameters?: Record<string, import("zod").JSONType> | undefined;
|
|
638
|
+
} | undefined;
|
|
639
|
+
billingMode?: "subscription" | "metered" | undefined;
|
|
640
|
+
costUnknownReason?: "subscription" | "unpriced" | "usage-unavailable" | "billing-unrecorded" | undefined;
|
|
641
|
+
actor?: string | undefined;
|
|
642
|
+
step?: string | undefined;
|
|
643
|
+
}[];
|
|
644
|
+
reviewer: {
|
|
645
|
+
eventSeq: number;
|
|
646
|
+
status: "completed" | "incomplete" | "skipped";
|
|
647
|
+
reason: string;
|
|
648
|
+
failureType: string | null;
|
|
649
|
+
rubricVersion: string | null;
|
|
650
|
+
rubricHash: string | null;
|
|
651
|
+
}[];
|
|
652
|
+
environment?: {
|
|
653
|
+
image: {
|
|
654
|
+
template: string | null;
|
|
655
|
+
digest: string | null;
|
|
656
|
+
};
|
|
657
|
+
runtime: string | null;
|
|
658
|
+
views: {
|
|
659
|
+
view: string;
|
|
660
|
+
browser: string | null;
|
|
661
|
+
viewport: {
|
|
662
|
+
width: number;
|
|
663
|
+
height: number;
|
|
664
|
+
} | null;
|
|
665
|
+
device: string | null;
|
|
666
|
+
}[];
|
|
667
|
+
} | undefined;
|
|
668
|
+
} | null;
|
|
669
|
+
target: string | null;
|
|
670
|
+
targetRevision: string | null;
|
|
671
|
+
commit: string | null;
|
|
672
|
+
parameters: {
|
|
673
|
+
runtime: "claude-code" | "codex" | "scripted" | "pi" | null;
|
|
674
|
+
modelAccess: "env" | "login" | "personal" | "team" | null;
|
|
675
|
+
placement: "local-host" | "e2b" | null;
|
|
676
|
+
agentAt: "host" | "stage" | null;
|
|
677
|
+
headed: boolean | null;
|
|
678
|
+
level: "semantic" | "pixel" | "hybrid" | null;
|
|
679
|
+
device: string | null;
|
|
680
|
+
persona: string | null;
|
|
681
|
+
replay: "off" | "enabled" | null;
|
|
682
|
+
} | null;
|
|
683
|
+
parameterFingerprint: string | null;
|
|
684
|
+
environmentFingerprint: string | null;
|
|
685
|
+
rawVerdict: "error" | "passed" | "failed" | "inconclusive" | "canceled" | null;
|
|
686
|
+
rawReason: string | null;
|
|
687
|
+
covers: string[];
|
|
688
|
+
risk: string | null;
|
|
689
|
+
owner: string | null;
|
|
690
|
+
acceptanceSuite: {
|
|
691
|
+
source: string;
|
|
692
|
+
revision: string;
|
|
693
|
+
} | null;
|
|
694
|
+
ci: {
|
|
695
|
+
pipeline: string | null;
|
|
696
|
+
task: string | null;
|
|
697
|
+
runId: string | null;
|
|
698
|
+
runUrl: string | null;
|
|
699
|
+
};
|
|
700
|
+
build: {
|
|
701
|
+
id: string | null;
|
|
702
|
+
url: string | null;
|
|
703
|
+
};
|
|
704
|
+
correlation: {
|
|
705
|
+
trace_id: string | null;
|
|
706
|
+
span_id: string | null;
|
|
707
|
+
request_id: string | null;
|
|
708
|
+
};
|
|
709
|
+
productPr: {
|
|
710
|
+
url: string;
|
|
711
|
+
base?: string | undefined;
|
|
712
|
+
head?: string | undefined;
|
|
713
|
+
revision?: string | undefined;
|
|
714
|
+
} | null;
|
|
715
|
+
qa: {
|
|
716
|
+
issue: string | null;
|
|
717
|
+
pr: string | null;
|
|
718
|
+
};
|
|
719
|
+
defects: {
|
|
720
|
+
url: string;
|
|
721
|
+
acceptance: string[];
|
|
722
|
+
}[];
|
|
723
|
+
findings: {
|
|
724
|
+
id: string;
|
|
725
|
+
evidence: string[];
|
|
726
|
+
eventSeqs: number[];
|
|
727
|
+
shots: string[];
|
|
728
|
+
actor: string;
|
|
729
|
+
step: string;
|
|
730
|
+
category: "scope" | "other";
|
|
731
|
+
severity: "low" | "medium" | "high";
|
|
732
|
+
description: string;
|
|
733
|
+
}[];
|
|
734
|
+
engineResult: {
|
|
735
|
+
verdict: "error" | "passed" | "failed" | "inconclusive" | "canceled";
|
|
736
|
+
reason: string | null;
|
|
737
|
+
finishedAt: number;
|
|
738
|
+
} | null;
|
|
739
|
+
errorReason: "budget" | null;
|
|
740
|
+
outcome: string;
|
|
741
|
+
startedAt: number | null;
|
|
742
|
+
queuedAt: number | null;
|
|
743
|
+
finishedAt: number | null;
|
|
744
|
+
durationMs: number | null;
|
|
745
|
+
traceSchemaVersion?: number | undefined;
|
|
746
|
+
traceStatus: "unsupported" | "not-recorded" | "recorded" | "invalid";
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
retries?: number | undefined;
|
|
750
|
+
retryAttempts?: ({
|
|
751
|
+
extra: {
|
|
752
|
+
openQa: {
|
|
753
|
+
projectId: string | null;
|
|
754
|
+
caseId: string | null;
|
|
755
|
+
caseRevision: string | null;
|
|
756
|
+
retryOf: string | null;
|
|
757
|
+
batchId: string | null;
|
|
758
|
+
trial: {
|
|
759
|
+
groupId: string;
|
|
760
|
+
index: number;
|
|
761
|
+
count: number;
|
|
762
|
+
} | null;
|
|
763
|
+
quarantined: boolean | null;
|
|
764
|
+
attemptAudit: {
|
|
765
|
+
knownCostUsd: number | null;
|
|
766
|
+
costUnknown: boolean;
|
|
767
|
+
roles: {
|
|
768
|
+
[k: string]: string;
|
|
769
|
+
};
|
|
770
|
+
judges: {
|
|
771
|
+
reviews: {
|
|
772
|
+
schemaVersion: 1;
|
|
773
|
+
eventSeq: number;
|
|
774
|
+
actor: string;
|
|
775
|
+
at: number;
|
|
776
|
+
reason: string;
|
|
777
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
778
|
+
dbUser?: string | undefined;
|
|
779
|
+
host?: string | undefined;
|
|
780
|
+
}[];
|
|
781
|
+
effectiveVerdict: "passed" | "failed" | "inconclusive";
|
|
782
|
+
reviewStatus: string;
|
|
783
|
+
eventSeq: number;
|
|
784
|
+
actor: string | null;
|
|
785
|
+
step: string | null;
|
|
786
|
+
verdict: "passed" | "failed" | "inconclusive";
|
|
787
|
+
confidence: number | null;
|
|
788
|
+
reason: string;
|
|
789
|
+
rubricVersion: string | null;
|
|
790
|
+
rubricHash: string | null;
|
|
791
|
+
outcome: {
|
|
792
|
+
eventSeq: number;
|
|
793
|
+
type: string;
|
|
794
|
+
passed: boolean;
|
|
795
|
+
}[];
|
|
796
|
+
}[];
|
|
797
|
+
schemaVersion: 1;
|
|
798
|
+
usage: {
|
|
799
|
+
inputTokens: number;
|
|
800
|
+
outputTokens: number;
|
|
801
|
+
role: "heal" | "main" | "judge" | "reviewer" | "classifier";
|
|
802
|
+
billing: "subscription" | "metered" | null;
|
|
803
|
+
cacheReadTokens?: number | undefined;
|
|
804
|
+
cacheWriteTokens?: number | undefined;
|
|
805
|
+
costUsd?: number | undefined;
|
|
806
|
+
costUnknown?: true | undefined;
|
|
807
|
+
model?: {
|
|
808
|
+
provider: string | null;
|
|
809
|
+
model: string | null;
|
|
810
|
+
seed: number | "unknown" | "unsupported";
|
|
811
|
+
billingVersion: string | null;
|
|
812
|
+
deployment?: string | undefined;
|
|
813
|
+
promptVersion?: string | undefined;
|
|
814
|
+
promptHash?: string | undefined;
|
|
815
|
+
parameters?: Record<string, import("zod").JSONType> | undefined;
|
|
816
|
+
} | undefined;
|
|
817
|
+
billingMode?: "subscription" | "metered" | undefined;
|
|
818
|
+
costUnknownReason?: "subscription" | "unpriced" | "usage-unavailable" | "billing-unrecorded" | undefined;
|
|
819
|
+
actor?: string | undefined;
|
|
820
|
+
step?: string | undefined;
|
|
821
|
+
}[];
|
|
822
|
+
reviewer: {
|
|
823
|
+
eventSeq: number;
|
|
824
|
+
status: "completed" | "incomplete" | "skipped";
|
|
825
|
+
reason: string;
|
|
826
|
+
failureType: string | null;
|
|
827
|
+
rubricVersion: string | null;
|
|
828
|
+
rubricHash: string | null;
|
|
829
|
+
}[];
|
|
830
|
+
environment?: {
|
|
831
|
+
image: {
|
|
832
|
+
template: string | null;
|
|
833
|
+
digest: string | null;
|
|
834
|
+
};
|
|
835
|
+
runtime: string | null;
|
|
836
|
+
views: {
|
|
837
|
+
view: string;
|
|
838
|
+
browser: string | null;
|
|
839
|
+
viewport: {
|
|
840
|
+
width: number;
|
|
841
|
+
height: number;
|
|
842
|
+
} | null;
|
|
843
|
+
device: string | null;
|
|
844
|
+
}[];
|
|
845
|
+
} | undefined;
|
|
846
|
+
} | null;
|
|
847
|
+
target: string | null;
|
|
848
|
+
targetRevision: string | null;
|
|
849
|
+
commit: string | null;
|
|
850
|
+
parameters: {
|
|
851
|
+
runtime: "claude-code" | "codex" | "scripted" | "pi" | null;
|
|
852
|
+
modelAccess: "env" | "login" | "personal" | "team" | null;
|
|
853
|
+
placement: "local-host" | "e2b" | null;
|
|
854
|
+
agentAt: "host" | "stage" | null;
|
|
855
|
+
headed: boolean | null;
|
|
856
|
+
level: "semantic" | "pixel" | "hybrid" | null;
|
|
857
|
+
device: string | null;
|
|
858
|
+
persona: string | null;
|
|
859
|
+
replay: "off" | "enabled" | null;
|
|
860
|
+
} | null;
|
|
861
|
+
parameterFingerprint: string | null;
|
|
862
|
+
environmentFingerprint: string | null;
|
|
863
|
+
rawVerdict: "error" | "passed" | "failed" | "inconclusive" | "canceled" | null;
|
|
864
|
+
rawReason: string | null;
|
|
865
|
+
covers: string[];
|
|
866
|
+
risk: string | null;
|
|
867
|
+
owner: string | null;
|
|
868
|
+
acceptanceSuite: {
|
|
869
|
+
source: string;
|
|
870
|
+
revision: string;
|
|
871
|
+
} | null;
|
|
872
|
+
ci: {
|
|
873
|
+
pipeline: string | null;
|
|
874
|
+
task: string | null;
|
|
875
|
+
runId: string | null;
|
|
876
|
+
runUrl: string | null;
|
|
877
|
+
};
|
|
878
|
+
build: {
|
|
879
|
+
id: string | null;
|
|
880
|
+
url: string | null;
|
|
881
|
+
};
|
|
882
|
+
correlation: {
|
|
883
|
+
trace_id: string | null;
|
|
884
|
+
span_id: string | null;
|
|
885
|
+
request_id: string | null;
|
|
886
|
+
};
|
|
887
|
+
productPr: {
|
|
888
|
+
url: string;
|
|
889
|
+
base?: string | undefined;
|
|
890
|
+
head?: string | undefined;
|
|
891
|
+
revision?: string | undefined;
|
|
892
|
+
} | null;
|
|
893
|
+
qa: {
|
|
894
|
+
issue: string | null;
|
|
895
|
+
pr: string | null;
|
|
896
|
+
};
|
|
897
|
+
defects: {
|
|
898
|
+
url: string;
|
|
899
|
+
acceptance: string[];
|
|
900
|
+
}[];
|
|
901
|
+
findings: {
|
|
902
|
+
id: string;
|
|
903
|
+
evidence: string[];
|
|
904
|
+
eventSeqs: number[];
|
|
905
|
+
shots: string[];
|
|
906
|
+
actor: string;
|
|
907
|
+
step: string;
|
|
908
|
+
category: "scope" | "other";
|
|
909
|
+
severity: "low" | "medium" | "high";
|
|
910
|
+
description: string;
|
|
911
|
+
}[];
|
|
912
|
+
engineResult: {
|
|
913
|
+
verdict: "error" | "passed" | "failed" | "inconclusive" | "canceled";
|
|
914
|
+
reason: string | null;
|
|
915
|
+
finishedAt: number;
|
|
916
|
+
} | null;
|
|
917
|
+
errorReason: "budget" | null;
|
|
918
|
+
outcome: string;
|
|
919
|
+
startedAt: number | null;
|
|
920
|
+
queuedAt: number | null;
|
|
921
|
+
finishedAt: number | null;
|
|
922
|
+
durationMs: number | null;
|
|
923
|
+
traceSchemaVersion?: number | undefined;
|
|
924
|
+
traceStatus: "unsupported" | "not-recorded" | "recorded" | "invalid";
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
attachments?: {
|
|
928
|
+
name: string;
|
|
929
|
+
path: string;
|
|
930
|
+
contentType: string;
|
|
931
|
+
extra: {
|
|
932
|
+
openQa: {
|
|
933
|
+
sha256: string;
|
|
934
|
+
context: {
|
|
935
|
+
actor: string | null;
|
|
936
|
+
view: string | null;
|
|
937
|
+
step: string | null;
|
|
938
|
+
eventSeq: number;
|
|
939
|
+
} | null;
|
|
940
|
+
};
|
|
941
|
+
};
|
|
942
|
+
}[] | undefined;
|
|
943
|
+
duration: number;
|
|
944
|
+
stop?: number | undefined;
|
|
945
|
+
start?: number | undefined;
|
|
946
|
+
message?: string | undefined;
|
|
947
|
+
attemptId: string;
|
|
948
|
+
status: Status;
|
|
949
|
+
} & {
|
|
950
|
+
attempt: number;
|
|
951
|
+
})[] | undefined;
|
|
952
|
+
flaky?: true | undefined;
|
|
953
|
+
device?: string | undefined;
|
|
954
|
+
rawStatus?: "error" | "passed" | "failed" | "inconclusive" | "canceled" | undefined;
|
|
955
|
+
executionId: string;
|
|
956
|
+
testId?: string | undefined;
|
|
957
|
+
name: string;
|
|
958
|
+
attachments?: {
|
|
959
|
+
name: string;
|
|
960
|
+
path: string;
|
|
961
|
+
contentType: string;
|
|
962
|
+
extra: {
|
|
963
|
+
openQa: {
|
|
964
|
+
sha256: string;
|
|
965
|
+
context: {
|
|
966
|
+
actor: string | null;
|
|
967
|
+
view: string | null;
|
|
968
|
+
step: string | null;
|
|
969
|
+
eventSeq: number;
|
|
970
|
+
} | null;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
}[] | undefined;
|
|
974
|
+
duration: number;
|
|
975
|
+
stop?: number | undefined;
|
|
976
|
+
start?: number | undefined;
|
|
977
|
+
message?: string | undefined;
|
|
978
|
+
attemptId: string;
|
|
979
|
+
status: Status;
|
|
980
|
+
}[];
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
export {};
|