@qawolf/api-contracts 0.96.0 → 0.98.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/attempt/get.d.ts +5 -0
- package/dist/v1/attempt/get.d.ts.map +1 -1
- package/dist/v1/attempt/get.js +10 -5
- package/dist/v1/attempt/get.js.map +1 -1
- package/dist/v1/index.d.ts +48 -10
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/issue/addFlows.js +1 -1
- package/dist/v1/issue/addFlows.js.map +1 -1
- package/dist/v1/issue/create.js +2 -2
- package/dist/v1/issue/create.js.map +1 -1
- package/dist/v1/issue/index.d.ts +2 -2
- package/dist/v1/issue/index.js +5 -5
- package/dist/v1/issue/index.js.map +1 -1
- package/dist/v1/issue/removeFlows.js +2 -2
- package/dist/v1/issue/removeFlows.js.map +1 -1
- package/dist/v1/issue/update.js +1 -1
- package/dist/v1/issue/update.js.map +1 -1
- package/dist/v1/run/diagnose.d.ts +1 -1
- package/dist/v1/run/diagnose.js +2 -2
- package/dist/v1/run/diagnose.js.map +1 -1
- package/dist/v1/run/flowAttempts.d.ts +45 -0
- package/dist/v1/run/flowAttempts.d.ts.map +1 -0
- package/dist/v1/run/flowAttempts.js +86 -0
- package/dist/v1/run/flowAttempts.js.map +1 -0
- package/dist/v1/run/get.d.ts +14 -0
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/get.js +2 -75
- package/dist/v1/run/get.js.map +1 -1
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +4 -1
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/run/optOutOfInvestigation.d.ts +1 -1
- package/dist/v1/run/optOutOfInvestigation.d.ts.map +1 -1
- package/dist/v1/run/optOutOfInvestigation.js +2 -2
- package/dist/v1/run/optOutOfInvestigation.js.map +1 -1
- package/dist/v1/runner/catalog.d.ts +1 -1
- package/dist/v1/runner/takeScreenshot.d.ts +1 -1
- package/dist/v1/runner/takeScreenshot.js +1 -1
- package/dist/v1/runner/takeScreenshot.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/attempt/get.d.ts
CHANGED
|
@@ -196,6 +196,11 @@ export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, Run
|
|
|
196
196
|
kind: z.ZodLiteral<"manual">;
|
|
197
197
|
status: z.ZodLiteral<"passed">;
|
|
198
198
|
}, z.core.$strip>;
|
|
199
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
201
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
202
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
199
204
|
}, z.core.$strip>], "artifactStatus">;
|
|
200
205
|
};
|
|
201
206
|
//# sourceMappingURL=get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,sBAAsB,GACjC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,sBAAsB,GACjC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FA,CAAC"}
|
package/dist/v1/attempt/get.js
CHANGED
|
@@ -32,13 +32,14 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
32
32
|
error: z.string().optional(),
|
|
33
33
|
startedAt: z.iso.datetime().optional(),
|
|
34
34
|
});
|
|
35
|
+
const artifactUrls = {
|
|
36
|
+
logsUrl: z.url().optional(),
|
|
37
|
+
traceUrl: z.url().optional(),
|
|
38
|
+
videoUrl: z.url().optional(),
|
|
39
|
+
};
|
|
35
40
|
const output = z.discriminatedUnion("artifactStatus", [
|
|
36
41
|
response.extend({
|
|
37
|
-
artifacts: z.object(
|
|
38
|
-
logsUrl: z.url().optional(),
|
|
39
|
-
traceUrl: z.url().optional(),
|
|
40
|
-
videoUrl: z.url().optional(),
|
|
41
|
-
}),
|
|
42
|
+
artifacts: z.object(artifactUrls),
|
|
42
43
|
artifactStatus: z.literal("signed"),
|
|
43
44
|
attempt: attempt.extend({
|
|
44
45
|
kind: z.literal("automated"),
|
|
@@ -60,6 +61,10 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
60
61
|
kind: z.literal("manual"),
|
|
61
62
|
status: z.literal("passed"),
|
|
62
63
|
}),
|
|
64
|
+
evidence: z
|
|
65
|
+
.object(artifactUrls)
|
|
66
|
+
.optional()
|
|
67
|
+
.describe("Signed links to the logs, trace, and video that the Wolf Browser run kept. Absent when it kept none. The artifacts field stays empty for a manual attempt."),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: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
289
289
|
kind: z.ZodLiteral<"manual">;
|
|
290
290
|
status: z.ZodLiteral<"passed">;
|
|
291
291
|
}, z.core.$strip>;
|
|
292
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
294
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
295
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
292
297
|
}, z.core.$strip>], "artifactStatus">;
|
|
293
298
|
};
|
|
294
299
|
};
|
|
@@ -1741,14 +1746,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1741
1746
|
readonly annotationJustifications: {
|
|
1742
1747
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
1743
1748
|
readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
|
|
1744
|
-
readonly readOnlyHint: "Lists workspace bug reports,
|
|
1749
|
+
readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
|
|
1745
1750
|
};
|
|
1746
1751
|
readonly annotations: {
|
|
1747
1752
|
readonly destructiveHint: false;
|
|
1748
1753
|
readonly openWorldHint: false;
|
|
1749
1754
|
readonly readOnlyHint: true;
|
|
1750
1755
|
};
|
|
1751
|
-
readonly description: "List the team's bug reports,
|
|
1756
|
+
readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
|
|
1752
1757
|
readonly input: z.ZodObject<{
|
|
1753
1758
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1754
1759
|
pending: "pending";
|
|
@@ -2440,7 +2445,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2440
2445
|
readonly annotationJustifications: {
|
|
2441
2446
|
readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
|
|
2442
2447
|
readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
|
|
2443
|
-
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug or
|
|
2448
|
+
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug report or blocker.";
|
|
2444
2449
|
};
|
|
2445
2450
|
readonly annotations: {
|
|
2446
2451
|
readonly destructiveHint: true;
|
|
@@ -2580,6 +2585,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2580
2585
|
kind: z.ZodLiteral<"automated">;
|
|
2581
2586
|
startedAt: z.ZodISODateTime;
|
|
2582
2587
|
status: z.ZodLiteral<"passed">;
|
|
2588
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2583
2589
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2584
2590
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2585
2591
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2589,6 +2595,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2589
2595
|
kind: z.ZodLiteral<"automated">;
|
|
2590
2596
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2591
2597
|
status: z.ZodLiteral<"failed">;
|
|
2598
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2592
2599
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2593
2600
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2594
2601
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2599,12 +2606,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2599
2606
|
kind: z.ZodLiteral<"automated">;
|
|
2600
2607
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2601
2608
|
status: z.ZodLiteral<"canceled">;
|
|
2609
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2602
2610
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
2603
2611
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
2604
2612
|
completedAt: z.ZodISODateTime;
|
|
2605
2613
|
kind: z.ZodLiteral<"manual">;
|
|
2606
2614
|
startedAt: z.ZodISODateTime;
|
|
2607
2615
|
status: z.ZodLiteral<"passed">;
|
|
2616
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2617
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2618
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2619
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
2608
2620
|
}, z.core.$strip>]>>>;
|
|
2609
2621
|
failure: z.ZodObject<{
|
|
2610
2622
|
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
@@ -2632,6 +2644,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2632
2644
|
kind: z.ZodLiteral<"automated">;
|
|
2633
2645
|
startedAt: z.ZodISODateTime;
|
|
2634
2646
|
status: z.ZodLiteral<"passed">;
|
|
2647
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2635
2648
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2636
2649
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2637
2650
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2641,6 +2654,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2641
2654
|
kind: z.ZodLiteral<"automated">;
|
|
2642
2655
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2643
2656
|
status: z.ZodLiteral<"failed">;
|
|
2657
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2644
2658
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2645
2659
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2646
2660
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2651,12 +2665,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2651
2665
|
kind: z.ZodLiteral<"automated">;
|
|
2652
2666
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2653
2667
|
status: z.ZodLiteral<"canceled">;
|
|
2668
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2654
2669
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
2655
2670
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
2656
2671
|
completedAt: z.ZodISODateTime;
|
|
2657
2672
|
kind: z.ZodLiteral<"manual">;
|
|
2658
2673
|
startedAt: z.ZodISODateTime;
|
|
2659
2674
|
status: z.ZodLiteral<"passed">;
|
|
2675
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2676
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2677
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2678
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
2660
2679
|
}, z.core.$strip>]>>>;
|
|
2661
2680
|
flowId: FlowId;
|
|
2662
2681
|
name: z.ZodString;
|
|
@@ -2752,7 +2771,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2752
2771
|
readonly annotationJustifications: {
|
|
2753
2772
|
readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
|
|
2754
2773
|
readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
|
|
2755
|
-
readonly readOnlyHint: "Records failed flows as needing no bug or
|
|
2774
|
+
readonly readOnlyHint: "Records failed flows as needing no bug report or blocker.";
|
|
2756
2775
|
};
|
|
2757
2776
|
readonly annotations: {
|
|
2758
2777
|
readonly destructiveHint: true;
|
|
@@ -2966,7 +2985,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2966
2985
|
readonly openWorldHint: false;
|
|
2967
2986
|
readonly readOnlyHint: false;
|
|
2968
2987
|
};
|
|
2969
|
-
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
2988
|
+
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
2970
2989
|
readonly input: z.ZodObject<{
|
|
2971
2990
|
id: z.ZodString;
|
|
2972
2991
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -5039,6 +5058,11 @@ export declare const publicContractsV1: {
|
|
|
5039
5058
|
kind: z.ZodLiteral<"manual">;
|
|
5040
5059
|
status: z.ZodLiteral<"passed">;
|
|
5041
5060
|
}, z.core.$strip>;
|
|
5061
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
5062
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
5063
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
5064
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
5065
|
+
}, z.core.$strip>>;
|
|
5042
5066
|
}, z.core.$strip>], "artifactStatus">;
|
|
5043
5067
|
};
|
|
5044
5068
|
};
|
|
@@ -6491,14 +6515,14 @@ export declare const publicContractsV1: {
|
|
|
6491
6515
|
readonly annotationJustifications: {
|
|
6492
6516
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
6493
6517
|
readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
|
|
6494
|
-
readonly readOnlyHint: "Lists workspace bug reports,
|
|
6518
|
+
readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
|
|
6495
6519
|
};
|
|
6496
6520
|
readonly annotations: {
|
|
6497
6521
|
readonly destructiveHint: false;
|
|
6498
6522
|
readonly openWorldHint: false;
|
|
6499
6523
|
readonly readOnlyHint: true;
|
|
6500
6524
|
};
|
|
6501
|
-
readonly description: "List the team's bug reports,
|
|
6525
|
+
readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
|
|
6502
6526
|
readonly input: z.ZodObject<{
|
|
6503
6527
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6504
6528
|
pending: "pending";
|
|
@@ -7190,7 +7214,7 @@ export declare const publicContractsV1: {
|
|
|
7190
7214
|
readonly annotationJustifications: {
|
|
7191
7215
|
readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
|
|
7192
7216
|
readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
|
|
7193
|
-
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug or
|
|
7217
|
+
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug report or blocker.";
|
|
7194
7218
|
};
|
|
7195
7219
|
readonly annotations: {
|
|
7196
7220
|
readonly destructiveHint: true;
|
|
@@ -7330,6 +7354,7 @@ export declare const publicContractsV1: {
|
|
|
7330
7354
|
kind: z.ZodLiteral<"automated">;
|
|
7331
7355
|
startedAt: z.ZodISODateTime;
|
|
7332
7356
|
status: z.ZodLiteral<"passed">;
|
|
7357
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7333
7358
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7334
7359
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7335
7360
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7339,6 +7364,7 @@ export declare const publicContractsV1: {
|
|
|
7339
7364
|
kind: z.ZodLiteral<"automated">;
|
|
7340
7365
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7341
7366
|
status: z.ZodLiteral<"failed">;
|
|
7367
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7342
7368
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7343
7369
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7344
7370
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7349,12 +7375,17 @@ export declare const publicContractsV1: {
|
|
|
7349
7375
|
kind: z.ZodLiteral<"automated">;
|
|
7350
7376
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7351
7377
|
status: z.ZodLiteral<"canceled">;
|
|
7378
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7352
7379
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
7353
7380
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
7354
7381
|
completedAt: z.ZodISODateTime;
|
|
7355
7382
|
kind: z.ZodLiteral<"manual">;
|
|
7356
7383
|
startedAt: z.ZodISODateTime;
|
|
7357
7384
|
status: z.ZodLiteral<"passed">;
|
|
7385
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7386
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7387
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7388
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
7358
7389
|
}, z.core.$strip>]>>>;
|
|
7359
7390
|
failure: z.ZodObject<{
|
|
7360
7391
|
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
@@ -7382,6 +7413,7 @@ export declare const publicContractsV1: {
|
|
|
7382
7413
|
kind: z.ZodLiteral<"automated">;
|
|
7383
7414
|
startedAt: z.ZodISODateTime;
|
|
7384
7415
|
status: z.ZodLiteral<"passed">;
|
|
7416
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7385
7417
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7386
7418
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7387
7419
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7391,6 +7423,7 @@ export declare const publicContractsV1: {
|
|
|
7391
7423
|
kind: z.ZodLiteral<"automated">;
|
|
7392
7424
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7393
7425
|
status: z.ZodLiteral<"failed">;
|
|
7426
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7394
7427
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7395
7428
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7396
7429
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7401,12 +7434,17 @@ export declare const publicContractsV1: {
|
|
|
7401
7434
|
kind: z.ZodLiteral<"automated">;
|
|
7402
7435
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7403
7436
|
status: z.ZodLiteral<"canceled">;
|
|
7437
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7404
7438
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
7405
7439
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
7406
7440
|
completedAt: z.ZodISODateTime;
|
|
7407
7441
|
kind: z.ZodLiteral<"manual">;
|
|
7408
7442
|
startedAt: z.ZodISODateTime;
|
|
7409
7443
|
status: z.ZodLiteral<"passed">;
|
|
7444
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7445
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7446
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7447
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
7410
7448
|
}, z.core.$strip>]>>>;
|
|
7411
7449
|
flowId: PublicIdSchema;
|
|
7412
7450
|
name: z.ZodString;
|
|
@@ -7502,7 +7540,7 @@ export declare const publicContractsV1: {
|
|
|
7502
7540
|
readonly annotationJustifications: {
|
|
7503
7541
|
readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
|
|
7504
7542
|
readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
|
|
7505
|
-
readonly readOnlyHint: "Records failed flows as needing no bug or
|
|
7543
|
+
readonly readOnlyHint: "Records failed flows as needing no bug report or blocker.";
|
|
7506
7544
|
};
|
|
7507
7545
|
readonly annotations: {
|
|
7508
7546
|
readonly destructiveHint: true;
|
|
@@ -7716,7 +7754,7 @@ export declare const publicContractsV1: {
|
|
|
7716
7754
|
readonly openWorldHint: false;
|
|
7717
7755
|
readonly readOnlyHint: false;
|
|
7718
7756
|
};
|
|
7719
|
-
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
7757
|
+
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
7720
7758
|
readonly input: z.ZodObject<{
|
|
7721
7759
|
id: z.ZodString;
|
|
7722
7760
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAOnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AA0B5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AA0BlB,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACpE,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACrE,GAAG,CAAC,QAAQ,CAAC,CACd,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,GAAG,cAAc,EAC/C,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,QAAQ,SAAS,cAAc,GAAG,cAAc,EAChD,aAAa,SAAS,cAAc,GAAG,cAAc,EACrD,SAAS,SAAS,cAAc,GAAG,cAAc,EACjD,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,eAAe,SAAS,cAAc,GAAG,cAAc,EACvD,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,WAAW,SAAS,c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|
29
29
|
"Flows already covered stay covered. " +
|
|
30
|
-
"Bug and
|
|
30
|
+
"Bug reports and blockers link to flows through the runs that reproduce them; use run.diagnose to record one.",
|
|
31
31
|
input,
|
|
32
32
|
kind: "write",
|
|
33
33
|
name: "issue.addFlows",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/addFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAKzC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,yCAAyC;aACxC,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,wCAAwC,CAAC;QACrD,OAAO,EAAE,GAAG,CAAC,KAAK;KACnB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,4DAA4D;YAC9D,aAAa,EACX,oFAAoF;YACtF,YAAY,EACV,+DAA+D;SAClE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,8DAA8D;YAC9D,sCAAsC;YACtC,
|
|
1
|
+
{"version":3,"file":"addFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/addFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAKzC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,yCAAyC;aACxC,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,wCAAwC,CAAC;QACrD,OAAO,EAAE,GAAG,CAAC,KAAK;KACnB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,4DAA4D;YAC9D,aAAa,EACX,oFAAoF;YACtF,YAAY,EACV,+DAA+D;SAClE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,8DAA8D;YAC9D,sCAAsC;YACtC,8GAA8G;QAChH,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,gBAAgB;QACtB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/issue/create.js
CHANGED
|
@@ -65,8 +65,8 @@ export const makeCreateIssueContract = (ids) => {
|
|
|
65
65
|
openWorldHint: true,
|
|
66
66
|
readOnlyHint: false,
|
|
67
67
|
},
|
|
68
|
-
description: "Create a bug report, maintenance
|
|
69
|
-
"A user can create a
|
|
68
|
+
description: "Create a bug report, blocker (issue type `maintenance`), or coverage request issue for the caller's team. " +
|
|
69
|
+
"A user can create a blocker only when they can see the workspace's blockers; " +
|
|
70
70
|
"a team or organization API key credits it to the workspace's automation user. " +
|
|
71
71
|
"Link its failed flows afterwards with run.diagnose.",
|
|
72
72
|
input,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/v1/issue/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAMrC,GAMD,EAAE,EAAE;IACH,MAAM,YAAY,GAAG;QACnB,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,sIAAsI,CACvI;QACH,wEAAwE;QACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QACvC,QAAQ,EAAE,mBAAmB;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,oEAAoE,CACrE;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,0GAA0G,CAC3G;KACJ,CAAC;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;QACzC,CAAC,CAAC,MAAM,CAAC;YACP,GAAG,YAAY;YACf,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;SACvB,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,GAAG,YAAY;YACf,gBAAgB,EAAE,CAAC,CAAC,GAAG;iBACpB,IAAI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,CAAC;iBACN,IAAI,CAAC;gBACJ,qBAAqB;gBACrB,eAAe;gBACf,aAAa;gBACb,mBAAmB;gBACnB,wBAAwB;gBACxB,aAAa;gBACb,aAAa;gBACb,eAAe;gBACf,OAAO;gBACP,WAAW;aACZ,CAAC;iBACD,QAAQ,CACP,+KAA+K,CAChL;YACH,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;SAC/B,CAAC;KACH,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,sGAAsG;YACxG,aAAa,EACX,sHAAsH;YACxH,YAAY,EACV,iFAAiF;SACpF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,4GAA4G;YAC5G,+EAA+E;YAC/E,gFAAgF;YAChF,qDAAqD;QACvD,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/issue/index.d.ts
CHANGED
|
@@ -68,14 +68,14 @@ export declare const makeFindIssuesContract: <EnvironmentId extends PublicIdSche
|
|
|
68
68
|
readonly annotationJustifications: {
|
|
69
69
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
70
70
|
readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
|
|
71
|
-
readonly readOnlyHint: "Lists workspace bug reports,
|
|
71
|
+
readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
|
|
72
72
|
};
|
|
73
73
|
readonly annotations: {
|
|
74
74
|
readonly destructiveHint: false;
|
|
75
75
|
readonly openWorldHint: false;
|
|
76
76
|
readonly readOnlyHint: true;
|
|
77
77
|
};
|
|
78
|
-
readonly description: "List the team's bug reports,
|
|
78
|
+
readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
|
|
79
79
|
readonly input: z.ZodObject<{
|
|
80
80
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
81
81
|
pending: "pending";
|
package/dist/v1/issue/index.js
CHANGED
|
@@ -27,7 +27,7 @@ const openIssueStatuses = [
|
|
|
27
27
|
export const makeIssueResourceSchema = (ids) => resource({
|
|
28
28
|
coveredFlowIds: z
|
|
29
29
|
.array(ids.flow)
|
|
30
|
-
.describe("The flows a coverage request covers. Always empty on bug and
|
|
30
|
+
.describe("The flows a coverage request covers. Always empty on bug reports and blockers, whose flows are listed under reproductions."),
|
|
31
31
|
createdAt: z.coerce.date().describe("When the issue was created."),
|
|
32
32
|
description: z.string().describe("The issue description in Markdown."),
|
|
33
33
|
issueId: ids.issue,
|
|
@@ -54,7 +54,7 @@ export const makeFindIssuesContract = (ids) => {
|
|
|
54
54
|
.min(1)
|
|
55
55
|
.default([...openIssueStatuses])
|
|
56
56
|
.describe("Issue statuses to include. Defaults to backlog, pending, in-progress, and paused issues."),
|
|
57
|
-
type: publicIssueTypeSchema.describe("The issue type to include: bug report, maintenance
|
|
57
|
+
type: publicIssueTypeSchema.describe("The issue type to include: bug report (`bug`), blocker (`maintenance`), or coverage request (`coverageRequest`)."),
|
|
58
58
|
workspaceId: ids.workspace
|
|
59
59
|
.optional()
|
|
60
60
|
.describe("The workspace whose issues to list. Required when authenticating with an organization or user API key."),
|
|
@@ -62,21 +62,21 @@ export const makeFindIssuesContract = (ids) => {
|
|
|
62
62
|
const output = z.object({
|
|
63
63
|
issues: z
|
|
64
64
|
.array(makeIssueResourceSchema(ids))
|
|
65
|
-
.describe("The team's bug reports,
|
|
65
|
+
.describe("The team's bug reports, blockers, or coverage requests, newest first."),
|
|
66
66
|
nextCursor: nextCursorSchema,
|
|
67
67
|
});
|
|
68
68
|
return {
|
|
69
69
|
annotationJustifications: {
|
|
70
70
|
destructiveHint: "Does not edit issue details, statuses or coverage associations.",
|
|
71
71
|
openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.",
|
|
72
|
-
readOnlyHint: "Lists workspace bug reports,
|
|
72
|
+
readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.",
|
|
73
73
|
},
|
|
74
74
|
annotations: {
|
|
75
75
|
destructiveHint: false,
|
|
76
76
|
openWorldHint: false,
|
|
77
77
|
readOnlyHint: true,
|
|
78
78
|
},
|
|
79
|
-
description: "List the team's bug reports,
|
|
79
|
+
description: "List the team's bug reports, blockers, or coverage requests, newest first.",
|
|
80
80
|
input,
|
|
81
81
|
kind: "read",
|
|
82
82
|
name: "issue.find",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/issue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,eAAe;IACf,KAAK;IACL,QAAQ;IACR,MAAM;IACN,QAAQ;CACT,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,SAAS;IACT,SAAS;IACT,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAAC;AAEhF,MAAM,iBAAiB,GAAG;IACxB,SAAS;IACT,SAAS;IACT,YAAY;IACZ,QAAQ;CACA,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAu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P,uEAAuE,CACxE;QACH,UAAU,EAAE,gBAAgB;KAC7B,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,iEAAiE;YACnE,aAAa,EACX,4EAA4E;YAC9E,YAAY,EACV,6DAA6D;SAChE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,4EAA4E;QAC9E,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;QAClB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAKlC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,GAAG,CAAC,KAAK;KACnB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,sCAAsC;YACvD,aAAa,EACX,mEAAmE;YACrE,YAAY,EAAE,iDAAiD;SAChE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,qBAAqB;QAClC,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,WAAW;QACjB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export const makeRemoveFlowsFromIssueContract = (ids) => {
|
|
|
4
4
|
const input = z.object({
|
|
5
5
|
environmentId: ids.environment
|
|
6
6
|
.optional()
|
|
7
|
-
.describe("The environment whose bug or
|
|
7
|
+
.describe("The environment whose bug report or blocker reproductions to remove. Required when a selected flow is linked in more than one environment."),
|
|
8
8
|
flowIds: z
|
|
9
9
|
.array(ids.flow)
|
|
10
10
|
.min(1)
|
|
@@ -28,7 +28,7 @@ export const makeRemoveFlowsFromIssueContract = (ids) => {
|
|
|
28
28
|
openWorldHint: true,
|
|
29
29
|
readOnlyHint: false,
|
|
30
30
|
},
|
|
31
|
-
description: "Remove flows from a coverage request or remove bug
|
|
31
|
+
description: "Remove flows from a coverage request or remove bug report or blocker reproductions in an environment. " +
|
|
32
32
|
"Unlinked flows are left alone. Reports auto-close when no active reproductions remain and auto-close is enabled. " +
|
|
33
33
|
"For reports, omit environmentId only when each selected flow is linked in at most one environment.",
|
|
34
34
|
input,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAK9C,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,WAAW;aAC3B,QAAQ,EAAE;aACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"removeFlows.js","sourceRoot":"","sources":["../../../src/v1/issue/removeFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAK9C,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,WAAW;aAC3B,QAAQ,EAAE;aACV,QAAQ,CACP,4IAA4I,CAC7I;QACH,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,4CAA4C;aAC3C,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CAAC,qCAAqC,CAAC;QAClD,OAAO,EAAE,GAAG,CAAC,KAAK;KACnB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,4FAA4F;YAC9F,aAAa,EACX,kFAAkF;YACpF,YAAY,EACV,oEAAoE;SACvE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,wGAAwG;YACxG,mHAAmH;YACnH,oGAAoG;QACtG,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/issue/update.js
CHANGED
|
@@ -17,7 +17,7 @@ export const makeUpdateIssueContract = (ids) => {
|
|
|
17
17
|
priority: issuePrioritySchema.optional(),
|
|
18
18
|
status: issueStatusSchema
|
|
19
19
|
.optional()
|
|
20
|
-
.describe("Bug and
|
|
20
|
+
.describe("Bug reports and blockers allow only these changes: pending to canceled or archived, canceled to archived, and resolved to archived. Requesting pending or inProgress on a bug report resolved in the last 7 days reopens it. The stored status is inProgress when a flow still reproduces it, and pending otherwise. Never set resolved on a bug report: it resolves on its own once its flows pass. A coverage request can move to backlog, pending, paused, inProgress, resolved or archived."),
|
|
21
21
|
})
|
|
22
22
|
.refine((update) =>
|
|
23
23
|
// An empty description clears the description, so compare against
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAKrC,GAKD,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CACP,sIAAsI,CACvI,CAAC;IACJ,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrD,4EAA4E;IAC5E,6EAA6E;IAC7E,0EAA0E;IAC1E,wCAAwC;IACxC,MAAM,KAAK,GAAG,CAAC;SACZ,MAAM,CAAC;QACN,WAAW,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QACzC,OAAO,EAAE,GAAG,CAAC,KAAK;QAClB,IAAI,EAAE,UAAU,CAAC,QAAQ,EAAE;QAC3B,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,EAAE;QACxC,MAAM,EAAE,iBAAiB;aACtB,QAAQ,EAAE;aACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAKrC,GAKD,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CACP,sIAAsI,CACvI,CAAC;IACJ,MAAM,UAAU,GA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<EnvironmentId extends PublicIdSch
|
|
|
9
9
|
readonly annotationJustifications: {
|
|
10
10
|
readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
|
|
11
11
|
readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
|
|
12
|
-
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug or
|
|
12
|
+
readonly readOnlyHint: "Records failed flows as reproductions of a selected bug report or blocker.";
|
|
13
13
|
};
|
|
14
14
|
readonly annotations: {
|
|
15
15
|
readonly destructiveHint: true;
|
package/dist/v1/run/diagnose.js
CHANGED
|
@@ -19,14 +19,14 @@ export const makeDiagnoseRunContract = (ids) => {
|
|
|
19
19
|
annotationJustifications: {
|
|
20
20
|
destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.",
|
|
21
21
|
openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.",
|
|
22
|
-
readOnlyHint: "Records failed flows as reproductions of a selected bug or
|
|
22
|
+
readOnlyHint: "Records failed flows as reproductions of a selected bug report or blocker.",
|
|
23
23
|
},
|
|
24
24
|
annotations: {
|
|
25
25
|
destructiveHint: true,
|
|
26
26
|
openWorldHint: true,
|
|
27
27
|
readOnlyHint: false,
|
|
28
28
|
},
|
|
29
|
-
description: "Link failed flows in a run to an existing bug or
|
|
29
|
+
description: "Link failed flows in a run to an existing bug report or blocker owned by the caller's team, recording them as its reproductions. " +
|
|
30
30
|
"It does not explain why a run failed; read investigation.get or attempt.get for that. " +
|
|
31
31
|
"The issue's type selects the diagnosis. " +
|
|
32
32
|
"Each flow must have failed in the run. " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnose.js","sourceRoot":"","sources":["../../../src/v1/run/diagnose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,CAAC,MAAM,uBAAuB,G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BAAwB,CACzB;aACA,QAAQ,CAAC,iDAAiD,CAAC;QAC9D,OAAO,EAAE,GAAG,CAAC,KAAK;QAClB,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,qGAAqG;YACvG,aAAa,EACX,iGAAiG;YACnG,YAAY,EACV,4EAA4E;SAC/E;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,mIAAmI;YACnI,wFAAwF;YACxF,0CAA0C;YAC1C,yCAAyC;YACzC,8GAA8G;YAC9G,kGAAkG;YAClG,mFAAmF;QACrF,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const makeFlowAttemptsSchema: <RunAttemptId extends PublicIdSchema>(ids: {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
runAttempt: RunAttemptId;
|
|
6
|
+
}) => z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
|
+
attemptId: z.ZodOptional<RunAttemptId>;
|
|
8
|
+
completedAt: z.ZodISODateTime;
|
|
9
|
+
kind: z.ZodLiteral<"automated">;
|
|
10
|
+
startedAt: z.ZodISODateTime;
|
|
11
|
+
status: z.ZodLiteral<"passed">;
|
|
12
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
13
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
14
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
15
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
attemptId: z.ZodOptional<RunAttemptId>;
|
|
18
|
+
completedAt: z.ZodISODateTime;
|
|
19
|
+
kind: z.ZodLiteral<"automated">;
|
|
20
|
+
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
21
|
+
status: z.ZodLiteral<"failed">;
|
|
22
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
23
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
24
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
25
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
attemptId: z.ZodOptional<RunAttemptId>;
|
|
28
|
+
canceledReason: z.ZodOptional<z.ZodString>;
|
|
29
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
30
|
+
kind: z.ZodLiteral<"automated">;
|
|
31
|
+
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
32
|
+
status: z.ZodLiteral<"canceled">;
|
|
33
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
34
|
+
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
35
|
+
attemptId: z.ZodOptional<RunAttemptId>;
|
|
36
|
+
completedAt: z.ZodISODateTime;
|
|
37
|
+
kind: z.ZodLiteral<"manual">;
|
|
38
|
+
startedAt: z.ZodISODateTime;
|
|
39
|
+
status: z.ZodLiteral<"passed">;
|
|
40
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
41
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
42
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
43
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
44
|
+
}, z.core.$strip>]>>>;
|
|
45
|
+
//# sourceMappingURL=flowAttempts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowAttempts.d.ts","sourceRoot":"","sources":["../../../src/v1/run/flowAttempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,sBAAsB,GACjC,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2FA,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const makeFlowAttemptsSchema = (ids) => {
|
|
3
|
+
const artifactUrls = {
|
|
4
|
+
logsUrl: z
|
|
5
|
+
.url()
|
|
6
|
+
.optional()
|
|
7
|
+
.describe("Signed URL for the attempt's execution logs."),
|
|
8
|
+
traceUrl: z
|
|
9
|
+
.url()
|
|
10
|
+
.optional()
|
|
11
|
+
.describe("Signed URL for the attempt's Playwright trace (a trace.zip; open it with `npx playwright show-trace`)."),
|
|
12
|
+
videoUrl: z
|
|
13
|
+
.url()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe("Signed URL for the attempt's screen recording."),
|
|
16
|
+
};
|
|
17
|
+
const automatedKind = z
|
|
18
|
+
.literal("automated")
|
|
19
|
+
.describe("The attempt ran on a QA Wolf runner.");
|
|
20
|
+
const attemptUrl = z
|
|
21
|
+
.url()
|
|
22
|
+
.optional()
|
|
23
|
+
.describe("Absolute URL of the attempt's page in the app, which opens this flow at this attempt. Link this page to show one flow's attempt: the run page opens a different flow. Absent only in replies from servers older than this field.");
|
|
24
|
+
const automatedAttempt = z.discriminatedUnion("status", [
|
|
25
|
+
z.object({
|
|
26
|
+
...artifactUrls,
|
|
27
|
+
attemptId: ids.runAttempt.optional(),
|
|
28
|
+
completedAt: z.iso.datetime(),
|
|
29
|
+
kind: automatedKind,
|
|
30
|
+
startedAt: z.iso.datetime(),
|
|
31
|
+
status: z.literal("passed"),
|
|
32
|
+
url: attemptUrl,
|
|
33
|
+
}),
|
|
34
|
+
z.object({
|
|
35
|
+
...artifactUrls,
|
|
36
|
+
attemptId: ids.runAttempt.optional(),
|
|
37
|
+
completedAt: z.iso.datetime(),
|
|
38
|
+
kind: automatedKind,
|
|
39
|
+
startedAt: z.iso
|
|
40
|
+
.datetime()
|
|
41
|
+
.optional()
|
|
42
|
+
.describe("Absent when the attempt failed before it could start."),
|
|
43
|
+
status: z.literal("failed"),
|
|
44
|
+
url: attemptUrl,
|
|
45
|
+
}),
|
|
46
|
+
z.object({
|
|
47
|
+
attemptId: ids.runAttempt.optional(),
|
|
48
|
+
canceledReason: z
|
|
49
|
+
.string()
|
|
50
|
+
.min(1)
|
|
51
|
+
.optional()
|
|
52
|
+
.describe("Why the attempt was canceled. userCanceled means a person stopped it; do not immediately retry that activity."),
|
|
53
|
+
completedAt: z.iso.datetime().optional(),
|
|
54
|
+
kind: automatedKind,
|
|
55
|
+
startedAt: z.iso.datetime().optional(),
|
|
56
|
+
status: z
|
|
57
|
+
.literal("canceled")
|
|
58
|
+
.describe("The attempt was terminated without reaching a verdict."),
|
|
59
|
+
url: attemptUrl,
|
|
60
|
+
}),
|
|
61
|
+
]);
|
|
62
|
+
const manualAttempt = z.object({
|
|
63
|
+
...artifactUrls,
|
|
64
|
+
attemptId: ids.runAttempt.optional(),
|
|
65
|
+
completedAt: z.iso.datetime(),
|
|
66
|
+
kind: z
|
|
67
|
+
.literal("manual")
|
|
68
|
+
.describe("The attempt ran by hand in the Wolf Browser."),
|
|
69
|
+
startedAt: z.iso.datetime(),
|
|
70
|
+
status: z.literal("passed"),
|
|
71
|
+
url: attemptUrl,
|
|
72
|
+
});
|
|
73
|
+
const attempt = z.union([automatedAttempt, manualAttempt]);
|
|
74
|
+
return z
|
|
75
|
+
.array(attempt)
|
|
76
|
+
.optional()
|
|
77
|
+
.describe("The flow's finished execution attempts, oldest first, including " +
|
|
78
|
+
"manual Wolf Browser attempts. Present once at least one attempt has " +
|
|
79
|
+
"finished, so a flow that passed after retries also lists its failed " +
|
|
80
|
+
"attempts. Artifact URLs appear only on attempts that reached a " +
|
|
81
|
+
"verdict, and on a manual attempt only when its Wolf Browser run " +
|
|
82
|
+
"kept them. They stay valid for at least a day (call run.get again " +
|
|
83
|
+
"for fresh ones), and can return 404 when the attempt did not " +
|
|
84
|
+
"produce that artifact.");
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=flowAttempts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flowAttempts.js","sourceRoot":"","sources":["../../../src/v1/run/flowAttempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAEpC,GAGD,EAAE,EAAE;IACH,MAAM,YAAY,GAAG;QACnB,OAAO,EAAE,CAAC;aACP,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,8CAA8C,CAAC;QAC3D,QAAQ,EAAE,CAAC;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CACP,wGAAwG,CACzG;QACH,QAAQ,EAAE,CAAC;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,CAAC;IACF,MAAM,aAAa,GAAG,CAAC;SACpB,OAAO,CAAC,WAAW,CAAC;SACpB,QAAQ,CAAC,sCAAsC,CAAC,CAAC;IACpD,MAAM,UAAU,GAAG,CAAC;SACjB,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,kOAAkO,CACnO,CAAC;IACJ,MAAM,gBAAgB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;QACtD,CAAC,CAAC,MAAM,CAAC;YAC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AC,MAAM,CAAC;QAC7B,GAAG,YAAY;QACf,SAAS,EAAE,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE;QACpC,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;QAC7B,IAAI,EAAE,CAAC;aACJ,OAAO,CAAC,QAAQ,CAAC;aACjB,QAAQ,CAAC,8CAA8C,CAAC;QAC3D,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;QAC3B,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC3B,GAAG,EAAE,UAAU;KAChB,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC;IAC3D,OAAO,CAAC;SACL,KAAK,CAAC,OAAO,CAAC;SACd,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE;QAChE,sEAAsE;QACtE,sEAAsE;QACtE,iEAAiE;QACjE,kEAAkE;QAClE,oEAAoE;QACpE,+DAA+D;QAC/D,wBAAwB,CAC3B,CAAC;AACN,CAAC,CAAC"}
|
package/dist/v1/run/get.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
39
39
|
kind: z.ZodLiteral<"automated">;
|
|
40
40
|
startedAt: z.ZodISODateTime;
|
|
41
41
|
status: z.ZodLiteral<"passed">;
|
|
42
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
42
43
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
43
44
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
44
45
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -48,6 +49,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
48
49
|
kind: z.ZodLiteral<"automated">;
|
|
49
50
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
50
51
|
status: z.ZodLiteral<"failed">;
|
|
52
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
51
53
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
52
54
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
53
55
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -58,12 +60,17 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
58
60
|
kind: z.ZodLiteral<"automated">;
|
|
59
61
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
60
62
|
status: z.ZodLiteral<"canceled">;
|
|
63
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
61
64
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
62
65
|
attemptId: z.ZodOptional<RunAttemptId>;
|
|
63
66
|
completedAt: z.ZodISODateTime;
|
|
64
67
|
kind: z.ZodLiteral<"manual">;
|
|
65
68
|
startedAt: z.ZodISODateTime;
|
|
66
69
|
status: z.ZodLiteral<"passed">;
|
|
70
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
71
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
72
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
73
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
67
74
|
}, z.core.$strip>]>>>;
|
|
68
75
|
failure: z.ZodObject<{
|
|
69
76
|
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,6 +98,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
91
98
|
kind: z.ZodLiteral<"automated">;
|
|
92
99
|
startedAt: z.ZodISODateTime;
|
|
93
100
|
status: z.ZodLiteral<"passed">;
|
|
101
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
94
102
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
95
103
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
96
104
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -100,6 +108,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
100
108
|
kind: z.ZodLiteral<"automated">;
|
|
101
109
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
102
110
|
status: z.ZodLiteral<"failed">;
|
|
111
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
103
112
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
104
113
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
105
114
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -110,12 +119,17 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
110
119
|
kind: z.ZodLiteral<"automated">;
|
|
111
120
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
112
121
|
status: z.ZodLiteral<"canceled">;
|
|
122
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
113
123
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
114
124
|
attemptId: z.ZodOptional<RunAttemptId>;
|
|
115
125
|
completedAt: z.ZodISODateTime;
|
|
116
126
|
kind: z.ZodLiteral<"manual">;
|
|
117
127
|
startedAt: z.ZodISODateTime;
|
|
118
128
|
status: z.ZodLiteral<"passed">;
|
|
129
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
130
|
+
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
131
|
+
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
132
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
119
133
|
}, z.core.$strip>]>>>;
|
|
120
134
|
flowId: FlowId;
|
|
121
135
|
name: z.ZodString;
|
package/dist/v1/run/get.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAOhD,eAAO,MAAM,kBAAkB,GAC7B,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGA,CAAC"}
|
package/dist/v1/run/get.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { resource } from "../resource.js";
|
|
3
|
+
import { makeFlowAttemptsSchema } from "./flowAttempts.js";
|
|
3
4
|
import { makeFlowFailureSchema } from "./flowFailure.js";
|
|
4
5
|
import { makeRunSummaryFields, publicRunStatusValues } from "./summary.js";
|
|
5
6
|
export const makeGetRunContract = (ids) => {
|
|
@@ -16,81 +17,7 @@ export const makeGetRunContract = (ids) => {
|
|
|
16
17
|
"return every flow. The run-level fields are unaffected."),
|
|
17
18
|
runId: ids.run,
|
|
18
19
|
});
|
|
19
|
-
const
|
|
20
|
-
logsUrl: z
|
|
21
|
-
.url()
|
|
22
|
-
.optional()
|
|
23
|
-
.describe("Signed URL for the attempt's execution logs."),
|
|
24
|
-
traceUrl: z
|
|
25
|
-
.url()
|
|
26
|
-
.optional()
|
|
27
|
-
.describe("Signed URL for the attempt's Playwright trace (a trace.zip; open it with `npx playwright show-trace`)."),
|
|
28
|
-
videoUrl: z
|
|
29
|
-
.url()
|
|
30
|
-
.optional()
|
|
31
|
-
.describe("Signed URL for the attempt's screen recording."),
|
|
32
|
-
};
|
|
33
|
-
const automatedKind = z
|
|
34
|
-
.literal("automated")
|
|
35
|
-
.describe("The attempt ran on a QA Wolf runner.");
|
|
36
|
-
// A terminated attempt never carries artifact links. Manual attempts always pass and
|
|
37
|
-
// never carry artifact links. The contract therefore cannot emit a record
|
|
38
|
-
// that contradicts its own status or kind.
|
|
39
|
-
const automatedAttempt = z.discriminatedUnion("status", [
|
|
40
|
-
z.object({
|
|
41
|
-
...artifactUrls,
|
|
42
|
-
attemptId: ids.runAttempt.optional(),
|
|
43
|
-
completedAt: z.iso.datetime(),
|
|
44
|
-
kind: automatedKind,
|
|
45
|
-
startedAt: z.iso.datetime(),
|
|
46
|
-
status: z.literal("passed"),
|
|
47
|
-
}),
|
|
48
|
-
z.object({
|
|
49
|
-
...artifactUrls,
|
|
50
|
-
attemptId: ids.runAttempt.optional(),
|
|
51
|
-
completedAt: z.iso.datetime(),
|
|
52
|
-
kind: automatedKind,
|
|
53
|
-
startedAt: z.iso
|
|
54
|
-
.datetime()
|
|
55
|
-
.optional()
|
|
56
|
-
.describe("Absent when the attempt failed before it could start."),
|
|
57
|
-
status: z.literal("failed"),
|
|
58
|
-
}),
|
|
59
|
-
z.object({
|
|
60
|
-
attemptId: ids.runAttempt.optional(),
|
|
61
|
-
canceledReason: z
|
|
62
|
-
.string()
|
|
63
|
-
.min(1)
|
|
64
|
-
.optional()
|
|
65
|
-
.describe("Why the attempt was canceled. userCanceled means a person stopped it; do not immediately retry that activity."),
|
|
66
|
-
completedAt: z.iso.datetime().optional(),
|
|
67
|
-
kind: automatedKind,
|
|
68
|
-
startedAt: z.iso.datetime().optional(),
|
|
69
|
-
status: z
|
|
70
|
-
.literal("canceled")
|
|
71
|
-
.describe("The attempt was terminated without reaching a verdict."),
|
|
72
|
-
}),
|
|
73
|
-
]);
|
|
74
|
-
const manualAttempt = z.object({
|
|
75
|
-
attemptId: ids.runAttempt.optional(),
|
|
76
|
-
completedAt: z.iso.datetime(),
|
|
77
|
-
kind: z
|
|
78
|
-
.literal("manual")
|
|
79
|
-
.describe("The attempt ran by hand in the Wolf Browser."),
|
|
80
|
-
startedAt: z.iso.datetime(),
|
|
81
|
-
status: z.literal("passed"),
|
|
82
|
-
});
|
|
83
|
-
const attempt = z.union([automatedAttempt, manualAttempt]);
|
|
84
|
-
const attempts = z
|
|
85
|
-
.array(attempt)
|
|
86
|
-
.optional()
|
|
87
|
-
.describe("The flow's finished execution attempts, oldest first, including " +
|
|
88
|
-
"manual Wolf Browser attempts. Present once at least one attempt has " +
|
|
89
|
-
"finished, so a flow that passed after retries also lists its failed " +
|
|
90
|
-
"attempts. Artifact URLs appear only on automated attempts that " +
|
|
91
|
-
"reached a verdict, stay valid for at least a day (call run.get " +
|
|
92
|
-
"again for fresh ones), and can return 404 when the attempt did not " +
|
|
93
|
-
"produce that artifact.");
|
|
20
|
+
const attempts = makeFlowAttemptsSchema(ids);
|
|
94
21
|
// We return one flat entry per flow, each carrying its own status, rather
|
|
95
22
|
// than status-keyed buckets (`{ passed: [...], failed: [...] }`). A flat list
|
|
96
23
|
// is a superset — the caller can group by status — and gives each flow a
|
package/dist/v1/run/get.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cA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BAAmB,EAAE,+BAA+B,EAAE,CACzD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,0CAA0C;YAC3D,aAAa,EACX,6EAA6E;YAC/E,YAAY,EACV,8DAA8D;SACjE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,qFAAqF;QACvF,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAG5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,eAAO,MAAM,qBAAqB,GAChC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAG5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,eAAO,MAAM,qBAAqB,GAChC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GA,CAAC"}
|
package/dist/v1/run/index.js
CHANGED
|
@@ -17,7 +17,10 @@ export const makeCreateRunContract = (ids) => {
|
|
|
17
17
|
.optional()
|
|
18
18
|
.describe("The chat session whose transcript should receive run status updates."),
|
|
19
19
|
environmentId: ids.environmentRef,
|
|
20
|
-
environmentVariables: z
|
|
20
|
+
environmentVariables: z
|
|
21
|
+
.record(z.string(), z.string())
|
|
22
|
+
.optional()
|
|
23
|
+
.describe("Environment variables for this run only, over the environment's own."),
|
|
21
24
|
ignoreRules: z
|
|
22
25
|
.boolean()
|
|
23
26
|
.describe("Ignore this team's sequencing rules for this run. By default they are honoured: the flows your selection depends on are added to the run, and flows run in the order the rules require. Set this to run exactly what you selected, in any order.")
|
package/dist/v1/run/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAA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ClC,QAAQ,CACP,mJAAmJ,CACpJ;SACJ,CAAC,CACH;aACA,QAAQ,CACP,oIAAoI,CACrI;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;QACd,QAAQ,EAAE,CAAC;aACR,IAAI,CAAC,CAAC,YAAY,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;aAC/C,QAAQ,CACP,gRAAgR,CACjR;KACJ,EACD,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CACzD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,qDAAqD;YACtE,aAAa,EACX,kGAAkG;YACpG,YAAY,EAAE,yDAAyD;SACxE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oEAAoE;QACtE,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const makeOptOutOfInvestigationRunContract: <FlowId extends Publi
|
|
|
8
8
|
readonly annotationJustifications: {
|
|
9
9
|
readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
|
|
10
10
|
readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
|
|
11
|
-
readonly readOnlyHint: "Records failed flows as needing no bug or
|
|
11
|
+
readonly readOnlyHint: "Records failed flows as needing no bug report or blocker.";
|
|
12
12
|
};
|
|
13
13
|
readonly annotations: {
|
|
14
14
|
readonly destructiveHint: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optOutOfInvestigation.d.ts","sourceRoot":"","sources":["../../../src/v1/run/optOutOfInvestigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oCAAoC,GAC/C,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"optOutOfInvestigation.d.ts","sourceRoot":"","sources":["../../../src/v1/run/optOutOfInvestigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oCAAoC,GAC/C,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;CAyDA,CAAC"}
|
|
@@ -22,14 +22,14 @@ export const makeOptOutOfInvestigationRunContract = (ids) => {
|
|
|
22
22
|
annotationJustifications: {
|
|
23
23
|
destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.",
|
|
24
24
|
openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.",
|
|
25
|
-
readOnlyHint: "Records failed flows as needing no bug or
|
|
25
|
+
readOnlyHint: "Records failed flows as needing no bug report or blocker.",
|
|
26
26
|
},
|
|
27
27
|
annotations: {
|
|
28
28
|
destructiveHint: true,
|
|
29
29
|
openWorldHint: true,
|
|
30
30
|
readOnlyHint: false,
|
|
31
31
|
},
|
|
32
|
-
description: 'Mark failed flows in a run as "do not investigate" (DNI): the failures need no bug or
|
|
32
|
+
description: 'Mark failed flows in a run as "do not investigate" (DNI): the failures need no bug report or blocker. ' +
|
|
33
33
|
"Each flow must have failed in the run and still be under investigation. " +
|
|
34
34
|
"A flow that already has a diagnosis cannot be opted out. " +
|
|
35
35
|
"A team or organization key records the opt-out as the workspace's automation user. " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optOutOfInvestigation.js","sourceRoot":"","sources":["../../../src/v1/run/optOutOfInvestigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAGlD,GAID,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;YACP,iCAAiC;aAChC,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CACP,mEAAmE;YACjE,4CAA4C,CAC/C;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,QAAQ,CACrB;QACE,eAAe,EAAE,CAAC;aACf,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,QAAQ,CAAC,8CAA8C,CAAC;QAC3D,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,EACD,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CACzD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,kGAAkG;YACpG,aAAa,EACX,wFAAwF;YAC1F,YAAY,
|
|
1
|
+
{"version":3,"file":"optOutOfInvestigation.js","sourceRoot":"","sources":["../../../src/v1/run/optOutOfInvestigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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ublicIdSchema, Worksp
|
|
|
104
104
|
readonly openWorldHint: false;
|
|
105
105
|
readonly readOnlyHint: false;
|
|
106
106
|
};
|
|
107
|
-
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
107
|
+
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
108
108
|
readonly input: import("zod").ZodObject<{
|
|
109
109
|
id: import("zod").ZodString;
|
|
110
110
|
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
@@ -13,7 +13,7 @@ export declare const makeTakeScreenshotOnRunnerContract: <WorkspaceId extends Pu
|
|
|
13
13
|
readonly openWorldHint: false;
|
|
14
14
|
readonly readOnlyHint: false;
|
|
15
15
|
};
|
|
16
|
-
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
16
|
+
readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
17
17
|
readonly input: z.ZodObject<{
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -31,7 +31,7 @@ export const makeTakeScreenshotOnRunnerContract = (ids) => {
|
|
|
31
31
|
openWorldHint: false,
|
|
32
32
|
readOnlyHint: false,
|
|
33
33
|
},
|
|
34
|
-
description: `Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. ${screenNeedsARunDescription} ${screenNotReadyDescription} ${runnerHasNoScreenDescription} ${retryableRunnerUnreachableDescription}`,
|
|
34
|
+
description: `Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. ${screenNeedsARunDescription} ${screenNotReadyDescription} On a mobile or Windows runner, \`screen-not-ready\` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. ${runnerHasNoScreenDescription} ${retryableRunnerUnreachableDescription}`,
|
|
35
35
|
input,
|
|
36
36
|
kind: "read",
|
|
37
37
|
name: "runner.takeScreenshot",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"takeScreenshot.js","sourceRoot":"","sources":["../../../src/v1/runner/takeScreenshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qCAAqC,EACrC,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAEhD,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,EAAE,EAAE,cAAc,CAAC,QAAQ,CAAC,2CAA2C,CAAC;QACxE,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,4BAA4B,CAAC;KAC1C,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;QAC7C,CAAC,CAAC,MAAM,CAAC;YACP,eAAe,EAAE,qBAAqB;YACtC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;SAC9B,CAAC;QACF,uBAAuB,CAAC;YACtB,GAAG,oBAAoB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