@qawolf/api-contracts 0.130.0 → 0.132.0
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/dist/v1/activity/wait.d.ts +2 -2
- package/dist/v1/agent/get.d.ts +1 -1
- package/dist/v1/agent/send.d.ts +1 -1
- package/dist/v1/agent/status.d.ts +1 -1
- package/dist/v1/attempt/get.d.ts +14 -14
- package/dist/v1/deployment/verdict.d.ts +7 -7
- package/dist/v1/deployment/verdictParts.d.ts +2 -2
- package/dist/v1/environment/find.d.ts +2 -0
- package/dist/v1/environment/find.d.ts.map +1 -1
- package/dist/v1/environment/find.js +14 -1
- package/dist/v1/environment/find.js.map +1 -1
- package/dist/v1/environment/promote.d.ts +45 -0
- package/dist/v1/environment/promote.d.ts.map +1 -1
- package/dist/v1/flow/getHistory.d.ts +1 -1
- package/dist/v1/ids.d.ts +2 -0
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js +4 -0
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +1199 -248
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +3 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +1 -1
- package/dist/v1/investigation/index.d.ts +1 -1
- package/dist/v1/issue/contracts.d.ts +0 -74
- package/dist/v1/issue/contracts.d.ts.map +1 -1
- package/dist/v1/issue/contracts.js +0 -2
- package/dist/v1/issue/contracts.js.map +1 -1
- package/dist/v1/narratedRecording/get.d.ts +1 -1
- package/dist/v1/promotion/decision.d.ts +51 -0
- package/dist/v1/promotion/decision.d.ts.map +1 -0
- package/dist/v1/promotion/decision.js +32 -0
- package/dist/v1/promotion/decision.js.map +1 -0
- package/dist/v1/promotion/find.d.ts +45 -0
- package/dist/v1/promotion/find.d.ts.map +1 -1
- package/dist/v1/promotion/get.d.ts +45 -0
- package/dist/v1/promotion/get.d.ts.map +1 -1
- package/dist/v1/promotion/index.d.ts +270 -0
- package/dist/v1/promotion/index.d.ts.map +1 -1
- package/dist/v1/promotion/index.js +3 -0
- package/dist/v1/promotion/index.js.map +1 -1
- package/dist/v1/promotion/needsPerson.d.ts +25 -0
- package/dist/v1/promotion/needsPerson.d.ts.map +1 -0
- package/dist/v1/promotion/needsPerson.js +20 -0
- package/dist/v1/promotion/needsPerson.js.map +1 -0
- package/dist/v1/promotion/reportDecision.d.ts +142 -0
- package/dist/v1/promotion/reportDecision.d.ts.map +1 -0
- package/dist/v1/promotion/reportDecision.js +72 -0
- package/dist/v1/promotion/reportDecision.js.map +1 -0
- package/dist/v1/promotion/resolve.d.ts +45 -0
- package/dist/v1/promotion/resolve.d.ts.map +1 -1
- package/dist/v1/promotion/resource.d.ts +45 -0
- package/dist/v1/promotion/resource.d.ts.map +1 -1
- package/dist/v1/promotion/resource.js +9 -0
- package/dist/v1/promotion/resource.js.map +1 -1
- package/dist/v1/promotion/validationRun.d.ts +2 -0
- package/dist/v1/promotion/validationRun.d.ts.map +1 -1
- package/dist/v1/promotion/validationRun.js +2 -2
- package/dist/v1/promotion/validationRun.js.map +1 -1
- package/dist/v1/run/find.d.ts +1 -1
- package/dist/v1/run/get.d.ts +3 -3
- package/dist/v1/run/index.d.ts +1 -0
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +1 -1
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/run/summary.d.ts +1 -1
- package/dist/v1/runEventsWebhook/index.d.ts +10 -10
- package/dist/v1/runner/journal.d.ts +1 -1
- package/dist/v1/runner/journal.d.ts.map +1 -1
- package/dist/v1/runner/journal.js +1 -0
- package/dist/v1/runner/journal.js.map +1 -1
- package/dist/v1/suggestion/decide.d.ts +90 -0
- package/dist/v1/suggestion/decide.d.ts.map +1 -0
- package/dist/v1/suggestion/decide.js +35 -0
- package/dist/v1/suggestion/decide.js.map +1 -0
- package/dist/v1/suggestion/find.d.ts +87 -0
- package/dist/v1/suggestion/find.d.ts.map +1 -0
- package/dist/v1/suggestion/find.js +40 -0
- package/dist/v1/suggestion/find.js.map +1 -0
- package/dist/v1/suggestion/get.d.ts +78 -0
- package/dist/v1/suggestion/get.d.ts.map +1 -0
- package/dist/v1/suggestion/get.js +27 -0
- package/dist/v1/suggestion/get.js.map +1 -0
- package/dist/v1/suggestion/index.d.ts +240 -0
- package/dist/v1/suggestion/index.d.ts.map +1 -0
- package/dist/v1/suggestion/index.js +9 -0
- package/dist/v1/suggestion/index.js.map +1 -0
- package/dist/v1/suggestion/resource.d.ts +70 -0
- package/dist/v1/suggestion/resource.d.ts.map +1 -0
- package/dist/v1/suggestion/resource.js +63 -0
- package/dist/v1/suggestion/resource.js.map +1 -0
- package/package.json +1 -1
- package/dist/v1/issue/decideSuggestion.d.ts +0 -82
- package/dist/v1/issue/decideSuggestion.d.ts.map +0 -1
- package/dist/v1/issue/decideSuggestion.js +0 -40
- package/dist/v1/issue/decideSuggestion.js.map +0 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
12
12
|
* the same factory with its own strict id schemas, so the contract shape can
|
|
13
13
|
* never drift between the two while validation strictness stays server-owned.
|
|
14
14
|
*/
|
|
15
|
-
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt"> & {
|
|
15
|
+
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt" | "suggestion"> & {
|
|
16
16
|
runAttempt?: RunAttemptId;
|
|
17
|
+
suggestion?: PublicIdSchema;
|
|
17
18
|
}) => {
|
|
18
19
|
activity: {
|
|
19
20
|
wait: {
|
|
@@ -47,10 +48,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
47
48
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
48
49
|
runId: RunId;
|
|
49
50
|
status: z.ZodEnum<{
|
|
51
|
+
passed: "passed";
|
|
50
52
|
failed: "failed";
|
|
51
53
|
queued: "queued";
|
|
52
54
|
running: "running";
|
|
53
|
-
passed: "passed";
|
|
54
55
|
canceled: "canceled";
|
|
55
56
|
superseded: "superseded";
|
|
56
57
|
"not-found": "not-found";
|
|
@@ -67,10 +68,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
67
68
|
}, z.core.$strip>>;
|
|
68
69
|
sessionId: ChatSessionId;
|
|
69
70
|
status: z.ZodEnum<{
|
|
71
|
+
failed: "failed";
|
|
70
72
|
working: "working";
|
|
71
73
|
"waiting-for-you": "waiting-for-you";
|
|
72
74
|
completed: "completed";
|
|
73
|
-
failed: "failed";
|
|
74
75
|
cancelled: "cancelled";
|
|
75
76
|
"not-found": "not-found";
|
|
76
77
|
}>;
|
|
@@ -113,10 +114,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
113
114
|
}, z.core.$strip>>;
|
|
114
115
|
sessionId: ChatSessionId;
|
|
115
116
|
status: z.ZodEnum<{
|
|
117
|
+
failed: "failed";
|
|
116
118
|
working: "working";
|
|
117
119
|
"waiting-for-you": "waiting-for-you";
|
|
118
120
|
completed: "completed";
|
|
119
|
-
failed: "failed";
|
|
120
121
|
cancelled: "cancelled";
|
|
121
122
|
}>;
|
|
122
123
|
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -155,10 +156,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
155
156
|
readonly output: z.ZodObject<{
|
|
156
157
|
sessionId: ChatSessionId;
|
|
157
158
|
status: z.ZodEnum<{
|
|
159
|
+
failed: "failed";
|
|
158
160
|
working: "working";
|
|
159
161
|
"waiting-for-you": "waiting-for-you";
|
|
160
162
|
completed: "completed";
|
|
161
|
-
failed: "failed";
|
|
162
163
|
cancelled: "cancelled";
|
|
163
164
|
}>;
|
|
164
165
|
url: z.ZodURL;
|
|
@@ -186,10 +187,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
186
187
|
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
187
188
|
flowId: FlowId;
|
|
188
189
|
flowStatus: z.ZodEnum<{
|
|
190
|
+
passed: "passed";
|
|
189
191
|
failed: "failed";
|
|
190
192
|
queued: "queued";
|
|
191
193
|
running: "running";
|
|
192
|
-
passed: "passed";
|
|
193
194
|
canceled: "canceled";
|
|
194
195
|
}>;
|
|
195
196
|
retryContext: z.ZodObject<{
|
|
@@ -197,8 +198,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
197
198
|
next: z.ZodOptional<z.ZodObject<{
|
|
198
199
|
attemptId: PublicIdSchema;
|
|
199
200
|
status: z.ZodEnum<{
|
|
200
|
-
failed: "failed";
|
|
201
201
|
passed: "passed";
|
|
202
|
+
failed: "failed";
|
|
202
203
|
canceled: "canceled";
|
|
203
204
|
skipped: "skipped";
|
|
204
205
|
aborted: "aborted";
|
|
@@ -207,8 +208,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
207
208
|
previous: z.ZodOptional<z.ZodObject<{
|
|
208
209
|
attemptId: PublicIdSchema;
|
|
209
210
|
status: z.ZodEnum<{
|
|
210
|
-
failed: "failed";
|
|
211
211
|
passed: "passed";
|
|
212
|
+
failed: "failed";
|
|
212
213
|
canceled: "canceled";
|
|
213
214
|
skipped: "skipped";
|
|
214
215
|
aborted: "aborted";
|
|
@@ -218,10 +219,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
218
219
|
}, z.core.$strip>;
|
|
219
220
|
runId: RunId;
|
|
220
221
|
runStatus: z.ZodEnum<{
|
|
222
|
+
passed: "passed";
|
|
221
223
|
failed: "failed";
|
|
222
224
|
queued: "queued";
|
|
223
225
|
running: "running";
|
|
224
|
-
passed: "passed";
|
|
225
226
|
canceled: "canceled";
|
|
226
227
|
superseded: "superseded";
|
|
227
228
|
}>;
|
|
@@ -239,8 +240,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
239
240
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
240
241
|
kind: z.ZodLiteral<"automated">;
|
|
241
242
|
status: z.ZodEnum<{
|
|
242
|
-
failed: "failed";
|
|
243
243
|
passed: "passed";
|
|
244
|
+
failed: "failed";
|
|
244
245
|
canceled: "canceled";
|
|
245
246
|
skipped: "skipped";
|
|
246
247
|
aborted: "aborted";
|
|
@@ -270,10 +271,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
270
271
|
}, z.core.$strip>, z.ZodObject<{
|
|
271
272
|
flowId: FlowId;
|
|
272
273
|
flowStatus: z.ZodEnum<{
|
|
274
|
+
passed: "passed";
|
|
273
275
|
failed: "failed";
|
|
274
276
|
queued: "queued";
|
|
275
277
|
running: "running";
|
|
276
|
-
passed: "passed";
|
|
277
278
|
canceled: "canceled";
|
|
278
279
|
}>;
|
|
279
280
|
retryContext: z.ZodObject<{
|
|
@@ -281,8 +282,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
281
282
|
next: z.ZodOptional<z.ZodObject<{
|
|
282
283
|
attemptId: PublicIdSchema;
|
|
283
284
|
status: z.ZodEnum<{
|
|
284
|
-
failed: "failed";
|
|
285
285
|
passed: "passed";
|
|
286
|
+
failed: "failed";
|
|
286
287
|
canceled: "canceled";
|
|
287
288
|
skipped: "skipped";
|
|
288
289
|
aborted: "aborted";
|
|
@@ -291,8 +292,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
291
292
|
previous: z.ZodOptional<z.ZodObject<{
|
|
292
293
|
attemptId: PublicIdSchema;
|
|
293
294
|
status: z.ZodEnum<{
|
|
294
|
-
failed: "failed";
|
|
295
295
|
passed: "passed";
|
|
296
|
+
failed: "failed";
|
|
296
297
|
canceled: "canceled";
|
|
297
298
|
skipped: "skipped";
|
|
298
299
|
aborted: "aborted";
|
|
@@ -302,10 +303,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
302
303
|
}, z.core.$strip>;
|
|
303
304
|
runId: RunId;
|
|
304
305
|
runStatus: z.ZodEnum<{
|
|
306
|
+
passed: "passed";
|
|
305
307
|
failed: "failed";
|
|
306
308
|
queued: "queued";
|
|
307
309
|
running: "running";
|
|
308
|
-
passed: "passed";
|
|
309
310
|
canceled: "canceled";
|
|
310
311
|
superseded: "superseded";
|
|
311
312
|
}>;
|
|
@@ -319,8 +320,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
319
320
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
320
321
|
kind: z.ZodLiteral<"automated">;
|
|
321
322
|
status: z.ZodEnum<{
|
|
322
|
-
failed: "failed";
|
|
323
323
|
passed: "passed";
|
|
324
|
+
failed: "failed";
|
|
324
325
|
canceled: "canceled";
|
|
325
326
|
skipped: "skipped";
|
|
326
327
|
aborted: "aborted";
|
|
@@ -350,10 +351,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
350
351
|
}, z.core.$strip>, z.ZodObject<{
|
|
351
352
|
flowId: FlowId;
|
|
352
353
|
flowStatus: z.ZodEnum<{
|
|
354
|
+
passed: "passed";
|
|
353
355
|
failed: "failed";
|
|
354
356
|
queued: "queued";
|
|
355
357
|
running: "running";
|
|
356
|
-
passed: "passed";
|
|
357
358
|
canceled: "canceled";
|
|
358
359
|
}>;
|
|
359
360
|
retryContext: z.ZodObject<{
|
|
@@ -361,8 +362,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
361
362
|
next: z.ZodOptional<z.ZodObject<{
|
|
362
363
|
attemptId: PublicIdSchema;
|
|
363
364
|
status: z.ZodEnum<{
|
|
364
|
-
failed: "failed";
|
|
365
365
|
passed: "passed";
|
|
366
|
+
failed: "failed";
|
|
366
367
|
canceled: "canceled";
|
|
367
368
|
skipped: "skipped";
|
|
368
369
|
aborted: "aborted";
|
|
@@ -371,8 +372,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
371
372
|
previous: z.ZodOptional<z.ZodObject<{
|
|
372
373
|
attemptId: PublicIdSchema;
|
|
373
374
|
status: z.ZodEnum<{
|
|
374
|
-
failed: "failed";
|
|
375
375
|
passed: "passed";
|
|
376
|
+
failed: "failed";
|
|
376
377
|
canceled: "canceled";
|
|
377
378
|
skipped: "skipped";
|
|
378
379
|
aborted: "aborted";
|
|
@@ -382,10 +383,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
382
383
|
}, z.core.$strip>;
|
|
383
384
|
runId: RunId;
|
|
384
385
|
runStatus: z.ZodEnum<{
|
|
386
|
+
passed: "passed";
|
|
385
387
|
failed: "failed";
|
|
386
388
|
queued: "queued";
|
|
387
389
|
running: "running";
|
|
388
|
-
passed: "passed";
|
|
389
390
|
canceled: "canceled";
|
|
390
391
|
superseded: "superseded";
|
|
391
392
|
}>;
|
|
@@ -1308,6 +1309,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1308
1309
|
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1309
1310
|
variablesUrl: z.ZodOptional<z.ZodURL>;
|
|
1310
1311
|
url: z.ZodURL;
|
|
1312
|
+
flowCount: z.ZodOptional<z.ZodNumber>;
|
|
1313
|
+
testCount: z.ZodOptional<z.ZodNumber>;
|
|
1311
1314
|
}, z.core.$strip>>;
|
|
1312
1315
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1313
1316
|
}, z.core.$strip>;
|
|
@@ -1438,8 +1441,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1438
1441
|
targetCommitHash: z.ZodString;
|
|
1439
1442
|
}, z.core.$strip>>;
|
|
1440
1443
|
createdAt: z.ZodISODateTime;
|
|
1444
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1445
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
1446
|
+
candidate: z.ZodEnum<{
|
|
1447
|
+
combined: "combined";
|
|
1448
|
+
head: "head";
|
|
1449
|
+
base: "base";
|
|
1450
|
+
}>;
|
|
1451
|
+
outcome: z.ZodEnum<{
|
|
1452
|
+
passed: "passed";
|
|
1453
|
+
failed: "failed";
|
|
1454
|
+
inconclusive: "inconclusive";
|
|
1455
|
+
}>;
|
|
1456
|
+
runId: RunId;
|
|
1457
|
+
}, z.core.$strip>>;
|
|
1458
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
1459
|
+
combined: "combined";
|
|
1460
|
+
head: "head";
|
|
1461
|
+
base: "base";
|
|
1462
|
+
}>>;
|
|
1463
|
+
path: z.ZodString;
|
|
1464
|
+
reason: z.ZodString;
|
|
1465
|
+
sourceCommitHash: z.ZodString;
|
|
1466
|
+
targetCommitHash: z.ZodString;
|
|
1467
|
+
type: z.ZodEnum<{
|
|
1468
|
+
"picked-by-run": "picked-by-run";
|
|
1469
|
+
combined: "combined";
|
|
1470
|
+
"kept-more-checks": "kept-more-checks";
|
|
1471
|
+
"needs-person": "needs-person";
|
|
1472
|
+
}>;
|
|
1473
|
+
}, z.core.$strip>>>;
|
|
1441
1474
|
headEnvironmentId: EnvironmentId;
|
|
1442
1475
|
id: PromotionId;
|
|
1476
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
1477
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1478
|
+
path: z.ZodString;
|
|
1479
|
+
}, z.core.$strip>>>;
|
|
1480
|
+
reason: z.ZodEnum<{
|
|
1481
|
+
"undecided-paths": "undecided-paths";
|
|
1482
|
+
"run-limit-reached": "run-limit-reached";
|
|
1483
|
+
"flows-undetermined": "flows-undetermined";
|
|
1484
|
+
"agent-stopped": "agent-stopped";
|
|
1485
|
+
"agent-failed": "agent-failed";
|
|
1486
|
+
"agent-not-started": "agent-not-started";
|
|
1487
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
1488
|
+
}>;
|
|
1489
|
+
}, z.core.$strip>>;
|
|
1443
1490
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
1444
1491
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1445
1492
|
status: z.ZodEnum<{
|
|
@@ -1455,6 +1502,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1455
1502
|
runId: RunId;
|
|
1456
1503
|
runMode: z.ZodEnum<{
|
|
1457
1504
|
"confirm-after": "confirm-after";
|
|
1505
|
+
"choose-version": "choose-version";
|
|
1458
1506
|
}>;
|
|
1459
1507
|
sourceCommitHash: z.ZodString;
|
|
1460
1508
|
targetCommitHash: z.ZodString;
|
|
@@ -1712,10 +1760,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1712
1760
|
passedAfterRetry: z.ZodBoolean;
|
|
1713
1761
|
runId: RunId;
|
|
1714
1762
|
status: z.ZodEnum<{
|
|
1763
|
+
passed: "passed";
|
|
1715
1764
|
failed: "failed";
|
|
1716
1765
|
queued: "queued";
|
|
1717
1766
|
running: "running";
|
|
1718
|
-
passed: "passed";
|
|
1719
1767
|
canceled: "canceled";
|
|
1720
1768
|
}>;
|
|
1721
1769
|
url: z.ZodURL;
|
|
@@ -1953,10 +2001,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1953
2001
|
subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1954
2002
|
sessionId: ChatSessionId;
|
|
1955
2003
|
status: z.ZodEnum<{
|
|
2004
|
+
failed: "failed";
|
|
1956
2005
|
working: "working";
|
|
1957
2006
|
"waiting-for-you": "waiting-for-you";
|
|
1958
2007
|
completed: "completed";
|
|
1959
|
-
failed: "failed";
|
|
1960
2008
|
cancelled: "cancelled";
|
|
1961
2009
|
}>;
|
|
1962
2010
|
}, z.core.$strip>>>;
|
|
@@ -2330,80 +2378,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2330
2378
|
}, z.core.$strip>;
|
|
2331
2379
|
}, z.core.$strip>;
|
|
2332
2380
|
};
|
|
2333
|
-
decideSuggestion: {
|
|
2334
|
-
readonly annotationJustifications: {
|
|
2335
|
-
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
2336
|
-
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
2337
|
-
readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
|
|
2338
|
-
};
|
|
2339
|
-
readonly annotations: {
|
|
2340
|
-
readonly destructiveHint: false;
|
|
2341
|
-
readonly openWorldHint: true;
|
|
2342
|
-
readonly readOnlyHint: false;
|
|
2343
|
-
};
|
|
2344
|
-
readonly description: string;
|
|
2345
|
-
readonly input: z.ZodObject<{
|
|
2346
|
-
decision: z.ZodEnum<{
|
|
2347
|
-
add: "add";
|
|
2348
|
-
report: "report";
|
|
2349
|
-
skip: "skip";
|
|
2350
|
-
undo: "undo";
|
|
2351
|
-
activate: "activate";
|
|
2352
|
-
}>;
|
|
2353
|
-
issueId: IssueId;
|
|
2354
|
-
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
2355
|
-
"not-worth-testing": "not-worth-testing";
|
|
2356
|
-
"already-covered": "already-covered";
|
|
2357
|
-
"feature-removed": "feature-removed";
|
|
2358
|
-
}>>;
|
|
2359
|
-
}, z.core.$strip>;
|
|
2360
|
-
readonly kind: "write";
|
|
2361
|
-
readonly name: "issue.decideSuggestion";
|
|
2362
|
-
readonly output: z.ZodObject<{
|
|
2363
|
-
issue: z.ZodObject<{
|
|
2364
|
-
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2365
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
2366
|
-
description: z.ZodString;
|
|
2367
|
-
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2368
|
-
fileId: z.ZodString;
|
|
2369
|
-
name: z.ZodString;
|
|
2370
|
-
sizeBytes: z.ZodNumber;
|
|
2371
|
-
}, z.core.$strip>>>;
|
|
2372
|
-
issueId: IssueId;
|
|
2373
|
-
name: z.ZodString;
|
|
2374
|
-
number: z.ZodNumber;
|
|
2375
|
-
priority: z.ZodEnum<{
|
|
2376
|
-
unprioritized: "unprioritized";
|
|
2377
|
-
low: "low";
|
|
2378
|
-
medium: "medium";
|
|
2379
|
-
high: "high";
|
|
2380
|
-
urgent: "urgent";
|
|
2381
|
-
}>;
|
|
2382
|
-
reproductions: z.ZodArray<z.ZodObject<{
|
|
2383
|
-
environmentId: EnvironmentId;
|
|
2384
|
-
firstReproducedInRunId: RunId;
|
|
2385
|
-
flowId: FlowId;
|
|
2386
|
-
isActive: z.ZodBoolean;
|
|
2387
|
-
lastReproducedInRunId: RunId;
|
|
2388
|
-
}, z.core.$strip>>;
|
|
2389
|
-
status: z.ZodEnum<{
|
|
2390
|
-
pending: "pending";
|
|
2391
|
-
canceled: "canceled";
|
|
2392
|
-
backlog: "backlog";
|
|
2393
|
-
inProgress: "inProgress";
|
|
2394
|
-
paused: "paused";
|
|
2395
|
-
resolved: "resolved";
|
|
2396
|
-
archived: "archived";
|
|
2397
|
-
}>;
|
|
2398
|
-
type: z.ZodEnum<{
|
|
2399
|
-
bug: "bug";
|
|
2400
|
-
maintenance: "maintenance";
|
|
2401
|
-
coverageRequest: "coverageRequest";
|
|
2402
|
-
}>;
|
|
2403
|
-
url: z.ZodURL;
|
|
2404
|
-
}, z.core.$strip>;
|
|
2405
|
-
}, z.core.$strip>;
|
|
2406
|
-
};
|
|
2407
2381
|
find: {
|
|
2408
2382
|
readonly annotationJustifications: {
|
|
2409
2383
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
@@ -2997,8 +2971,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2997
2971
|
readonly output: z.ZodObject<{
|
|
2998
2972
|
exportFailureMessage: z.ZodOptional<z.ZodString>;
|
|
2999
2973
|
exportStatus: z.ZodEnum<{
|
|
3000
|
-
pending: "pending";
|
|
3001
2974
|
failed: "failed";
|
|
2975
|
+
pending: "pending";
|
|
3002
2976
|
ready: "ready";
|
|
3003
2977
|
"not-requested": "not-requested";
|
|
3004
2978
|
}>;
|
|
@@ -3055,8 +3029,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3055
3029
|
targetCommitHash: z.ZodString;
|
|
3056
3030
|
}, z.core.$strip>>;
|
|
3057
3031
|
createdAt: z.ZodISODateTime;
|
|
3032
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3033
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
3034
|
+
candidate: z.ZodEnum<{
|
|
3035
|
+
combined: "combined";
|
|
3036
|
+
head: "head";
|
|
3037
|
+
base: "base";
|
|
3038
|
+
}>;
|
|
3039
|
+
outcome: z.ZodEnum<{
|
|
3040
|
+
passed: "passed";
|
|
3041
|
+
failed: "failed";
|
|
3042
|
+
inconclusive: "inconclusive";
|
|
3043
|
+
}>;
|
|
3044
|
+
runId: RunId;
|
|
3045
|
+
}, z.core.$strip>>;
|
|
3046
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3047
|
+
combined: "combined";
|
|
3048
|
+
head: "head";
|
|
3049
|
+
base: "base";
|
|
3050
|
+
}>>;
|
|
3051
|
+
path: z.ZodString;
|
|
3052
|
+
reason: z.ZodString;
|
|
3053
|
+
sourceCommitHash: z.ZodString;
|
|
3054
|
+
targetCommitHash: z.ZodString;
|
|
3055
|
+
type: z.ZodEnum<{
|
|
3056
|
+
"picked-by-run": "picked-by-run";
|
|
3057
|
+
combined: "combined";
|
|
3058
|
+
"kept-more-checks": "kept-more-checks";
|
|
3059
|
+
"needs-person": "needs-person";
|
|
3060
|
+
}>;
|
|
3061
|
+
}, z.core.$strip>>>;
|
|
3058
3062
|
headEnvironmentId: EnvironmentId;
|
|
3059
3063
|
id: PromotionId;
|
|
3064
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3065
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3066
|
+
path: z.ZodString;
|
|
3067
|
+
}, z.core.$strip>>>;
|
|
3068
|
+
reason: z.ZodEnum<{
|
|
3069
|
+
"undecided-paths": "undecided-paths";
|
|
3070
|
+
"run-limit-reached": "run-limit-reached";
|
|
3071
|
+
"flows-undetermined": "flows-undetermined";
|
|
3072
|
+
"agent-stopped": "agent-stopped";
|
|
3073
|
+
"agent-failed": "agent-failed";
|
|
3074
|
+
"agent-not-started": "agent-not-started";
|
|
3075
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
3076
|
+
}>;
|
|
3077
|
+
}, z.core.$strip>>;
|
|
3060
3078
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
3061
3079
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3062
3080
|
status: z.ZodEnum<{
|
|
@@ -3072,6 +3090,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3072
3090
|
runId: RunId;
|
|
3073
3091
|
runMode: z.ZodEnum<{
|
|
3074
3092
|
"confirm-after": "confirm-after";
|
|
3093
|
+
"choose-version": "choose-version";
|
|
3075
3094
|
}>;
|
|
3076
3095
|
sourceCommitHash: z.ZodString;
|
|
3077
3096
|
targetCommitHash: z.ZodString;
|
|
@@ -3106,8 +3125,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3106
3125
|
targetCommitHash: z.ZodString;
|
|
3107
3126
|
}, z.core.$strip>>;
|
|
3108
3127
|
createdAt: z.ZodISODateTime;
|
|
3128
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3129
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
3130
|
+
candidate: z.ZodEnum<{
|
|
3131
|
+
combined: "combined";
|
|
3132
|
+
head: "head";
|
|
3133
|
+
base: "base";
|
|
3134
|
+
}>;
|
|
3135
|
+
outcome: z.ZodEnum<{
|
|
3136
|
+
passed: "passed";
|
|
3137
|
+
failed: "failed";
|
|
3138
|
+
inconclusive: "inconclusive";
|
|
3139
|
+
}>;
|
|
3140
|
+
runId: RunId;
|
|
3141
|
+
}, z.core.$strip>>;
|
|
3142
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3143
|
+
combined: "combined";
|
|
3144
|
+
head: "head";
|
|
3145
|
+
base: "base";
|
|
3146
|
+
}>>;
|
|
3147
|
+
path: z.ZodString;
|
|
3148
|
+
reason: z.ZodString;
|
|
3149
|
+
sourceCommitHash: z.ZodString;
|
|
3150
|
+
targetCommitHash: z.ZodString;
|
|
3151
|
+
type: z.ZodEnum<{
|
|
3152
|
+
"picked-by-run": "picked-by-run";
|
|
3153
|
+
combined: "combined";
|
|
3154
|
+
"kept-more-checks": "kept-more-checks";
|
|
3155
|
+
"needs-person": "needs-person";
|
|
3156
|
+
}>;
|
|
3157
|
+
}, z.core.$strip>>>;
|
|
3109
3158
|
headEnvironmentId: EnvironmentId;
|
|
3110
3159
|
id: PromotionId;
|
|
3160
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3161
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3162
|
+
path: z.ZodString;
|
|
3163
|
+
}, z.core.$strip>>>;
|
|
3164
|
+
reason: z.ZodEnum<{
|
|
3165
|
+
"undecided-paths": "undecided-paths";
|
|
3166
|
+
"run-limit-reached": "run-limit-reached";
|
|
3167
|
+
"flows-undetermined": "flows-undetermined";
|
|
3168
|
+
"agent-stopped": "agent-stopped";
|
|
3169
|
+
"agent-failed": "agent-failed";
|
|
3170
|
+
"agent-not-started": "agent-not-started";
|
|
3171
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
3172
|
+
}>;
|
|
3173
|
+
}, z.core.$strip>>;
|
|
3111
3174
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
3112
3175
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3113
3176
|
status: z.ZodEnum<{
|
|
@@ -3123,6 +3186,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3123
3186
|
runId: RunId;
|
|
3124
3187
|
runMode: z.ZodEnum<{
|
|
3125
3188
|
"confirm-after": "confirm-after";
|
|
3189
|
+
"choose-version": "choose-version";
|
|
3126
3190
|
}>;
|
|
3127
3191
|
sourceCommitHash: z.ZodString;
|
|
3128
3192
|
targetCommitHash: z.ZodString;
|
|
@@ -3131,27 +3195,62 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3131
3195
|
aiTaskSessionId: z.ZodOptional<ChatSessionId>;
|
|
3132
3196
|
}, z.core.$strip>;
|
|
3133
3197
|
};
|
|
3134
|
-
|
|
3198
|
+
reportDecision: {
|
|
3135
3199
|
readonly annotationJustifications: {
|
|
3136
|
-
readonly destructiveHint: "
|
|
3137
|
-
readonly openWorldHint: "Changes QA Wolf
|
|
3138
|
-
readonly readOnlyHint: "Records
|
|
3200
|
+
readonly destructiveHint: "Records a decision on the promotion and changes no flow code.";
|
|
3201
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
3202
|
+
readonly readOnlyHint: "Records how a conflicting path was settled.";
|
|
3139
3203
|
};
|
|
3140
3204
|
readonly annotations: {
|
|
3141
|
-
readonly destructiveHint:
|
|
3205
|
+
readonly destructiveHint: false;
|
|
3142
3206
|
readonly openWorldHint: false;
|
|
3143
3207
|
readonly readOnlyHint: false;
|
|
3144
3208
|
};
|
|
3145
|
-
readonly description: "
|
|
3209
|
+
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
|
|
3146
3210
|
readonly input: z.ZodObject<{
|
|
3147
|
-
|
|
3211
|
+
base: z.ZodOptional<z.ZodObject<{
|
|
3212
|
+
outcome: z.ZodEnum<{
|
|
3213
|
+
passed: "passed";
|
|
3214
|
+
failed: "failed";
|
|
3215
|
+
inconclusive: "inconclusive";
|
|
3216
|
+
}>;
|
|
3217
|
+
runId: RunId;
|
|
3218
|
+
}, z.core.$strip>>;
|
|
3219
|
+
combined: z.ZodOptional<z.ZodObject<{
|
|
3220
|
+
outcome: z.ZodEnum<{
|
|
3221
|
+
passed: "passed";
|
|
3222
|
+
failed: "failed";
|
|
3223
|
+
inconclusive: "inconclusive";
|
|
3224
|
+
}>;
|
|
3225
|
+
runId: RunId;
|
|
3226
|
+
}, z.core.$strip>>;
|
|
3227
|
+
decision: z.ZodEnum<{
|
|
3228
|
+
"picked-by-run": "picked-by-run";
|
|
3229
|
+
combined: "combined";
|
|
3230
|
+
"kept-more-checks": "kept-more-checks";
|
|
3231
|
+
"needs-person": "needs-person";
|
|
3232
|
+
}>;
|
|
3148
3233
|
expectedSourceCommitHash: z.ZodString;
|
|
3149
3234
|
expectedTargetCommitHash: z.ZodString;
|
|
3235
|
+
head: z.ZodOptional<z.ZodObject<{
|
|
3236
|
+
outcome: z.ZodEnum<{
|
|
3237
|
+
passed: "passed";
|
|
3238
|
+
failed: "failed";
|
|
3239
|
+
inconclusive: "inconclusive";
|
|
3240
|
+
}>;
|
|
3241
|
+
runId: RunId;
|
|
3242
|
+
}, z.core.$strip>>;
|
|
3243
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3244
|
+
combined: "combined";
|
|
3245
|
+
head: "head";
|
|
3246
|
+
base: "base";
|
|
3247
|
+
}>>;
|
|
3248
|
+
path: z.ZodString;
|
|
3150
3249
|
promotionId: PromotionId;
|
|
3151
|
-
|
|
3250
|
+
reason: z.ZodString;
|
|
3152
3251
|
}, z.core.$strip>;
|
|
3153
3252
|
readonly kind: "write";
|
|
3154
|
-
readonly name: "promotion.
|
|
3253
|
+
readonly name: "promotion.reportDecision";
|
|
3155
3254
|
readonly output: z.ZodObject<{
|
|
3156
3255
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
3157
3256
|
baseEnvironmentId: EnvironmentId;
|
|
@@ -3161,8 +3260,52 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3161
3260
|
targetCommitHash: z.ZodString;
|
|
3162
3261
|
}, z.core.$strip>>;
|
|
3163
3262
|
createdAt: z.ZodISODateTime;
|
|
3263
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3264
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
3265
|
+
candidate: z.ZodEnum<{
|
|
3266
|
+
combined: "combined";
|
|
3267
|
+
head: "head";
|
|
3268
|
+
base: "base";
|
|
3269
|
+
}>;
|
|
3270
|
+
outcome: z.ZodEnum<{
|
|
3271
|
+
passed: "passed";
|
|
3272
|
+
failed: "failed";
|
|
3273
|
+
inconclusive: "inconclusive";
|
|
3274
|
+
}>;
|
|
3275
|
+
runId: RunId;
|
|
3276
|
+
}, z.core.$strip>>;
|
|
3277
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3278
|
+
combined: "combined";
|
|
3279
|
+
head: "head";
|
|
3280
|
+
base: "base";
|
|
3281
|
+
}>>;
|
|
3282
|
+
path: z.ZodString;
|
|
3283
|
+
reason: z.ZodString;
|
|
3284
|
+
sourceCommitHash: z.ZodString;
|
|
3285
|
+
targetCommitHash: z.ZodString;
|
|
3286
|
+
type: z.ZodEnum<{
|
|
3287
|
+
"picked-by-run": "picked-by-run";
|
|
3288
|
+
combined: "combined";
|
|
3289
|
+
"kept-more-checks": "kept-more-checks";
|
|
3290
|
+
"needs-person": "needs-person";
|
|
3291
|
+
}>;
|
|
3292
|
+
}, z.core.$strip>>>;
|
|
3164
3293
|
headEnvironmentId: EnvironmentId;
|
|
3165
3294
|
id: PromotionId;
|
|
3295
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3296
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3297
|
+
path: z.ZodString;
|
|
3298
|
+
}, z.core.$strip>>>;
|
|
3299
|
+
reason: z.ZodEnum<{
|
|
3300
|
+
"undecided-paths": "undecided-paths";
|
|
3301
|
+
"run-limit-reached": "run-limit-reached";
|
|
3302
|
+
"flows-undetermined": "flows-undetermined";
|
|
3303
|
+
"agent-stopped": "agent-stopped";
|
|
3304
|
+
"agent-failed": "agent-failed";
|
|
3305
|
+
"agent-not-started": "agent-not-started";
|
|
3306
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
3307
|
+
}>;
|
|
3308
|
+
}, z.core.$strip>>;
|
|
3166
3309
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
3167
3310
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3168
3311
|
status: z.ZodEnum<{
|
|
@@ -3178,6 +3321,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3178
3321
|
runId: RunId;
|
|
3179
3322
|
runMode: z.ZodEnum<{
|
|
3180
3323
|
"confirm-after": "confirm-after";
|
|
3324
|
+
"choose-version": "choose-version";
|
|
3181
3325
|
}>;
|
|
3182
3326
|
sourceCommitHash: z.ZodString;
|
|
3183
3327
|
targetCommitHash: z.ZodString;
|
|
@@ -3185,54 +3329,153 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3185
3329
|
url: z.ZodURL;
|
|
3186
3330
|
}, z.core.$strip>;
|
|
3187
3331
|
};
|
|
3188
|
-
|
|
3189
|
-
run: {
|
|
3190
|
-
acceptScreenshotBaseline: {
|
|
3332
|
+
resolve: {
|
|
3191
3333
|
readonly annotationJustifications: {
|
|
3192
|
-
readonly destructiveHint: "
|
|
3193
|
-
readonly openWorldHint: "Changes
|
|
3194
|
-
readonly readOnlyHint: "
|
|
3334
|
+
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
3335
|
+
readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
|
|
3336
|
+
readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
|
|
3195
3337
|
};
|
|
3196
3338
|
readonly annotations: {
|
|
3197
3339
|
readonly destructiveHint: true;
|
|
3198
3340
|
readonly openWorldHint: false;
|
|
3199
3341
|
readonly readOnlyHint: false;
|
|
3200
3342
|
};
|
|
3201
|
-
readonly description:
|
|
3343
|
+
readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
|
|
3202
3344
|
readonly input: z.ZodObject<{
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3345
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3346
|
+
expectedSourceCommitHash: z.ZodString;
|
|
3347
|
+
expectedTargetCommitHash: z.ZodString;
|
|
3348
|
+
promotionId: PromotionId;
|
|
3349
|
+
writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3206
3350
|
}, z.core.$strip>;
|
|
3207
3351
|
readonly kind: "write";
|
|
3208
|
-
readonly name: "
|
|
3209
|
-
readonly output: z.
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3352
|
+
readonly name: "promotion.resolve";
|
|
3353
|
+
readonly output: z.ZodObject<{
|
|
3354
|
+
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
3355
|
+
baseEnvironmentId: EnvironmentId;
|
|
3356
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
3357
|
+
paths: z.ZodArray<z.ZodString>;
|
|
3358
|
+
sourceCommitHash: z.ZodString;
|
|
3359
|
+
targetCommitHash: z.ZodString;
|
|
3360
|
+
}, z.core.$strip>>;
|
|
3361
|
+
createdAt: z.ZodISODateTime;
|
|
3362
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3363
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
3364
|
+
candidate: z.ZodEnum<{
|
|
3365
|
+
combined: "combined";
|
|
3366
|
+
head: "head";
|
|
3367
|
+
base: "base";
|
|
3368
|
+
}>;
|
|
3369
|
+
outcome: z.ZodEnum<{
|
|
3370
|
+
passed: "passed";
|
|
3371
|
+
failed: "failed";
|
|
3372
|
+
inconclusive: "inconclusive";
|
|
3373
|
+
}>;
|
|
3374
|
+
runId: RunId;
|
|
3375
|
+
}, z.core.$strip>>;
|
|
3376
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3377
|
+
combined: "combined";
|
|
3378
|
+
head: "head";
|
|
3379
|
+
base: "base";
|
|
3380
|
+
}>>;
|
|
3381
|
+
path: z.ZodString;
|
|
3382
|
+
reason: z.ZodString;
|
|
3383
|
+
sourceCommitHash: z.ZodString;
|
|
3384
|
+
targetCommitHash: z.ZodString;
|
|
3385
|
+
type: z.ZodEnum<{
|
|
3386
|
+
"picked-by-run": "picked-by-run";
|
|
3387
|
+
combined: "combined";
|
|
3388
|
+
"kept-more-checks": "kept-more-checks";
|
|
3389
|
+
"needs-person": "needs-person";
|
|
3390
|
+
}>;
|
|
3391
|
+
}, z.core.$strip>>>;
|
|
3392
|
+
headEnvironmentId: EnvironmentId;
|
|
3393
|
+
id: PromotionId;
|
|
3394
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3395
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3396
|
+
path: z.ZodString;
|
|
3397
|
+
}, z.core.$strip>>>;
|
|
3398
|
+
reason: z.ZodEnum<{
|
|
3399
|
+
"undecided-paths": "undecided-paths";
|
|
3400
|
+
"run-limit-reached": "run-limit-reached";
|
|
3401
|
+
"flows-undetermined": "flows-undetermined";
|
|
3402
|
+
"agent-stopped": "agent-stopped";
|
|
3403
|
+
"agent-failed": "agent-failed";
|
|
3404
|
+
"agent-not-started": "agent-not-started";
|
|
3405
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
3406
|
+
}>;
|
|
3407
|
+
}, z.core.$strip>>;
|
|
3408
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
3409
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3410
|
+
status: z.ZodEnum<{
|
|
3411
|
+
pending: "pending";
|
|
3412
|
+
conflicted: "conflicted";
|
|
3413
|
+
resolving: "resolving";
|
|
3414
|
+
promoted: "promoted";
|
|
3415
|
+
"no-changes": "no-changes";
|
|
3416
|
+
abandoned: "abandoned";
|
|
3417
|
+
}>;
|
|
3418
|
+
validationRuns: z.ZodArray<z.ZodObject<{
|
|
3419
|
+
aiTaskId: AiTaskId;
|
|
3420
|
+
runId: RunId;
|
|
3421
|
+
runMode: z.ZodEnum<{
|
|
3422
|
+
"confirm-after": "confirm-after";
|
|
3423
|
+
"choose-version": "choose-version";
|
|
3424
|
+
}>;
|
|
3425
|
+
sourceCommitHash: z.ZodString;
|
|
3426
|
+
targetCommitHash: z.ZodString;
|
|
3427
|
+
}, z.core.$strip>>;
|
|
3428
|
+
url: z.ZodURL;
|
|
3429
|
+
}, z.core.$strip>;
|
|
3430
|
+
};
|
|
3431
|
+
};
|
|
3432
|
+
run: {
|
|
3433
|
+
acceptScreenshotBaseline: {
|
|
3434
|
+
readonly annotationJustifications: {
|
|
3435
|
+
readonly destructiveHint: "Replaces the workspace's screenshot baseline, which changes what every later run compares with.";
|
|
3436
|
+
readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
|
|
3437
|
+
readonly readOnlyHint: "Makes the new screenshot of a failed comparison the baseline.";
|
|
3438
|
+
};
|
|
3439
|
+
readonly annotations: {
|
|
3440
|
+
readonly destructiveHint: true;
|
|
3441
|
+
readonly openWorldHint: false;
|
|
3442
|
+
readonly readOnlyHint: false;
|
|
3443
|
+
};
|
|
3444
|
+
readonly description: string;
|
|
3445
|
+
readonly input: z.ZodObject<{
|
|
3446
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
3447
|
+
comparisonId: z.ZodString;
|
|
3448
|
+
runId: RunId;
|
|
3449
|
+
}, z.core.$strip>;
|
|
3450
|
+
readonly kind: "write";
|
|
3451
|
+
readonly name: "run.acceptScreenshotBaseline";
|
|
3452
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3453
|
+
baselineChangeId: z.ZodString;
|
|
3454
|
+
name: z.ZodString;
|
|
3455
|
+
outcome: z.ZodLiteral<"accepted">;
|
|
3456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3457
|
+
outcome: z.ZodLiteral<"baseline-changed">;
|
|
3458
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3459
|
+
outcome: z.ZodLiteral<"needs-approval">;
|
|
3460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3461
|
+
outcome: z.ZodLiteral<"not-investigation-session">;
|
|
3462
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3463
|
+
outcome: z.ZodLiteral<"waits-for-merge">;
|
|
3464
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3465
|
+
outcome: z.ZodLiteral<"nothing-to-accept">;
|
|
3466
|
+
}, z.core.$strip>], "outcome">;
|
|
3467
|
+
};
|
|
3468
|
+
create: {
|
|
3469
|
+
readonly annotationJustifications: {
|
|
3470
|
+
readonly destructiveHint: "Test code can overwrite or delete application data.";
|
|
3471
|
+
readonly openWorldHint: "Test execution can submit forms or change the application under test and its connected services.";
|
|
3472
|
+
readonly readOnlyHint: "Creates a run and enqueues execution of selected flows.";
|
|
3473
|
+
};
|
|
3474
|
+
readonly annotations: {
|
|
3475
|
+
readonly destructiveHint: true;
|
|
3476
|
+
readonly openWorldHint: true;
|
|
3477
|
+
readonly readOnlyHint: false;
|
|
3478
|
+
};
|
|
3236
3479
|
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
3237
3480
|
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
3238
3481
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
@@ -3246,6 +3489,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3246
3489
|
repository: z.ZodOptional<z.ZodString>;
|
|
3247
3490
|
resolutionRunMode: z.ZodOptional<z.ZodEnum<{
|
|
3248
3491
|
"confirm-after": "confirm-after";
|
|
3492
|
+
"choose-version": "choose-version";
|
|
3249
3493
|
}>>;
|
|
3250
3494
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
3251
3495
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3375,10 +3619,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3375
3619
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
3376
3620
|
runId: RunId;
|
|
3377
3621
|
status: z.ZodEnum<{
|
|
3622
|
+
passed: "passed";
|
|
3378
3623
|
failed: "failed";
|
|
3379
3624
|
queued: "queued";
|
|
3380
3625
|
running: "running";
|
|
3381
|
-
passed: "passed";
|
|
3382
3626
|
canceled: "canceled";
|
|
3383
3627
|
superseded: "superseded";
|
|
3384
3628
|
}>;
|
|
@@ -3404,10 +3648,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3404
3648
|
readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
|
|
3405
3649
|
readonly input: z.ZodObject<{
|
|
3406
3650
|
flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3651
|
+
passed: "passed";
|
|
3407
3652
|
failed: "failed";
|
|
3408
3653
|
queued: "queued";
|
|
3409
3654
|
running: "running";
|
|
3410
|
-
passed: "passed";
|
|
3411
3655
|
canceled: "canceled";
|
|
3412
3656
|
}>>>;
|
|
3413
3657
|
runId: RunId;
|
|
@@ -3557,9 +3801,9 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3557
3801
|
flowId: FlowId;
|
|
3558
3802
|
name: z.ZodString;
|
|
3559
3803
|
status: z.ZodEnum<{
|
|
3804
|
+
passed: "passed";
|
|
3560
3805
|
queued: "queued";
|
|
3561
3806
|
running: "running";
|
|
3562
|
-
passed: "passed";
|
|
3563
3807
|
canceled: "canceled";
|
|
3564
3808
|
}>;
|
|
3565
3809
|
}, z.core.$strip>], "status">>;
|
|
@@ -3592,10 +3836,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3592
3836
|
}, z.core.$strip>;
|
|
3593
3837
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
3594
3838
|
status: z.ZodEnum<{
|
|
3839
|
+
passed: "passed";
|
|
3595
3840
|
failed: "failed";
|
|
3596
3841
|
queued: "queued";
|
|
3597
3842
|
running: "running";
|
|
3598
|
-
passed: "passed";
|
|
3599
3843
|
canceled: "canceled";
|
|
3600
3844
|
superseded: "superseded";
|
|
3601
3845
|
}>;
|
|
@@ -4911,6 +5155,238 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4911
5155
|
}, z.core.$strip>;
|
|
4912
5156
|
};
|
|
4913
5157
|
};
|
|
5158
|
+
suggestion: {
|
|
5159
|
+
decide: {
|
|
5160
|
+
readonly annotationJustifications: {
|
|
5161
|
+
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
5162
|
+
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
5163
|
+
readonly readOnlyHint: "Records a decision on a suggestion and changes its linked issue's status.";
|
|
5164
|
+
};
|
|
5165
|
+
readonly annotations: {
|
|
5166
|
+
readonly destructiveHint: false;
|
|
5167
|
+
readonly openWorldHint: true;
|
|
5168
|
+
readonly readOnlyHint: false;
|
|
5169
|
+
};
|
|
5170
|
+
readonly description: string;
|
|
5171
|
+
readonly input: z.ZodObject<{
|
|
5172
|
+
decision: z.ZodEnum<{
|
|
5173
|
+
add: "add";
|
|
5174
|
+
report: "report";
|
|
5175
|
+
skip: "skip";
|
|
5176
|
+
undo: "undo";
|
|
5177
|
+
activate: "activate";
|
|
5178
|
+
}>;
|
|
5179
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
5180
|
+
"not-worth-testing": "not-worth-testing";
|
|
5181
|
+
"already-covered": "already-covered";
|
|
5182
|
+
"feature-removed": "feature-removed";
|
|
5183
|
+
}>>;
|
|
5184
|
+
suggestionId: PublicIdSchema;
|
|
5185
|
+
}, z.core.$strip>;
|
|
5186
|
+
readonly kind: "write";
|
|
5187
|
+
readonly name: "suggestion.decide";
|
|
5188
|
+
readonly output: z.ZodObject<{
|
|
5189
|
+
suggestion: z.ZodObject<{
|
|
5190
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5191
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
5192
|
+
add: "add";
|
|
5193
|
+
report: "report";
|
|
5194
|
+
skip: "skip";
|
|
5195
|
+
undo: "undo";
|
|
5196
|
+
activate: "activate";
|
|
5197
|
+
}>>;
|
|
5198
|
+
environmentId: EnvironmentId;
|
|
5199
|
+
environmentName: z.ZodString;
|
|
5200
|
+
flow: z.ZodObject<{
|
|
5201
|
+
flowId: z.ZodOptional<FlowId>;
|
|
5202
|
+
path: z.ZodString;
|
|
5203
|
+
}, z.core.$strip>;
|
|
5204
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
5205
|
+
"path-taken": "path-taken";
|
|
5206
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
5207
|
+
"merge-conflicted": "merge-conflicted";
|
|
5208
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
5209
|
+
}>>;
|
|
5210
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
5211
|
+
issueId: IssueId;
|
|
5212
|
+
type: z.ZodEnum<{
|
|
5213
|
+
bug: "bug";
|
|
5214
|
+
coverageRequest: "coverageRequest";
|
|
5215
|
+
}>;
|
|
5216
|
+
}, z.core.$strip>>;
|
|
5217
|
+
kind: z.ZodEnum<{
|
|
5218
|
+
"new-flow": "new-flow";
|
|
5219
|
+
"potential-bug": "potential-bug";
|
|
5220
|
+
}>;
|
|
5221
|
+
location: z.ZodString;
|
|
5222
|
+
reason: z.ZodString;
|
|
5223
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
5224
|
+
"not-worth-testing": "not-worth-testing";
|
|
5225
|
+
"already-covered": "already-covered";
|
|
5226
|
+
"feature-removed": "feature-removed";
|
|
5227
|
+
}>>;
|
|
5228
|
+
state: z.ZodEnum<{
|
|
5229
|
+
skipped: "skipped";
|
|
5230
|
+
accepted: "accepted";
|
|
5231
|
+
waiting: "waiting";
|
|
5232
|
+
expired: "expired";
|
|
5233
|
+
}>;
|
|
5234
|
+
suggestedAt: z.ZodISODateTime;
|
|
5235
|
+
suggestionId: PublicIdSchema;
|
|
5236
|
+
title: z.ZodString;
|
|
5237
|
+
url: z.ZodURL;
|
|
5238
|
+
}, z.core.$strip>;
|
|
5239
|
+
}, z.core.$strip>;
|
|
5240
|
+
};
|
|
5241
|
+
find: {
|
|
5242
|
+
readonly annotationJustifications: {
|
|
5243
|
+
readonly destructiveHint: "Does not decide or change any suggestion.";
|
|
5244
|
+
readonly openWorldHint: "Reads QA Wolf suggestion records without changing external systems.";
|
|
5245
|
+
readonly readOnlyHint: "Lists the workspace's coverage suggestions.";
|
|
5246
|
+
};
|
|
5247
|
+
readonly annotations: {
|
|
5248
|
+
readonly destructiveHint: false;
|
|
5249
|
+
readonly openWorldHint: false;
|
|
5250
|
+
readonly readOnlyHint: true;
|
|
5251
|
+
};
|
|
5252
|
+
readonly description: string;
|
|
5253
|
+
readonly input: z.ZodObject<{
|
|
5254
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5255
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5256
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
5257
|
+
skipped: "skipped";
|
|
5258
|
+
accepted: "accepted";
|
|
5259
|
+
waiting: "waiting";
|
|
5260
|
+
}>>;
|
|
5261
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
5262
|
+
}, z.core.$strip>;
|
|
5263
|
+
readonly kind: "read";
|
|
5264
|
+
readonly name: "suggestion.find";
|
|
5265
|
+
readonly output: z.ZodObject<{
|
|
5266
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
5267
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
5268
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5269
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
5270
|
+
add: "add";
|
|
5271
|
+
report: "report";
|
|
5272
|
+
skip: "skip";
|
|
5273
|
+
undo: "undo";
|
|
5274
|
+
activate: "activate";
|
|
5275
|
+
}>>;
|
|
5276
|
+
environmentId: EnvironmentId;
|
|
5277
|
+
environmentName: z.ZodString;
|
|
5278
|
+
flow: z.ZodObject<{
|
|
5279
|
+
flowId: z.ZodOptional<FlowId>;
|
|
5280
|
+
path: z.ZodString;
|
|
5281
|
+
}, z.core.$strip>;
|
|
5282
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
5283
|
+
"path-taken": "path-taken";
|
|
5284
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
5285
|
+
"merge-conflicted": "merge-conflicted";
|
|
5286
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
5287
|
+
}>>;
|
|
5288
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
5289
|
+
issueId: IssueId;
|
|
5290
|
+
type: z.ZodEnum<{
|
|
5291
|
+
bug: "bug";
|
|
5292
|
+
coverageRequest: "coverageRequest";
|
|
5293
|
+
}>;
|
|
5294
|
+
}, z.core.$strip>>;
|
|
5295
|
+
kind: z.ZodEnum<{
|
|
5296
|
+
"new-flow": "new-flow";
|
|
5297
|
+
"potential-bug": "potential-bug";
|
|
5298
|
+
}>;
|
|
5299
|
+
location: z.ZodString;
|
|
5300
|
+
reason: z.ZodString;
|
|
5301
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
5302
|
+
"not-worth-testing": "not-worth-testing";
|
|
5303
|
+
"already-covered": "already-covered";
|
|
5304
|
+
"feature-removed": "feature-removed";
|
|
5305
|
+
}>>;
|
|
5306
|
+
state: z.ZodEnum<{
|
|
5307
|
+
skipped: "skipped";
|
|
5308
|
+
accepted: "accepted";
|
|
5309
|
+
waiting: "waiting";
|
|
5310
|
+
expired: "expired";
|
|
5311
|
+
}>;
|
|
5312
|
+
suggestedAt: z.ZodISODateTime;
|
|
5313
|
+
suggestionId: PublicIdSchema;
|
|
5314
|
+
title: z.ZodString;
|
|
5315
|
+
url: z.ZodURL;
|
|
5316
|
+
}, z.core.$strip>>;
|
|
5317
|
+
}, z.core.$strip>;
|
|
5318
|
+
};
|
|
5319
|
+
get: {
|
|
5320
|
+
readonly annotationJustifications: {
|
|
5321
|
+
readonly destructiveHint: "Does not decide or change the suggestion.";
|
|
5322
|
+
readonly openWorldHint: "Reads a QA Wolf suggestion record without changing external systems.";
|
|
5323
|
+
readonly readOnlyHint: "Retrieves one coverage suggestion.";
|
|
5324
|
+
};
|
|
5325
|
+
readonly annotations: {
|
|
5326
|
+
readonly destructiveHint: false;
|
|
5327
|
+
readonly openWorldHint: false;
|
|
5328
|
+
readonly readOnlyHint: true;
|
|
5329
|
+
};
|
|
5330
|
+
readonly description: string;
|
|
5331
|
+
readonly input: z.ZodObject<{
|
|
5332
|
+
suggestionId: PublicIdSchema;
|
|
5333
|
+
}, z.core.$strip>;
|
|
5334
|
+
readonly kind: "read";
|
|
5335
|
+
readonly name: "suggestion.get";
|
|
5336
|
+
readonly output: z.ZodObject<{
|
|
5337
|
+
suggestion: z.ZodObject<{
|
|
5338
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5339
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
5340
|
+
add: "add";
|
|
5341
|
+
report: "report";
|
|
5342
|
+
skip: "skip";
|
|
5343
|
+
undo: "undo";
|
|
5344
|
+
activate: "activate";
|
|
5345
|
+
}>>;
|
|
5346
|
+
environmentId: EnvironmentId;
|
|
5347
|
+
environmentName: z.ZodString;
|
|
5348
|
+
flow: z.ZodObject<{
|
|
5349
|
+
flowId: z.ZodOptional<FlowId>;
|
|
5350
|
+
path: z.ZodString;
|
|
5351
|
+
}, z.core.$strip>;
|
|
5352
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
5353
|
+
"path-taken": "path-taken";
|
|
5354
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
5355
|
+
"merge-conflicted": "merge-conflicted";
|
|
5356
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
5357
|
+
}>>;
|
|
5358
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
5359
|
+
issueId: IssueId;
|
|
5360
|
+
type: z.ZodEnum<{
|
|
5361
|
+
bug: "bug";
|
|
5362
|
+
coverageRequest: "coverageRequest";
|
|
5363
|
+
}>;
|
|
5364
|
+
}, z.core.$strip>>;
|
|
5365
|
+
kind: z.ZodEnum<{
|
|
5366
|
+
"new-flow": "new-flow";
|
|
5367
|
+
"potential-bug": "potential-bug";
|
|
5368
|
+
}>;
|
|
5369
|
+
location: z.ZodString;
|
|
5370
|
+
reason: z.ZodString;
|
|
5371
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
5372
|
+
"not-worth-testing": "not-worth-testing";
|
|
5373
|
+
"already-covered": "already-covered";
|
|
5374
|
+
"feature-removed": "feature-removed";
|
|
5375
|
+
}>>;
|
|
5376
|
+
state: z.ZodEnum<{
|
|
5377
|
+
skipped: "skipped";
|
|
5378
|
+
accepted: "accepted";
|
|
5379
|
+
waiting: "waiting";
|
|
5380
|
+
expired: "expired";
|
|
5381
|
+
}>;
|
|
5382
|
+
suggestedAt: z.ZodISODateTime;
|
|
5383
|
+
suggestionId: PublicIdSchema;
|
|
5384
|
+
title: z.ZodString;
|
|
5385
|
+
url: z.ZodURL;
|
|
5386
|
+
}, z.core.$strip>;
|
|
5387
|
+
}, z.core.$strip>;
|
|
5388
|
+
};
|
|
5389
|
+
};
|
|
4914
5390
|
tag: {
|
|
4915
5391
|
create: {
|
|
4916
5392
|
readonly annotationJustifications: {
|
|
@@ -5792,10 +6268,10 @@ export declare const publicContractsV1: {
|
|
|
5792
6268
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
5793
6269
|
runId: PublicIdSchema;
|
|
5794
6270
|
status: z.ZodEnum<{
|
|
6271
|
+
passed: "passed";
|
|
5795
6272
|
failed: "failed";
|
|
5796
6273
|
queued: "queued";
|
|
5797
6274
|
running: "running";
|
|
5798
|
-
passed: "passed";
|
|
5799
6275
|
canceled: "canceled";
|
|
5800
6276
|
superseded: "superseded";
|
|
5801
6277
|
"not-found": "not-found";
|
|
@@ -5812,10 +6288,10 @@ export declare const publicContractsV1: {
|
|
|
5812
6288
|
}, z.core.$strip>>;
|
|
5813
6289
|
sessionId: PublicIdSchema;
|
|
5814
6290
|
status: z.ZodEnum<{
|
|
6291
|
+
failed: "failed";
|
|
5815
6292
|
working: "working";
|
|
5816
6293
|
"waiting-for-you": "waiting-for-you";
|
|
5817
6294
|
completed: "completed";
|
|
5818
|
-
failed: "failed";
|
|
5819
6295
|
cancelled: "cancelled";
|
|
5820
6296
|
"not-found": "not-found";
|
|
5821
6297
|
}>;
|
|
@@ -5858,10 +6334,10 @@ export declare const publicContractsV1: {
|
|
|
5858
6334
|
}, z.core.$strip>>;
|
|
5859
6335
|
sessionId: PublicIdSchema;
|
|
5860
6336
|
status: z.ZodEnum<{
|
|
6337
|
+
failed: "failed";
|
|
5861
6338
|
working: "working";
|
|
5862
6339
|
"waiting-for-you": "waiting-for-you";
|
|
5863
6340
|
completed: "completed";
|
|
5864
|
-
failed: "failed";
|
|
5865
6341
|
cancelled: "cancelled";
|
|
5866
6342
|
}>;
|
|
5867
6343
|
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5900,10 +6376,10 @@ export declare const publicContractsV1: {
|
|
|
5900
6376
|
readonly output: z.ZodObject<{
|
|
5901
6377
|
sessionId: PublicIdSchema;
|
|
5902
6378
|
status: z.ZodEnum<{
|
|
6379
|
+
failed: "failed";
|
|
5903
6380
|
working: "working";
|
|
5904
6381
|
"waiting-for-you": "waiting-for-you";
|
|
5905
6382
|
completed: "completed";
|
|
5906
|
-
failed: "failed";
|
|
5907
6383
|
cancelled: "cancelled";
|
|
5908
6384
|
}>;
|
|
5909
6385
|
url: z.ZodURL;
|
|
@@ -5931,10 +6407,10 @@ export declare const publicContractsV1: {
|
|
|
5931
6407
|
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5932
6408
|
flowId: PublicIdSchema;
|
|
5933
6409
|
flowStatus: z.ZodEnum<{
|
|
6410
|
+
passed: "passed";
|
|
5934
6411
|
failed: "failed";
|
|
5935
6412
|
queued: "queued";
|
|
5936
6413
|
running: "running";
|
|
5937
|
-
passed: "passed";
|
|
5938
6414
|
canceled: "canceled";
|
|
5939
6415
|
}>;
|
|
5940
6416
|
retryContext: z.ZodObject<{
|
|
@@ -5942,8 +6418,8 @@ export declare const publicContractsV1: {
|
|
|
5942
6418
|
next: z.ZodOptional<z.ZodObject<{
|
|
5943
6419
|
attemptId: PublicIdSchema;
|
|
5944
6420
|
status: z.ZodEnum<{
|
|
5945
|
-
failed: "failed";
|
|
5946
6421
|
passed: "passed";
|
|
6422
|
+
failed: "failed";
|
|
5947
6423
|
canceled: "canceled";
|
|
5948
6424
|
skipped: "skipped";
|
|
5949
6425
|
aborted: "aborted";
|
|
@@ -5952,8 +6428,8 @@ export declare const publicContractsV1: {
|
|
|
5952
6428
|
previous: z.ZodOptional<z.ZodObject<{
|
|
5953
6429
|
attemptId: PublicIdSchema;
|
|
5954
6430
|
status: z.ZodEnum<{
|
|
5955
|
-
failed: "failed";
|
|
5956
6431
|
passed: "passed";
|
|
6432
|
+
failed: "failed";
|
|
5957
6433
|
canceled: "canceled";
|
|
5958
6434
|
skipped: "skipped";
|
|
5959
6435
|
aborted: "aborted";
|
|
@@ -5963,10 +6439,10 @@ export declare const publicContractsV1: {
|
|
|
5963
6439
|
}, z.core.$strip>;
|
|
5964
6440
|
runId: PublicIdSchema;
|
|
5965
6441
|
runStatus: z.ZodEnum<{
|
|
6442
|
+
passed: "passed";
|
|
5966
6443
|
failed: "failed";
|
|
5967
6444
|
queued: "queued";
|
|
5968
6445
|
running: "running";
|
|
5969
|
-
passed: "passed";
|
|
5970
6446
|
canceled: "canceled";
|
|
5971
6447
|
superseded: "superseded";
|
|
5972
6448
|
}>;
|
|
@@ -5984,8 +6460,8 @@ export declare const publicContractsV1: {
|
|
|
5984
6460
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5985
6461
|
kind: z.ZodLiteral<"automated">;
|
|
5986
6462
|
status: z.ZodEnum<{
|
|
5987
|
-
failed: "failed";
|
|
5988
6463
|
passed: "passed";
|
|
6464
|
+
failed: "failed";
|
|
5989
6465
|
canceled: "canceled";
|
|
5990
6466
|
skipped: "skipped";
|
|
5991
6467
|
aborted: "aborted";
|
|
@@ -6015,10 +6491,10 @@ export declare const publicContractsV1: {
|
|
|
6015
6491
|
}, z.core.$strip>, z.ZodObject<{
|
|
6016
6492
|
flowId: PublicIdSchema;
|
|
6017
6493
|
flowStatus: z.ZodEnum<{
|
|
6494
|
+
passed: "passed";
|
|
6018
6495
|
failed: "failed";
|
|
6019
6496
|
queued: "queued";
|
|
6020
6497
|
running: "running";
|
|
6021
|
-
passed: "passed";
|
|
6022
6498
|
canceled: "canceled";
|
|
6023
6499
|
}>;
|
|
6024
6500
|
retryContext: z.ZodObject<{
|
|
@@ -6026,8 +6502,8 @@ export declare const publicContractsV1: {
|
|
|
6026
6502
|
next: z.ZodOptional<z.ZodObject<{
|
|
6027
6503
|
attemptId: PublicIdSchema;
|
|
6028
6504
|
status: z.ZodEnum<{
|
|
6029
|
-
failed: "failed";
|
|
6030
6505
|
passed: "passed";
|
|
6506
|
+
failed: "failed";
|
|
6031
6507
|
canceled: "canceled";
|
|
6032
6508
|
skipped: "skipped";
|
|
6033
6509
|
aborted: "aborted";
|
|
@@ -6036,8 +6512,8 @@ export declare const publicContractsV1: {
|
|
|
6036
6512
|
previous: z.ZodOptional<z.ZodObject<{
|
|
6037
6513
|
attemptId: PublicIdSchema;
|
|
6038
6514
|
status: z.ZodEnum<{
|
|
6039
|
-
failed: "failed";
|
|
6040
6515
|
passed: "passed";
|
|
6516
|
+
failed: "failed";
|
|
6041
6517
|
canceled: "canceled";
|
|
6042
6518
|
skipped: "skipped";
|
|
6043
6519
|
aborted: "aborted";
|
|
@@ -6047,10 +6523,10 @@ export declare const publicContractsV1: {
|
|
|
6047
6523
|
}, z.core.$strip>;
|
|
6048
6524
|
runId: PublicIdSchema;
|
|
6049
6525
|
runStatus: z.ZodEnum<{
|
|
6526
|
+
passed: "passed";
|
|
6050
6527
|
failed: "failed";
|
|
6051
6528
|
queued: "queued";
|
|
6052
6529
|
running: "running";
|
|
6053
|
-
passed: "passed";
|
|
6054
6530
|
canceled: "canceled";
|
|
6055
6531
|
superseded: "superseded";
|
|
6056
6532
|
}>;
|
|
@@ -6064,8 +6540,8 @@ export declare const publicContractsV1: {
|
|
|
6064
6540
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6065
6541
|
kind: z.ZodLiteral<"automated">;
|
|
6066
6542
|
status: z.ZodEnum<{
|
|
6067
|
-
failed: "failed";
|
|
6068
6543
|
passed: "passed";
|
|
6544
|
+
failed: "failed";
|
|
6069
6545
|
canceled: "canceled";
|
|
6070
6546
|
skipped: "skipped";
|
|
6071
6547
|
aborted: "aborted";
|
|
@@ -6095,10 +6571,10 @@ export declare const publicContractsV1: {
|
|
|
6095
6571
|
}, z.core.$strip>, z.ZodObject<{
|
|
6096
6572
|
flowId: PublicIdSchema;
|
|
6097
6573
|
flowStatus: z.ZodEnum<{
|
|
6574
|
+
passed: "passed";
|
|
6098
6575
|
failed: "failed";
|
|
6099
6576
|
queued: "queued";
|
|
6100
6577
|
running: "running";
|
|
6101
|
-
passed: "passed";
|
|
6102
6578
|
canceled: "canceled";
|
|
6103
6579
|
}>;
|
|
6104
6580
|
retryContext: z.ZodObject<{
|
|
@@ -6106,8 +6582,8 @@ export declare const publicContractsV1: {
|
|
|
6106
6582
|
next: z.ZodOptional<z.ZodObject<{
|
|
6107
6583
|
attemptId: PublicIdSchema;
|
|
6108
6584
|
status: z.ZodEnum<{
|
|
6109
|
-
failed: "failed";
|
|
6110
6585
|
passed: "passed";
|
|
6586
|
+
failed: "failed";
|
|
6111
6587
|
canceled: "canceled";
|
|
6112
6588
|
skipped: "skipped";
|
|
6113
6589
|
aborted: "aborted";
|
|
@@ -6116,8 +6592,8 @@ export declare const publicContractsV1: {
|
|
|
6116
6592
|
previous: z.ZodOptional<z.ZodObject<{
|
|
6117
6593
|
attemptId: PublicIdSchema;
|
|
6118
6594
|
status: z.ZodEnum<{
|
|
6119
|
-
failed: "failed";
|
|
6120
6595
|
passed: "passed";
|
|
6596
|
+
failed: "failed";
|
|
6121
6597
|
canceled: "canceled";
|
|
6122
6598
|
skipped: "skipped";
|
|
6123
6599
|
aborted: "aborted";
|
|
@@ -6127,10 +6603,10 @@ export declare const publicContractsV1: {
|
|
|
6127
6603
|
}, z.core.$strip>;
|
|
6128
6604
|
runId: PublicIdSchema;
|
|
6129
6605
|
runStatus: z.ZodEnum<{
|
|
6606
|
+
passed: "passed";
|
|
6130
6607
|
failed: "failed";
|
|
6131
6608
|
queued: "queued";
|
|
6132
6609
|
running: "running";
|
|
6133
|
-
passed: "passed";
|
|
6134
6610
|
canceled: "canceled";
|
|
6135
6611
|
superseded: "superseded";
|
|
6136
6612
|
}>;
|
|
@@ -7053,6 +7529,8 @@ export declare const publicContractsV1: {
|
|
|
7053
7529
|
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7054
7530
|
variablesUrl: z.ZodOptional<z.ZodURL>;
|
|
7055
7531
|
url: z.ZodURL;
|
|
7532
|
+
flowCount: z.ZodOptional<z.ZodNumber>;
|
|
7533
|
+
testCount: z.ZodOptional<z.ZodNumber>;
|
|
7056
7534
|
}, z.core.$strip>>;
|
|
7057
7535
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
7058
7536
|
}, z.core.$strip>;
|
|
@@ -7183,8 +7661,52 @@ export declare const publicContractsV1: {
|
|
|
7183
7661
|
targetCommitHash: z.ZodString;
|
|
7184
7662
|
}, z.core.$strip>>;
|
|
7185
7663
|
createdAt: z.ZodISODateTime;
|
|
7186
|
-
|
|
7187
|
-
|
|
7664
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7665
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
7666
|
+
candidate: z.ZodEnum<{
|
|
7667
|
+
combined: "combined";
|
|
7668
|
+
head: "head";
|
|
7669
|
+
base: "base";
|
|
7670
|
+
}>;
|
|
7671
|
+
outcome: z.ZodEnum<{
|
|
7672
|
+
passed: "passed";
|
|
7673
|
+
failed: "failed";
|
|
7674
|
+
inconclusive: "inconclusive";
|
|
7675
|
+
}>;
|
|
7676
|
+
runId: PublicIdSchema;
|
|
7677
|
+
}, z.core.$strip>>;
|
|
7678
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
7679
|
+
combined: "combined";
|
|
7680
|
+
head: "head";
|
|
7681
|
+
base: "base";
|
|
7682
|
+
}>>;
|
|
7683
|
+
path: z.ZodString;
|
|
7684
|
+
reason: z.ZodString;
|
|
7685
|
+
sourceCommitHash: z.ZodString;
|
|
7686
|
+
targetCommitHash: z.ZodString;
|
|
7687
|
+
type: z.ZodEnum<{
|
|
7688
|
+
"picked-by-run": "picked-by-run";
|
|
7689
|
+
combined: "combined";
|
|
7690
|
+
"kept-more-checks": "kept-more-checks";
|
|
7691
|
+
"needs-person": "needs-person";
|
|
7692
|
+
}>;
|
|
7693
|
+
}, z.core.$strip>>>;
|
|
7694
|
+
headEnvironmentId: PublicIdSchema;
|
|
7695
|
+
id: PublicIdSchema;
|
|
7696
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
7697
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7698
|
+
path: z.ZodString;
|
|
7699
|
+
}, z.core.$strip>>>;
|
|
7700
|
+
reason: z.ZodEnum<{
|
|
7701
|
+
"undecided-paths": "undecided-paths";
|
|
7702
|
+
"run-limit-reached": "run-limit-reached";
|
|
7703
|
+
"flows-undetermined": "flows-undetermined";
|
|
7704
|
+
"agent-stopped": "agent-stopped";
|
|
7705
|
+
"agent-failed": "agent-failed";
|
|
7706
|
+
"agent-not-started": "agent-not-started";
|
|
7707
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
7708
|
+
}>;
|
|
7709
|
+
}, z.core.$strip>>;
|
|
7188
7710
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
7189
7711
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7190
7712
|
status: z.ZodEnum<{
|
|
@@ -7200,6 +7722,7 @@ export declare const publicContractsV1: {
|
|
|
7200
7722
|
runId: PublicIdSchema;
|
|
7201
7723
|
runMode: z.ZodEnum<{
|
|
7202
7724
|
"confirm-after": "confirm-after";
|
|
7725
|
+
"choose-version": "choose-version";
|
|
7203
7726
|
}>;
|
|
7204
7727
|
sourceCommitHash: z.ZodString;
|
|
7205
7728
|
targetCommitHash: z.ZodString;
|
|
@@ -7457,10 +7980,10 @@ export declare const publicContractsV1: {
|
|
|
7457
7980
|
passedAfterRetry: z.ZodBoolean;
|
|
7458
7981
|
runId: PublicIdSchema;
|
|
7459
7982
|
status: z.ZodEnum<{
|
|
7983
|
+
passed: "passed";
|
|
7460
7984
|
failed: "failed";
|
|
7461
7985
|
queued: "queued";
|
|
7462
7986
|
running: "running";
|
|
7463
|
-
passed: "passed";
|
|
7464
7987
|
canceled: "canceled";
|
|
7465
7988
|
}>;
|
|
7466
7989
|
url: z.ZodURL;
|
|
@@ -7698,10 +8221,10 @@ export declare const publicContractsV1: {
|
|
|
7698
8221
|
subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7699
8222
|
sessionId: PublicIdSchema;
|
|
7700
8223
|
status: z.ZodEnum<{
|
|
8224
|
+
failed: "failed";
|
|
7701
8225
|
working: "working";
|
|
7702
8226
|
"waiting-for-you": "waiting-for-you";
|
|
7703
8227
|
completed: "completed";
|
|
7704
|
-
failed: "failed";
|
|
7705
8228
|
cancelled: "cancelled";
|
|
7706
8229
|
}>;
|
|
7707
8230
|
}, z.core.$strip>>>;
|
|
@@ -8075,80 +8598,6 @@ export declare const publicContractsV1: {
|
|
|
8075
8598
|
}, z.core.$strip>;
|
|
8076
8599
|
}, z.core.$strip>;
|
|
8077
8600
|
};
|
|
8078
|
-
decideSuggestion: {
|
|
8079
|
-
readonly annotationJustifications: {
|
|
8080
|
-
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
8081
|
-
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
8082
|
-
readonly readOnlyHint: "Records a decision on a suggestion and changes the issue's status.";
|
|
8083
|
-
};
|
|
8084
|
-
readonly annotations: {
|
|
8085
|
-
readonly destructiveHint: false;
|
|
8086
|
-
readonly openWorldHint: true;
|
|
8087
|
-
readonly readOnlyHint: false;
|
|
8088
|
-
};
|
|
8089
|
-
readonly description: string;
|
|
8090
|
-
readonly input: z.ZodObject<{
|
|
8091
|
-
decision: z.ZodEnum<{
|
|
8092
|
-
add: "add";
|
|
8093
|
-
report: "report";
|
|
8094
|
-
skip: "skip";
|
|
8095
|
-
undo: "undo";
|
|
8096
|
-
activate: "activate";
|
|
8097
|
-
}>;
|
|
8098
|
-
issueId: PublicIdSchema;
|
|
8099
|
-
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
8100
|
-
"not-worth-testing": "not-worth-testing";
|
|
8101
|
-
"already-covered": "already-covered";
|
|
8102
|
-
"feature-removed": "feature-removed";
|
|
8103
|
-
}>>;
|
|
8104
|
-
}, z.core.$strip>;
|
|
8105
|
-
readonly kind: "write";
|
|
8106
|
-
readonly name: "issue.decideSuggestion";
|
|
8107
|
-
readonly output: z.ZodObject<{
|
|
8108
|
-
issue: z.ZodObject<{
|
|
8109
|
-
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
8110
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
8111
|
-
description: z.ZodString;
|
|
8112
|
-
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8113
|
-
fileId: z.ZodString;
|
|
8114
|
-
name: z.ZodString;
|
|
8115
|
-
sizeBytes: z.ZodNumber;
|
|
8116
|
-
}, z.core.$strip>>>;
|
|
8117
|
-
issueId: PublicIdSchema;
|
|
8118
|
-
name: z.ZodString;
|
|
8119
|
-
number: z.ZodNumber;
|
|
8120
|
-
priority: z.ZodEnum<{
|
|
8121
|
-
unprioritized: "unprioritized";
|
|
8122
|
-
low: "low";
|
|
8123
|
-
medium: "medium";
|
|
8124
|
-
high: "high";
|
|
8125
|
-
urgent: "urgent";
|
|
8126
|
-
}>;
|
|
8127
|
-
reproductions: z.ZodArray<z.ZodObject<{
|
|
8128
|
-
environmentId: PublicIdSchema;
|
|
8129
|
-
firstReproducedInRunId: PublicIdSchema;
|
|
8130
|
-
flowId: PublicIdSchema;
|
|
8131
|
-
isActive: z.ZodBoolean;
|
|
8132
|
-
lastReproducedInRunId: PublicIdSchema;
|
|
8133
|
-
}, z.core.$strip>>;
|
|
8134
|
-
status: z.ZodEnum<{
|
|
8135
|
-
pending: "pending";
|
|
8136
|
-
canceled: "canceled";
|
|
8137
|
-
backlog: "backlog";
|
|
8138
|
-
inProgress: "inProgress";
|
|
8139
|
-
paused: "paused";
|
|
8140
|
-
resolved: "resolved";
|
|
8141
|
-
archived: "archived";
|
|
8142
|
-
}>;
|
|
8143
|
-
type: z.ZodEnum<{
|
|
8144
|
-
bug: "bug";
|
|
8145
|
-
maintenance: "maintenance";
|
|
8146
|
-
coverageRequest: "coverageRequest";
|
|
8147
|
-
}>;
|
|
8148
|
-
url: z.ZodURL;
|
|
8149
|
-
}, z.core.$strip>;
|
|
8150
|
-
}, z.core.$strip>;
|
|
8151
|
-
};
|
|
8152
8601
|
find: {
|
|
8153
8602
|
readonly annotationJustifications: {
|
|
8154
8603
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
@@ -8742,8 +9191,8 @@ export declare const publicContractsV1: {
|
|
|
8742
9191
|
readonly output: z.ZodObject<{
|
|
8743
9192
|
exportFailureMessage: z.ZodOptional<z.ZodString>;
|
|
8744
9193
|
exportStatus: z.ZodEnum<{
|
|
8745
|
-
pending: "pending";
|
|
8746
9194
|
failed: "failed";
|
|
9195
|
+
pending: "pending";
|
|
8747
9196
|
ready: "ready";
|
|
8748
9197
|
"not-requested": "not-requested";
|
|
8749
9198
|
}>;
|
|
@@ -8800,8 +9249,52 @@ export declare const publicContractsV1: {
|
|
|
8800
9249
|
targetCommitHash: z.ZodString;
|
|
8801
9250
|
}, z.core.$strip>>;
|
|
8802
9251
|
createdAt: z.ZodISODateTime;
|
|
9252
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9253
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
9254
|
+
candidate: z.ZodEnum<{
|
|
9255
|
+
combined: "combined";
|
|
9256
|
+
head: "head";
|
|
9257
|
+
base: "base";
|
|
9258
|
+
}>;
|
|
9259
|
+
outcome: z.ZodEnum<{
|
|
9260
|
+
passed: "passed";
|
|
9261
|
+
failed: "failed";
|
|
9262
|
+
inconclusive: "inconclusive";
|
|
9263
|
+
}>;
|
|
9264
|
+
runId: PublicIdSchema;
|
|
9265
|
+
}, z.core.$strip>>;
|
|
9266
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9267
|
+
combined: "combined";
|
|
9268
|
+
head: "head";
|
|
9269
|
+
base: "base";
|
|
9270
|
+
}>>;
|
|
9271
|
+
path: z.ZodString;
|
|
9272
|
+
reason: z.ZodString;
|
|
9273
|
+
sourceCommitHash: z.ZodString;
|
|
9274
|
+
targetCommitHash: z.ZodString;
|
|
9275
|
+
type: z.ZodEnum<{
|
|
9276
|
+
"picked-by-run": "picked-by-run";
|
|
9277
|
+
combined: "combined";
|
|
9278
|
+
"kept-more-checks": "kept-more-checks";
|
|
9279
|
+
"needs-person": "needs-person";
|
|
9280
|
+
}>;
|
|
9281
|
+
}, z.core.$strip>>>;
|
|
8803
9282
|
headEnvironmentId: PublicIdSchema;
|
|
8804
9283
|
id: PublicIdSchema;
|
|
9284
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9285
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9286
|
+
path: z.ZodString;
|
|
9287
|
+
}, z.core.$strip>>>;
|
|
9288
|
+
reason: z.ZodEnum<{
|
|
9289
|
+
"undecided-paths": "undecided-paths";
|
|
9290
|
+
"run-limit-reached": "run-limit-reached";
|
|
9291
|
+
"flows-undetermined": "flows-undetermined";
|
|
9292
|
+
"agent-stopped": "agent-stopped";
|
|
9293
|
+
"agent-failed": "agent-failed";
|
|
9294
|
+
"agent-not-started": "agent-not-started";
|
|
9295
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
9296
|
+
}>;
|
|
9297
|
+
}, z.core.$strip>>;
|
|
8805
9298
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
8806
9299
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8807
9300
|
status: z.ZodEnum<{
|
|
@@ -8817,6 +9310,7 @@ export declare const publicContractsV1: {
|
|
|
8817
9310
|
runId: PublicIdSchema;
|
|
8818
9311
|
runMode: z.ZodEnum<{
|
|
8819
9312
|
"confirm-after": "confirm-after";
|
|
9313
|
+
"choose-version": "choose-version";
|
|
8820
9314
|
}>;
|
|
8821
9315
|
sourceCommitHash: z.ZodString;
|
|
8822
9316
|
targetCommitHash: z.ZodString;
|
|
@@ -8851,8 +9345,52 @@ export declare const publicContractsV1: {
|
|
|
8851
9345
|
targetCommitHash: z.ZodString;
|
|
8852
9346
|
}, z.core.$strip>>;
|
|
8853
9347
|
createdAt: z.ZodISODateTime;
|
|
9348
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9349
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
9350
|
+
candidate: z.ZodEnum<{
|
|
9351
|
+
combined: "combined";
|
|
9352
|
+
head: "head";
|
|
9353
|
+
base: "base";
|
|
9354
|
+
}>;
|
|
9355
|
+
outcome: z.ZodEnum<{
|
|
9356
|
+
passed: "passed";
|
|
9357
|
+
failed: "failed";
|
|
9358
|
+
inconclusive: "inconclusive";
|
|
9359
|
+
}>;
|
|
9360
|
+
runId: PublicIdSchema;
|
|
9361
|
+
}, z.core.$strip>>;
|
|
9362
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9363
|
+
combined: "combined";
|
|
9364
|
+
head: "head";
|
|
9365
|
+
base: "base";
|
|
9366
|
+
}>>;
|
|
9367
|
+
path: z.ZodString;
|
|
9368
|
+
reason: z.ZodString;
|
|
9369
|
+
sourceCommitHash: z.ZodString;
|
|
9370
|
+
targetCommitHash: z.ZodString;
|
|
9371
|
+
type: z.ZodEnum<{
|
|
9372
|
+
"picked-by-run": "picked-by-run";
|
|
9373
|
+
combined: "combined";
|
|
9374
|
+
"kept-more-checks": "kept-more-checks";
|
|
9375
|
+
"needs-person": "needs-person";
|
|
9376
|
+
}>;
|
|
9377
|
+
}, z.core.$strip>>>;
|
|
8854
9378
|
headEnvironmentId: PublicIdSchema;
|
|
8855
9379
|
id: PublicIdSchema;
|
|
9380
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9381
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9382
|
+
path: z.ZodString;
|
|
9383
|
+
}, z.core.$strip>>>;
|
|
9384
|
+
reason: z.ZodEnum<{
|
|
9385
|
+
"undecided-paths": "undecided-paths";
|
|
9386
|
+
"run-limit-reached": "run-limit-reached";
|
|
9387
|
+
"flows-undetermined": "flows-undetermined";
|
|
9388
|
+
"agent-stopped": "agent-stopped";
|
|
9389
|
+
"agent-failed": "agent-failed";
|
|
9390
|
+
"agent-not-started": "agent-not-started";
|
|
9391
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
9392
|
+
}>;
|
|
9393
|
+
}, z.core.$strip>>;
|
|
8856
9394
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
8857
9395
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8858
9396
|
status: z.ZodEnum<{
|
|
@@ -8868,6 +9406,7 @@ export declare const publicContractsV1: {
|
|
|
8868
9406
|
runId: PublicIdSchema;
|
|
8869
9407
|
runMode: z.ZodEnum<{
|
|
8870
9408
|
"confirm-after": "confirm-after";
|
|
9409
|
+
"choose-version": "choose-version";
|
|
8871
9410
|
}>;
|
|
8872
9411
|
sourceCommitHash: z.ZodString;
|
|
8873
9412
|
targetCommitHash: z.ZodString;
|
|
@@ -8876,6 +9415,140 @@ export declare const publicContractsV1: {
|
|
|
8876
9415
|
aiTaskSessionId: z.ZodOptional<PublicIdSchema>;
|
|
8877
9416
|
}, z.core.$strip>;
|
|
8878
9417
|
};
|
|
9418
|
+
reportDecision: {
|
|
9419
|
+
readonly annotationJustifications: {
|
|
9420
|
+
readonly destructiveHint: "Records a decision on the promotion and changes no flow code.";
|
|
9421
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
9422
|
+
readonly readOnlyHint: "Records how a conflicting path was settled.";
|
|
9423
|
+
};
|
|
9424
|
+
readonly annotations: {
|
|
9425
|
+
readonly destructiveHint: false;
|
|
9426
|
+
readonly openWorldHint: false;
|
|
9427
|
+
readonly readOnlyHint: false;
|
|
9428
|
+
};
|
|
9429
|
+
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
|
|
9430
|
+
readonly input: z.ZodObject<{
|
|
9431
|
+
base: z.ZodOptional<z.ZodObject<{
|
|
9432
|
+
outcome: z.ZodEnum<{
|
|
9433
|
+
passed: "passed";
|
|
9434
|
+
failed: "failed";
|
|
9435
|
+
inconclusive: "inconclusive";
|
|
9436
|
+
}>;
|
|
9437
|
+
runId: PublicIdSchema;
|
|
9438
|
+
}, z.core.$strip>>;
|
|
9439
|
+
combined: z.ZodOptional<z.ZodObject<{
|
|
9440
|
+
outcome: z.ZodEnum<{
|
|
9441
|
+
passed: "passed";
|
|
9442
|
+
failed: "failed";
|
|
9443
|
+
inconclusive: "inconclusive";
|
|
9444
|
+
}>;
|
|
9445
|
+
runId: PublicIdSchema;
|
|
9446
|
+
}, z.core.$strip>>;
|
|
9447
|
+
decision: z.ZodEnum<{
|
|
9448
|
+
"picked-by-run": "picked-by-run";
|
|
9449
|
+
combined: "combined";
|
|
9450
|
+
"kept-more-checks": "kept-more-checks";
|
|
9451
|
+
"needs-person": "needs-person";
|
|
9452
|
+
}>;
|
|
9453
|
+
expectedSourceCommitHash: z.ZodString;
|
|
9454
|
+
expectedTargetCommitHash: z.ZodString;
|
|
9455
|
+
head: z.ZodOptional<z.ZodObject<{
|
|
9456
|
+
outcome: z.ZodEnum<{
|
|
9457
|
+
passed: "passed";
|
|
9458
|
+
failed: "failed";
|
|
9459
|
+
inconclusive: "inconclusive";
|
|
9460
|
+
}>;
|
|
9461
|
+
runId: PublicIdSchema;
|
|
9462
|
+
}, z.core.$strip>>;
|
|
9463
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9464
|
+
combined: "combined";
|
|
9465
|
+
head: "head";
|
|
9466
|
+
base: "base";
|
|
9467
|
+
}>>;
|
|
9468
|
+
path: z.ZodString;
|
|
9469
|
+
promotionId: PublicIdSchema;
|
|
9470
|
+
reason: z.ZodString;
|
|
9471
|
+
}, z.core.$strip>;
|
|
9472
|
+
readonly kind: "write";
|
|
9473
|
+
readonly name: "promotion.reportDecision";
|
|
9474
|
+
readonly output: z.ZodObject<{
|
|
9475
|
+
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
9476
|
+
baseEnvironmentId: PublicIdSchema;
|
|
9477
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
9478
|
+
paths: z.ZodArray<z.ZodString>;
|
|
9479
|
+
sourceCommitHash: z.ZodString;
|
|
9480
|
+
targetCommitHash: z.ZodString;
|
|
9481
|
+
}, z.core.$strip>>;
|
|
9482
|
+
createdAt: z.ZodISODateTime;
|
|
9483
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9484
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
9485
|
+
candidate: z.ZodEnum<{
|
|
9486
|
+
combined: "combined";
|
|
9487
|
+
head: "head";
|
|
9488
|
+
base: "base";
|
|
9489
|
+
}>;
|
|
9490
|
+
outcome: z.ZodEnum<{
|
|
9491
|
+
passed: "passed";
|
|
9492
|
+
failed: "failed";
|
|
9493
|
+
inconclusive: "inconclusive";
|
|
9494
|
+
}>;
|
|
9495
|
+
runId: PublicIdSchema;
|
|
9496
|
+
}, z.core.$strip>>;
|
|
9497
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9498
|
+
combined: "combined";
|
|
9499
|
+
head: "head";
|
|
9500
|
+
base: "base";
|
|
9501
|
+
}>>;
|
|
9502
|
+
path: z.ZodString;
|
|
9503
|
+
reason: z.ZodString;
|
|
9504
|
+
sourceCommitHash: z.ZodString;
|
|
9505
|
+
targetCommitHash: z.ZodString;
|
|
9506
|
+
type: z.ZodEnum<{
|
|
9507
|
+
"picked-by-run": "picked-by-run";
|
|
9508
|
+
combined: "combined";
|
|
9509
|
+
"kept-more-checks": "kept-more-checks";
|
|
9510
|
+
"needs-person": "needs-person";
|
|
9511
|
+
}>;
|
|
9512
|
+
}, z.core.$strip>>>;
|
|
9513
|
+
headEnvironmentId: PublicIdSchema;
|
|
9514
|
+
id: PublicIdSchema;
|
|
9515
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9516
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9517
|
+
path: z.ZodString;
|
|
9518
|
+
}, z.core.$strip>>>;
|
|
9519
|
+
reason: z.ZodEnum<{
|
|
9520
|
+
"undecided-paths": "undecided-paths";
|
|
9521
|
+
"run-limit-reached": "run-limit-reached";
|
|
9522
|
+
"flows-undetermined": "flows-undetermined";
|
|
9523
|
+
"agent-stopped": "agent-stopped";
|
|
9524
|
+
"agent-failed": "agent-failed";
|
|
9525
|
+
"agent-not-started": "agent-not-started";
|
|
9526
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
9527
|
+
}>;
|
|
9528
|
+
}, z.core.$strip>>;
|
|
9529
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
9530
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
9531
|
+
status: z.ZodEnum<{
|
|
9532
|
+
pending: "pending";
|
|
9533
|
+
conflicted: "conflicted";
|
|
9534
|
+
resolving: "resolving";
|
|
9535
|
+
promoted: "promoted";
|
|
9536
|
+
"no-changes": "no-changes";
|
|
9537
|
+
abandoned: "abandoned";
|
|
9538
|
+
}>;
|
|
9539
|
+
validationRuns: z.ZodArray<z.ZodObject<{
|
|
9540
|
+
aiTaskId: PublicIdSchema;
|
|
9541
|
+
runId: PublicIdSchema;
|
|
9542
|
+
runMode: z.ZodEnum<{
|
|
9543
|
+
"confirm-after": "confirm-after";
|
|
9544
|
+
"choose-version": "choose-version";
|
|
9545
|
+
}>;
|
|
9546
|
+
sourceCommitHash: z.ZodString;
|
|
9547
|
+
targetCommitHash: z.ZodString;
|
|
9548
|
+
}, z.core.$strip>>;
|
|
9549
|
+
url: z.ZodURL;
|
|
9550
|
+
}, z.core.$strip>;
|
|
9551
|
+
};
|
|
8879
9552
|
resolve: {
|
|
8880
9553
|
readonly annotationJustifications: {
|
|
8881
9554
|
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
@@ -8906,8 +9579,52 @@ export declare const publicContractsV1: {
|
|
|
8906
9579
|
targetCommitHash: z.ZodString;
|
|
8907
9580
|
}, z.core.$strip>>;
|
|
8908
9581
|
createdAt: z.ZodISODateTime;
|
|
9582
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9583
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
9584
|
+
candidate: z.ZodEnum<{
|
|
9585
|
+
combined: "combined";
|
|
9586
|
+
head: "head";
|
|
9587
|
+
base: "base";
|
|
9588
|
+
}>;
|
|
9589
|
+
outcome: z.ZodEnum<{
|
|
9590
|
+
passed: "passed";
|
|
9591
|
+
failed: "failed";
|
|
9592
|
+
inconclusive: "inconclusive";
|
|
9593
|
+
}>;
|
|
9594
|
+
runId: PublicIdSchema;
|
|
9595
|
+
}, z.core.$strip>>;
|
|
9596
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9597
|
+
combined: "combined";
|
|
9598
|
+
head: "head";
|
|
9599
|
+
base: "base";
|
|
9600
|
+
}>>;
|
|
9601
|
+
path: z.ZodString;
|
|
9602
|
+
reason: z.ZodString;
|
|
9603
|
+
sourceCommitHash: z.ZodString;
|
|
9604
|
+
targetCommitHash: z.ZodString;
|
|
9605
|
+
type: z.ZodEnum<{
|
|
9606
|
+
"picked-by-run": "picked-by-run";
|
|
9607
|
+
combined: "combined";
|
|
9608
|
+
"kept-more-checks": "kept-more-checks";
|
|
9609
|
+
"needs-person": "needs-person";
|
|
9610
|
+
}>;
|
|
9611
|
+
}, z.core.$strip>>>;
|
|
8909
9612
|
headEnvironmentId: PublicIdSchema;
|
|
8910
9613
|
id: PublicIdSchema;
|
|
9614
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9615
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9616
|
+
path: z.ZodString;
|
|
9617
|
+
}, z.core.$strip>>>;
|
|
9618
|
+
reason: z.ZodEnum<{
|
|
9619
|
+
"undecided-paths": "undecided-paths";
|
|
9620
|
+
"run-limit-reached": "run-limit-reached";
|
|
9621
|
+
"flows-undetermined": "flows-undetermined";
|
|
9622
|
+
"agent-stopped": "agent-stopped";
|
|
9623
|
+
"agent-failed": "agent-failed";
|
|
9624
|
+
"agent-not-started": "agent-not-started";
|
|
9625
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
9626
|
+
}>;
|
|
9627
|
+
}, z.core.$strip>>;
|
|
8911
9628
|
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
8912
9629
|
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8913
9630
|
status: z.ZodEnum<{
|
|
@@ -8923,6 +9640,7 @@ export declare const publicContractsV1: {
|
|
|
8923
9640
|
runId: PublicIdSchema;
|
|
8924
9641
|
runMode: z.ZodEnum<{
|
|
8925
9642
|
"confirm-after": "confirm-after";
|
|
9643
|
+
"choose-version": "choose-version";
|
|
8926
9644
|
}>;
|
|
8927
9645
|
sourceCommitHash: z.ZodString;
|
|
8928
9646
|
targetCommitHash: z.ZodString;
|
|
@@ -8991,6 +9709,7 @@ export declare const publicContractsV1: {
|
|
|
8991
9709
|
repository: z.ZodOptional<z.ZodString>;
|
|
8992
9710
|
resolutionRunMode: z.ZodOptional<z.ZodEnum<{
|
|
8993
9711
|
"confirm-after": "confirm-after";
|
|
9712
|
+
"choose-version": "choose-version";
|
|
8994
9713
|
}>>;
|
|
8995
9714
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
8996
9715
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -9120,10 +9839,10 @@ export declare const publicContractsV1: {
|
|
|
9120
9839
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
9121
9840
|
runId: PublicIdSchema;
|
|
9122
9841
|
status: z.ZodEnum<{
|
|
9842
|
+
passed: "passed";
|
|
9123
9843
|
failed: "failed";
|
|
9124
9844
|
queued: "queued";
|
|
9125
9845
|
running: "running";
|
|
9126
|
-
passed: "passed";
|
|
9127
9846
|
canceled: "canceled";
|
|
9128
9847
|
superseded: "superseded";
|
|
9129
9848
|
}>;
|
|
@@ -9149,10 +9868,10 @@ export declare const publicContractsV1: {
|
|
|
9149
9868
|
readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
|
|
9150
9869
|
readonly input: z.ZodObject<{
|
|
9151
9870
|
flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9871
|
+
passed: "passed";
|
|
9152
9872
|
failed: "failed";
|
|
9153
9873
|
queued: "queued";
|
|
9154
9874
|
running: "running";
|
|
9155
|
-
passed: "passed";
|
|
9156
9875
|
canceled: "canceled";
|
|
9157
9876
|
}>>>;
|
|
9158
9877
|
runId: PublicIdSchema;
|
|
@@ -9302,9 +10021,9 @@ export declare const publicContractsV1: {
|
|
|
9302
10021
|
flowId: PublicIdSchema;
|
|
9303
10022
|
name: z.ZodString;
|
|
9304
10023
|
status: z.ZodEnum<{
|
|
10024
|
+
passed: "passed";
|
|
9305
10025
|
queued: "queued";
|
|
9306
10026
|
running: "running";
|
|
9307
|
-
passed: "passed";
|
|
9308
10027
|
canceled: "canceled";
|
|
9309
10028
|
}>;
|
|
9310
10029
|
}, z.core.$strip>], "status">>;
|
|
@@ -9337,10 +10056,10 @@ export declare const publicContractsV1: {
|
|
|
9337
10056
|
}, z.core.$strip>;
|
|
9338
10057
|
needsReview: z.ZodOptional<z.ZodBoolean>;
|
|
9339
10058
|
status: z.ZodEnum<{
|
|
10059
|
+
passed: "passed";
|
|
9340
10060
|
failed: "failed";
|
|
9341
10061
|
queued: "queued";
|
|
9342
10062
|
running: "running";
|
|
9343
|
-
passed: "passed";
|
|
9344
10063
|
canceled: "canceled";
|
|
9345
10064
|
superseded: "superseded";
|
|
9346
10065
|
}>;
|
|
@@ -10656,6 +11375,238 @@ export declare const publicContractsV1: {
|
|
|
10656
11375
|
}, z.core.$strip>;
|
|
10657
11376
|
};
|
|
10658
11377
|
};
|
|
11378
|
+
suggestion: {
|
|
11379
|
+
decide: {
|
|
11380
|
+
readonly annotationJustifications: {
|
|
11381
|
+
readonly destructiveHint: "Every decision can be undone until the flow joins, and nothing is deleted.";
|
|
11382
|
+
readonly openWorldHint: "An added suggestion writes its flow to the environment's flow code repository.";
|
|
11383
|
+
readonly readOnlyHint: "Records a decision on a suggestion and changes its linked issue's status.";
|
|
11384
|
+
};
|
|
11385
|
+
readonly annotations: {
|
|
11386
|
+
readonly destructiveHint: false;
|
|
11387
|
+
readonly openWorldHint: true;
|
|
11388
|
+
readonly readOnlyHint: false;
|
|
11389
|
+
};
|
|
11390
|
+
readonly description: string;
|
|
11391
|
+
readonly input: z.ZodObject<{
|
|
11392
|
+
decision: z.ZodEnum<{
|
|
11393
|
+
add: "add";
|
|
11394
|
+
report: "report";
|
|
11395
|
+
skip: "skip";
|
|
11396
|
+
undo: "undo";
|
|
11397
|
+
activate: "activate";
|
|
11398
|
+
}>;
|
|
11399
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
11400
|
+
"not-worth-testing": "not-worth-testing";
|
|
11401
|
+
"already-covered": "already-covered";
|
|
11402
|
+
"feature-removed": "feature-removed";
|
|
11403
|
+
}>>;
|
|
11404
|
+
suggestionId: PublicIdSchema;
|
|
11405
|
+
}, z.core.$strip>;
|
|
11406
|
+
readonly kind: "write";
|
|
11407
|
+
readonly name: "suggestion.decide";
|
|
11408
|
+
readonly output: z.ZodObject<{
|
|
11409
|
+
suggestion: z.ZodObject<{
|
|
11410
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
11411
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
11412
|
+
add: "add";
|
|
11413
|
+
report: "report";
|
|
11414
|
+
skip: "skip";
|
|
11415
|
+
undo: "undo";
|
|
11416
|
+
activate: "activate";
|
|
11417
|
+
}>>;
|
|
11418
|
+
environmentId: PublicIdSchema;
|
|
11419
|
+
environmentName: z.ZodString;
|
|
11420
|
+
flow: z.ZodObject<{
|
|
11421
|
+
flowId: z.ZodOptional<PublicIdSchema>;
|
|
11422
|
+
path: z.ZodString;
|
|
11423
|
+
}, z.core.$strip>;
|
|
11424
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
11425
|
+
"path-taken": "path-taken";
|
|
11426
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
11427
|
+
"merge-conflicted": "merge-conflicted";
|
|
11428
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
11429
|
+
}>>;
|
|
11430
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
11431
|
+
issueId: PublicIdSchema;
|
|
11432
|
+
type: z.ZodEnum<{
|
|
11433
|
+
bug: "bug";
|
|
11434
|
+
coverageRequest: "coverageRequest";
|
|
11435
|
+
}>;
|
|
11436
|
+
}, z.core.$strip>>;
|
|
11437
|
+
kind: z.ZodEnum<{
|
|
11438
|
+
"new-flow": "new-flow";
|
|
11439
|
+
"potential-bug": "potential-bug";
|
|
11440
|
+
}>;
|
|
11441
|
+
location: z.ZodString;
|
|
11442
|
+
reason: z.ZodString;
|
|
11443
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
11444
|
+
"not-worth-testing": "not-worth-testing";
|
|
11445
|
+
"already-covered": "already-covered";
|
|
11446
|
+
"feature-removed": "feature-removed";
|
|
11447
|
+
}>>;
|
|
11448
|
+
state: z.ZodEnum<{
|
|
11449
|
+
skipped: "skipped";
|
|
11450
|
+
accepted: "accepted";
|
|
11451
|
+
waiting: "waiting";
|
|
11452
|
+
expired: "expired";
|
|
11453
|
+
}>;
|
|
11454
|
+
suggestedAt: z.ZodISODateTime;
|
|
11455
|
+
suggestionId: PublicIdSchema;
|
|
11456
|
+
title: z.ZodString;
|
|
11457
|
+
url: z.ZodURL;
|
|
11458
|
+
}, z.core.$strip>;
|
|
11459
|
+
}, z.core.$strip>;
|
|
11460
|
+
};
|
|
11461
|
+
find: {
|
|
11462
|
+
readonly annotationJustifications: {
|
|
11463
|
+
readonly destructiveHint: "Does not decide or change any suggestion.";
|
|
11464
|
+
readonly openWorldHint: "Reads QA Wolf suggestion records without changing external systems.";
|
|
11465
|
+
readonly readOnlyHint: "Lists the workspace's coverage suggestions.";
|
|
11466
|
+
};
|
|
11467
|
+
readonly annotations: {
|
|
11468
|
+
readonly destructiveHint: false;
|
|
11469
|
+
readonly openWorldHint: false;
|
|
11470
|
+
readonly readOnlyHint: true;
|
|
11471
|
+
};
|
|
11472
|
+
readonly description: string;
|
|
11473
|
+
readonly input: z.ZodObject<{
|
|
11474
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
11475
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
11476
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
11477
|
+
skipped: "skipped";
|
|
11478
|
+
accepted: "accepted";
|
|
11479
|
+
waiting: "waiting";
|
|
11480
|
+
}>>;
|
|
11481
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
11482
|
+
}, z.core.$strip>;
|
|
11483
|
+
readonly kind: "read";
|
|
11484
|
+
readonly name: "suggestion.find";
|
|
11485
|
+
readonly output: z.ZodObject<{
|
|
11486
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
11487
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
11488
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
11489
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
11490
|
+
add: "add";
|
|
11491
|
+
report: "report";
|
|
11492
|
+
skip: "skip";
|
|
11493
|
+
undo: "undo";
|
|
11494
|
+
activate: "activate";
|
|
11495
|
+
}>>;
|
|
11496
|
+
environmentId: PublicIdSchema;
|
|
11497
|
+
environmentName: z.ZodString;
|
|
11498
|
+
flow: z.ZodObject<{
|
|
11499
|
+
flowId: z.ZodOptional<PublicIdSchema>;
|
|
11500
|
+
path: z.ZodString;
|
|
11501
|
+
}, z.core.$strip>;
|
|
11502
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
11503
|
+
"path-taken": "path-taken";
|
|
11504
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
11505
|
+
"merge-conflicted": "merge-conflicted";
|
|
11506
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
11507
|
+
}>>;
|
|
11508
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
11509
|
+
issueId: PublicIdSchema;
|
|
11510
|
+
type: z.ZodEnum<{
|
|
11511
|
+
bug: "bug";
|
|
11512
|
+
coverageRequest: "coverageRequest";
|
|
11513
|
+
}>;
|
|
11514
|
+
}, z.core.$strip>>;
|
|
11515
|
+
kind: z.ZodEnum<{
|
|
11516
|
+
"new-flow": "new-flow";
|
|
11517
|
+
"potential-bug": "potential-bug";
|
|
11518
|
+
}>;
|
|
11519
|
+
location: z.ZodString;
|
|
11520
|
+
reason: z.ZodString;
|
|
11521
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
11522
|
+
"not-worth-testing": "not-worth-testing";
|
|
11523
|
+
"already-covered": "already-covered";
|
|
11524
|
+
"feature-removed": "feature-removed";
|
|
11525
|
+
}>>;
|
|
11526
|
+
state: z.ZodEnum<{
|
|
11527
|
+
skipped: "skipped";
|
|
11528
|
+
accepted: "accepted";
|
|
11529
|
+
waiting: "waiting";
|
|
11530
|
+
expired: "expired";
|
|
11531
|
+
}>;
|
|
11532
|
+
suggestedAt: z.ZodISODateTime;
|
|
11533
|
+
suggestionId: PublicIdSchema;
|
|
11534
|
+
title: z.ZodString;
|
|
11535
|
+
url: z.ZodURL;
|
|
11536
|
+
}, z.core.$strip>>;
|
|
11537
|
+
}, z.core.$strip>;
|
|
11538
|
+
};
|
|
11539
|
+
get: {
|
|
11540
|
+
readonly annotationJustifications: {
|
|
11541
|
+
readonly destructiveHint: "Does not decide or change the suggestion.";
|
|
11542
|
+
readonly openWorldHint: "Reads a QA Wolf suggestion record without changing external systems.";
|
|
11543
|
+
readonly readOnlyHint: "Retrieves one coverage suggestion.";
|
|
11544
|
+
};
|
|
11545
|
+
readonly annotations: {
|
|
11546
|
+
readonly destructiveHint: false;
|
|
11547
|
+
readonly openWorldHint: false;
|
|
11548
|
+
readonly readOnlyHint: true;
|
|
11549
|
+
};
|
|
11550
|
+
readonly description: string;
|
|
11551
|
+
readonly input: z.ZodObject<{
|
|
11552
|
+
suggestionId: PublicIdSchema;
|
|
11553
|
+
}, z.core.$strip>;
|
|
11554
|
+
readonly kind: "read";
|
|
11555
|
+
readonly name: "suggestion.get";
|
|
11556
|
+
readonly output: z.ZodObject<{
|
|
11557
|
+
suggestion: z.ZodObject<{
|
|
11558
|
+
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
11559
|
+
decisions: z.ZodArray<z.ZodEnum<{
|
|
11560
|
+
add: "add";
|
|
11561
|
+
report: "report";
|
|
11562
|
+
skip: "skip";
|
|
11563
|
+
undo: "undo";
|
|
11564
|
+
activate: "activate";
|
|
11565
|
+
}>>;
|
|
11566
|
+
environmentId: PublicIdSchema;
|
|
11567
|
+
environmentName: z.ZodString;
|
|
11568
|
+
flow: z.ZodObject<{
|
|
11569
|
+
flowId: z.ZodOptional<PublicIdSchema>;
|
|
11570
|
+
path: z.ZodString;
|
|
11571
|
+
}, z.core.$strip>;
|
|
11572
|
+
holdReason: z.ZodOptional<z.ZodEnum<{
|
|
11573
|
+
"path-taken": "path-taken";
|
|
11574
|
+
"not-proven-on-merged-commit": "not-proven-on-merged-commit";
|
|
11575
|
+
"merge-conflicted": "merge-conflicted";
|
|
11576
|
+
"undo-cleanup-failed": "undo-cleanup-failed";
|
|
11577
|
+
}>>;
|
|
11578
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
11579
|
+
issueId: PublicIdSchema;
|
|
11580
|
+
type: z.ZodEnum<{
|
|
11581
|
+
bug: "bug";
|
|
11582
|
+
coverageRequest: "coverageRequest";
|
|
11583
|
+
}>;
|
|
11584
|
+
}, z.core.$strip>>;
|
|
11585
|
+
kind: z.ZodEnum<{
|
|
11586
|
+
"new-flow": "new-flow";
|
|
11587
|
+
"potential-bug": "potential-bug";
|
|
11588
|
+
}>;
|
|
11589
|
+
location: z.ZodString;
|
|
11590
|
+
reason: z.ZodString;
|
|
11591
|
+
skipReason: z.ZodOptional<z.ZodEnum<{
|
|
11592
|
+
"not-worth-testing": "not-worth-testing";
|
|
11593
|
+
"already-covered": "already-covered";
|
|
11594
|
+
"feature-removed": "feature-removed";
|
|
11595
|
+
}>>;
|
|
11596
|
+
state: z.ZodEnum<{
|
|
11597
|
+
skipped: "skipped";
|
|
11598
|
+
accepted: "accepted";
|
|
11599
|
+
waiting: "waiting";
|
|
11600
|
+
expired: "expired";
|
|
11601
|
+
}>;
|
|
11602
|
+
suggestedAt: z.ZodISODateTime;
|
|
11603
|
+
suggestionId: PublicIdSchema;
|
|
11604
|
+
title: z.ZodString;
|
|
11605
|
+
url: z.ZodURL;
|
|
11606
|
+
}, z.core.$strip>;
|
|
11607
|
+
}, z.core.$strip>;
|
|
11608
|
+
};
|
|
11609
|
+
};
|
|
10659
11610
|
tag: {
|
|
10660
11611
|
create: {
|
|
10661
11612
|
readonly annotationJustifications: {
|