@qawolf/api-contracts 0.97.0 → 0.98.1
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/environment/index.d.ts +2 -2
- package/dist/v1/environment/index.js +2 -2
- package/dist/v1/environment/index.js.map +1 -1
- package/dist/v1/environment/resource.js +1 -1
- package/dist/v1/environment/resource.js.map +1 -1
- package/dist/v1/index.d.ts +30 -14
- 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 +8 -0
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/get.js +2 -74
- 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
|
@@ -4,14 +4,14 @@ export declare const makeGetEnvironmentContract: <EnvironmentId extends PublicId
|
|
|
4
4
|
readonly annotationJustifications: {
|
|
5
5
|
readonly destructiveHint: "Does not alter environment settings or concurrency limits.";
|
|
6
6
|
readonly openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.";
|
|
7
|
-
readonly readOnlyHint: "Retrieves an environment's configuration,
|
|
7
|
+
readonly readOnlyHint: "Retrieves an environment's configuration, release readiness and code-reconciliation state.";
|
|
8
8
|
};
|
|
9
9
|
readonly annotations: {
|
|
10
10
|
readonly destructiveHint: false;
|
|
11
11
|
readonly openWorldHint: false;
|
|
12
12
|
readonly readOnlyHint: true;
|
|
13
13
|
};
|
|
14
|
-
readonly description: "Read a single environment's name, kind,
|
|
14
|
+
readonly description: "Read a single environment's name, kind, release readiness status, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.";
|
|
15
15
|
readonly input: z.ZodObject<{
|
|
16
16
|
environmentId: PublicIdSchema;
|
|
17
17
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -11,14 +11,14 @@ export const makeGetEnvironmentContract = (ids) => {
|
|
|
11
11
|
annotationJustifications: {
|
|
12
12
|
destructiveHint: "Does not alter environment settings or concurrency limits.",
|
|
13
13
|
openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.",
|
|
14
|
-
readOnlyHint: "Retrieves an environment's configuration,
|
|
14
|
+
readOnlyHint: "Retrieves an environment's configuration, release readiness and code-reconciliation state.",
|
|
15
15
|
},
|
|
16
16
|
annotations: {
|
|
17
17
|
destructiveHint: false,
|
|
18
18
|
openWorldHint: false,
|
|
19
19
|
readOnlyHint: true,
|
|
20
20
|
},
|
|
21
|
-
description: "Read a single environment's name, kind,
|
|
21
|
+
description: "Read a single environment's name, kind, release readiness status, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.",
|
|
22
22
|
input,
|
|
23
23
|
kind: "read",
|
|
24
24
|
name: "environment.get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAMxC,GAMC,EACD,EAAE;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;IAElD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,4DAA4D;YAC9D,aAAa,EACX,8EAA8E;YAChF,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAMxC,GAMC,EACD,EAAE;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,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AAC,MAAM,kCAAkC,GAAG,CAMhD,GAMC,EACD,EAAE;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,CAAC,EAAE,4CAA4C,CAAC;aACpD,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CACP,mLAAmL,CACpL;QACH,KAAK,EAAE,CAAC;aACL,MAAM,EAAE;aACR,QAAQ,CACP,mEAAmE,CACpE;QACH,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,CACP,oGAAoG,CACrG;KACJ,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,gFAAgF;YAClF,aAAa,EACX,0FAA0F;YAC5F,YAAY,EACV,+EAA+E;SAClF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,6JAA6J;QAC/J,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,yBAAyB;QAC/B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -53,7 +53,7 @@ export const makeEnvironmentResourceSchema = (ids) => resource({
|
|
|
53
53
|
// (deriveEffectiveEnvironmentStatus): "ready" is the greenlit state.
|
|
54
54
|
status: z
|
|
55
55
|
.enum(["blocked", "needs-investigation", "ready", "running"])
|
|
56
|
-
.describe("
|
|
56
|
+
.describe("Release readiness from the environment's open bugs and runs, not its Git reconciliation state: blocked (an open urgent, high, or unprioritized bug reproduces here), needs-investigation (failures await triage), running (flows are executing), or ready (none of these, the greenlit state). It only reports. It never stops runs, validation, or publishing."),
|
|
57
57
|
terminatedAt: z.iso
|
|
58
58
|
.datetime()
|
|
59
59
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/v1/environment/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAE3C,GAED,EAAE,EAAE,CACH,QAAQ,CACN;IACE,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+HAA+H,CAChI;IACH,iBAAiB,EAAE,GAAG,CAAC,WAAW;SAC/B,QAAQ,EAAE;SACV,QAAQ,CACP,4EAA4E,CAC7E;IACH,iEAAiE;IACjE,kEAAkE;IAClE,0DAA0D;IAC1D,cAAc,EAAE,CAAC;SACd,kBAAkB,CAAC,YAAY,EAAE;QAChC,CAAC,CAAC,MAAM,CAAC;YACP,oBAAoB,EAAE,CAAC;iBACpB,MAAM,EAAE;iBACR,QAAQ,CAAC,uCAAuC,CAAC;YACpD,IAAI,EAAE,CAAC;iBACJ,MAAM,EAAE;iBACR,QAAQ,CAAC,iDAAiD,CAAC;YAC9D,UAAU,EAAE,CAAC;iBACV,OAAO,CAAC,YAAY,CAAC;iBACrB,QAAQ,CAAC,gDAAgD,CAAC;SAC9D,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC;iBACJ,MAAM,EAAE;iBACR,QAAQ,CAAC,iDAAiD,CAAC;YAC9D,UAAU,EAAE,CAAC;iBACV,OAAO,CAAC,gBAAgB,CAAC;iBACzB,QAAQ,CAAC,+CAA+C,CAAC;SAC7D,CAAC;KACH,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF,CACtF;IACH,EAAE,EAAE,GAA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,EAAE,CACjE,CAAC"}
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -963,14 +963,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
963
963
|
readonly annotationJustifications: {
|
|
964
964
|
readonly destructiveHint: "Does not alter environment settings or concurrency limits.";
|
|
965
965
|
readonly openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.";
|
|
966
|
-
readonly readOnlyHint: "Retrieves an environment's configuration,
|
|
966
|
+
readonly readOnlyHint: "Retrieves an environment's configuration, release readiness and code-reconciliation state.";
|
|
967
967
|
};
|
|
968
968
|
readonly annotations: {
|
|
969
969
|
readonly destructiveHint: false;
|
|
970
970
|
readonly openWorldHint: false;
|
|
971
971
|
readonly readOnlyHint: true;
|
|
972
972
|
};
|
|
973
|
-
readonly description: "Read a single environment's name, kind,
|
|
973
|
+
readonly description: "Read a single environment's name, kind, release readiness status, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.";
|
|
974
974
|
readonly input: z.ZodObject<{
|
|
975
975
|
environmentId: PublicIdSchema;
|
|
976
976
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -1746,14 +1746,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1746
1746
|
readonly annotationJustifications: {
|
|
1747
1747
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
1748
1748
|
readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
|
|
1749
|
-
readonly readOnlyHint: "Lists workspace bug reports,
|
|
1749
|
+
readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
|
|
1750
1750
|
};
|
|
1751
1751
|
readonly annotations: {
|
|
1752
1752
|
readonly destructiveHint: false;
|
|
1753
1753
|
readonly openWorldHint: false;
|
|
1754
1754
|
readonly readOnlyHint: true;
|
|
1755
1755
|
};
|
|
1756
|
-
readonly description: "List the team's bug reports,
|
|
1756
|
+
readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
|
|
1757
1757
|
readonly input: z.ZodObject<{
|
|
1758
1758
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1759
1759
|
pending: "pending";
|
|
@@ -2445,7 +2445,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2445
2445
|
readonly annotationJustifications: {
|
|
2446
2446
|
readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
|
|
2447
2447
|
readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
|
|
2448
|
-
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.";
|
|
2449
2449
|
};
|
|
2450
2450
|
readonly annotations: {
|
|
2451
2451
|
readonly destructiveHint: true;
|
|
@@ -2585,6 +2585,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2585
2585
|
kind: z.ZodLiteral<"automated">;
|
|
2586
2586
|
startedAt: z.ZodISODateTime;
|
|
2587
2587
|
status: z.ZodLiteral<"passed">;
|
|
2588
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2588
2589
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2589
2590
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2590
2591
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2594,6 +2595,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2594
2595
|
kind: z.ZodLiteral<"automated">;
|
|
2595
2596
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2596
2597
|
status: z.ZodLiteral<"failed">;
|
|
2598
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2597
2599
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2598
2600
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2599
2601
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2604,12 +2606,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2604
2606
|
kind: z.ZodLiteral<"automated">;
|
|
2605
2607
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2606
2608
|
status: z.ZodLiteral<"canceled">;
|
|
2609
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2607
2610
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
2608
2611
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
2609
2612
|
completedAt: z.ZodISODateTime;
|
|
2610
2613
|
kind: z.ZodLiteral<"manual">;
|
|
2611
2614
|
startedAt: z.ZodISODateTime;
|
|
2612
2615
|
status: z.ZodLiteral<"passed">;
|
|
2616
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2613
2617
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2614
2618
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2615
2619
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2640,6 +2644,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2640
2644
|
kind: z.ZodLiteral<"automated">;
|
|
2641
2645
|
startedAt: z.ZodISODateTime;
|
|
2642
2646
|
status: z.ZodLiteral<"passed">;
|
|
2647
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2643
2648
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2644
2649
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2645
2650
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2649,6 +2654,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2649
2654
|
kind: z.ZodLiteral<"automated">;
|
|
2650
2655
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2651
2656
|
status: z.ZodLiteral<"failed">;
|
|
2657
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2652
2658
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2653
2659
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2654
2660
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2659,12 +2665,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2659
2665
|
kind: z.ZodLiteral<"automated">;
|
|
2660
2666
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2661
2667
|
status: z.ZodLiteral<"canceled">;
|
|
2668
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2662
2669
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
2663
2670
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
2664
2671
|
completedAt: z.ZodISODateTime;
|
|
2665
2672
|
kind: z.ZodLiteral<"manual">;
|
|
2666
2673
|
startedAt: z.ZodISODateTime;
|
|
2667
2674
|
status: z.ZodLiteral<"passed">;
|
|
2675
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2668
2676
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
2669
2677
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
2670
2678
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -2763,7 +2771,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2763
2771
|
readonly annotationJustifications: {
|
|
2764
2772
|
readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
|
|
2765
2773
|
readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
|
|
2766
|
-
readonly readOnlyHint: "Records failed flows as needing no bug or
|
|
2774
|
+
readonly readOnlyHint: "Records failed flows as needing no bug report or blocker.";
|
|
2767
2775
|
};
|
|
2768
2776
|
readonly annotations: {
|
|
2769
2777
|
readonly destructiveHint: true;
|
|
@@ -2977,7 +2985,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2977
2985
|
readonly openWorldHint: false;
|
|
2978
2986
|
readonly readOnlyHint: false;
|
|
2979
2987
|
};
|
|
2980
|
-
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.";
|
|
2981
2989
|
readonly input: z.ZodObject<{
|
|
2982
2990
|
id: z.ZodString;
|
|
2983
2991
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
@@ -5724,14 +5732,14 @@ export declare const publicContractsV1: {
|
|
|
5724
5732
|
readonly annotationJustifications: {
|
|
5725
5733
|
readonly destructiveHint: "Does not alter environment settings or concurrency limits.";
|
|
5726
5734
|
readonly openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.";
|
|
5727
|
-
readonly readOnlyHint: "Retrieves an environment's configuration,
|
|
5735
|
+
readonly readOnlyHint: "Retrieves an environment's configuration, release readiness and code-reconciliation state.";
|
|
5728
5736
|
};
|
|
5729
5737
|
readonly annotations: {
|
|
5730
5738
|
readonly destructiveHint: false;
|
|
5731
5739
|
readonly openWorldHint: false;
|
|
5732
5740
|
readonly readOnlyHint: true;
|
|
5733
5741
|
};
|
|
5734
|
-
readonly description: "Read a single environment's name, kind,
|
|
5742
|
+
readonly description: "Read a single environment's name, kind, release readiness status, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.";
|
|
5735
5743
|
readonly input: z.ZodObject<{
|
|
5736
5744
|
environmentId: PublicIdSchema;
|
|
5737
5745
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -6507,14 +6515,14 @@ export declare const publicContractsV1: {
|
|
|
6507
6515
|
readonly annotationJustifications: {
|
|
6508
6516
|
readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
|
|
6509
6517
|
readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
|
|
6510
|
-
readonly readOnlyHint: "Lists workspace bug reports,
|
|
6518
|
+
readonly readOnlyHint: "Lists workspace bug reports, blockers or coverage requests.";
|
|
6511
6519
|
};
|
|
6512
6520
|
readonly annotations: {
|
|
6513
6521
|
readonly destructiveHint: false;
|
|
6514
6522
|
readonly openWorldHint: false;
|
|
6515
6523
|
readonly readOnlyHint: true;
|
|
6516
6524
|
};
|
|
6517
|
-
readonly description: "List the team's bug reports,
|
|
6525
|
+
readonly description: "List the team's bug reports, blockers, or coverage requests, newest first.";
|
|
6518
6526
|
readonly input: z.ZodObject<{
|
|
6519
6527
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6520
6528
|
pending: "pending";
|
|
@@ -7206,7 +7214,7 @@ export declare const publicContractsV1: {
|
|
|
7206
7214
|
readonly annotationJustifications: {
|
|
7207
7215
|
readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
|
|
7208
7216
|
readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
|
|
7209
|
-
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.";
|
|
7210
7218
|
};
|
|
7211
7219
|
readonly annotations: {
|
|
7212
7220
|
readonly destructiveHint: true;
|
|
@@ -7346,6 +7354,7 @@ export declare const publicContractsV1: {
|
|
|
7346
7354
|
kind: z.ZodLiteral<"automated">;
|
|
7347
7355
|
startedAt: z.ZodISODateTime;
|
|
7348
7356
|
status: z.ZodLiteral<"passed">;
|
|
7357
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7349
7358
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7350
7359
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7351
7360
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7355,6 +7364,7 @@ export declare const publicContractsV1: {
|
|
|
7355
7364
|
kind: z.ZodLiteral<"automated">;
|
|
7356
7365
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7357
7366
|
status: z.ZodLiteral<"failed">;
|
|
7367
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7358
7368
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7359
7369
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7360
7370
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7365,12 +7375,14 @@ export declare const publicContractsV1: {
|
|
|
7365
7375
|
kind: z.ZodLiteral<"automated">;
|
|
7366
7376
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7367
7377
|
status: z.ZodLiteral<"canceled">;
|
|
7378
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7368
7379
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
7369
7380
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
7370
7381
|
completedAt: z.ZodISODateTime;
|
|
7371
7382
|
kind: z.ZodLiteral<"manual">;
|
|
7372
7383
|
startedAt: z.ZodISODateTime;
|
|
7373
7384
|
status: z.ZodLiteral<"passed">;
|
|
7385
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7374
7386
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7375
7387
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7376
7388
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7401,6 +7413,7 @@ export declare const publicContractsV1: {
|
|
|
7401
7413
|
kind: z.ZodLiteral<"automated">;
|
|
7402
7414
|
startedAt: z.ZodISODateTime;
|
|
7403
7415
|
status: z.ZodLiteral<"passed">;
|
|
7416
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7404
7417
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7405
7418
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7406
7419
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7410,6 +7423,7 @@ export declare const publicContractsV1: {
|
|
|
7410
7423
|
kind: z.ZodLiteral<"automated">;
|
|
7411
7424
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7412
7425
|
status: z.ZodLiteral<"failed">;
|
|
7426
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7413
7427
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7414
7428
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7415
7429
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7420,12 +7434,14 @@ export declare const publicContractsV1: {
|
|
|
7420
7434
|
kind: z.ZodLiteral<"automated">;
|
|
7421
7435
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7422
7436
|
status: z.ZodLiteral<"canceled">;
|
|
7437
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7423
7438
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
7424
7439
|
attemptId: z.ZodOptional<PublicIdSchema>;
|
|
7425
7440
|
completedAt: z.ZodISODateTime;
|
|
7426
7441
|
kind: z.ZodLiteral<"manual">;
|
|
7427
7442
|
startedAt: z.ZodISODateTime;
|
|
7428
7443
|
status: z.ZodLiteral<"passed">;
|
|
7444
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
7429
7445
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
7430
7446
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
7431
7447
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -7524,7 +7540,7 @@ export declare const publicContractsV1: {
|
|
|
7524
7540
|
readonly annotationJustifications: {
|
|
7525
7541
|
readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
|
|
7526
7542
|
readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
|
|
7527
|
-
readonly readOnlyHint: "Records failed flows as needing no bug or
|
|
7543
|
+
readonly readOnlyHint: "Records failed flows as needing no bug report or blocker.";
|
|
7528
7544
|
};
|
|
7529
7545
|
readonly annotations: {
|
|
7530
7546
|
readonly destructiveHint: true;
|
|
@@ -7738,7 +7754,7 @@ export declare const publicContractsV1: {
|
|
|
7738
7754
|
readonly openWorldHint: false;
|
|
7739
7755
|
readonly readOnlyHint: false;
|
|
7740
7756
|
};
|
|
7741
|
-
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.";
|
|
7742
7758
|
readonly input: z.ZodObject<{
|
|
7743
7759
|
id: z.ZodString;
|
|
7744
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -27,7 +27,7 @@ export const makeAddFlowsToIssueContract = (ids) => {
|
|
|
27
27
|
},
|
|
28
28
|
description: "Add flows to a coverage request owned by the caller's team. " +
|
|
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,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,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;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SACnC,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,GAAG,YAAY;YACf,MAAM,EAAE,CAAC;iBACN,IAAI,CAAC,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC;iBAC9D,QAAQ,CAAC,iCAAiC,CAAC;YAC9C,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;YACrD,MAAM,EAAE,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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AqB;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":["../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b,gFAAgF;YAClF,aAAa,EACX,+EAA+E;YACjF,YAAY,EACV,gFAAgF;SACnF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,8EAA8E;QAChF,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const makeDiagnoseRunContract: <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,GAAG,CAKrC,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,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,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
|
|
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,GAAG,CAKrC,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,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,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,CA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AE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;YACxC,IAAI,EAAE,aAAa;YACnB,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;YACtC,MAAM,EAAE,CAAC;iBACN,OAAO,CAAC,UAAU,CAAC;iBACnB,QAAQ,CAAC,wDAAwD,CAAC;YACrE,GAAG,EAAE,UAAU;SAChB,CAAC;KACH,CAAC,CAAC;IACH,MAAM,aAAa,GAAG,CAAC,CAAC,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,14 @@ 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>;
|
|
67
71
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
68
72
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
69
73
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -94,6 +98,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
94
98
|
kind: z.ZodLiteral<"automated">;
|
|
95
99
|
startedAt: z.ZodISODateTime;
|
|
96
100
|
status: z.ZodLiteral<"passed">;
|
|
101
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
97
102
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
98
103
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
99
104
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -103,6 +108,7 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
103
108
|
kind: z.ZodLiteral<"automated">;
|
|
104
109
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
105
110
|
status: z.ZodLiteral<"failed">;
|
|
111
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
106
112
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
107
113
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
108
114
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -113,12 +119,14 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
113
119
|
kind: z.ZodLiteral<"automated">;
|
|
114
120
|
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
115
121
|
status: z.ZodLiteral<"canceled">;
|
|
122
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
116
123
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
117
124
|
attemptId: z.ZodOptional<RunAttemptId>;
|
|
118
125
|
completedAt: z.ZodISODateTime;
|
|
119
126
|
kind: z.ZodLiteral<"manual">;
|
|
120
127
|
startedAt: z.ZodISODateTime;
|
|
121
128
|
status: z.ZodLiteral<"passed">;
|
|
129
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
122
130
|
logsUrl: z.ZodOptional<z.ZodURL>;
|
|
123
131
|
traceUrl: z.ZodOptional<z.ZodURL>;
|
|
124
132
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
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,80 +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
|
-
const automatedAttempt = z.discriminatedUnion("status", [
|
|
37
|
-
z.object({
|
|
38
|
-
...artifactUrls,
|
|
39
|
-
attemptId: ids.runAttempt.optional(),
|
|
40
|
-
completedAt: z.iso.datetime(),
|
|
41
|
-
kind: automatedKind,
|
|
42
|
-
startedAt: z.iso.datetime(),
|
|
43
|
-
status: z.literal("passed"),
|
|
44
|
-
}),
|
|
45
|
-
z.object({
|
|
46
|
-
...artifactUrls,
|
|
47
|
-
attemptId: ids.runAttempt.optional(),
|
|
48
|
-
completedAt: z.iso.datetime(),
|
|
49
|
-
kind: automatedKind,
|
|
50
|
-
startedAt: z.iso
|
|
51
|
-
.datetime()
|
|
52
|
-
.optional()
|
|
53
|
-
.describe("Absent when the attempt failed before it could start."),
|
|
54
|
-
status: z.literal("failed"),
|
|
55
|
-
}),
|
|
56
|
-
z.object({
|
|
57
|
-
attemptId: ids.runAttempt.optional(),
|
|
58
|
-
canceledReason: z
|
|
59
|
-
.string()
|
|
60
|
-
.min(1)
|
|
61
|
-
.optional()
|
|
62
|
-
.describe("Why the attempt was canceled. userCanceled means a person stopped it; do not immediately retry that activity."),
|
|
63
|
-
completedAt: z.iso.datetime().optional(),
|
|
64
|
-
kind: automatedKind,
|
|
65
|
-
startedAt: z.iso.datetime().optional(),
|
|
66
|
-
status: z
|
|
67
|
-
.literal("canceled")
|
|
68
|
-
.describe("The attempt was terminated without reaching a verdict."),
|
|
69
|
-
}),
|
|
70
|
-
]);
|
|
71
|
-
const manualAttempt = z.object({
|
|
72
|
-
...artifactUrls,
|
|
73
|
-
attemptId: ids.runAttempt.optional(),
|
|
74
|
-
completedAt: z.iso.datetime(),
|
|
75
|
-
kind: z
|
|
76
|
-
.literal("manual")
|
|
77
|
-
.describe("The attempt ran by hand in the Wolf Browser."),
|
|
78
|
-
startedAt: z.iso.datetime(),
|
|
79
|
-
status: z.literal("passed"),
|
|
80
|
-
});
|
|
81
|
-
const attempt = z.union([automatedAttempt, manualAttempt]);
|
|
82
|
-
const attempts = z
|
|
83
|
-
.array(attempt)
|
|
84
|
-
.optional()
|
|
85
|
-
.describe("The flow's finished execution attempts, oldest first, including " +
|
|
86
|
-
"manual Wolf Browser attempts. Present once at least one attempt has " +
|
|
87
|
-
"finished, so a flow that passed after retries also lists its failed " +
|
|
88
|
-
"attempts. Artifact URLs appear only on attempts that reached a " +
|
|
89
|
-
"verdict, and on a manual attempt only when its Wolf Browser run " +
|
|
90
|
-
"kept them. They stay valid for at least a day (call run.get again " +
|
|
91
|
-
"for fresh ones), and can return 404 when the attempt did not " +
|
|
92
|
-
"produce that artifact.");
|
|
20
|
+
const attempts = makeFlowAttemptsSchema(ids);
|
|
93
21
|
// We return one flat entry per flow, each carrying its own status, rather
|
|
94
22
|
// than status-keyed buckets (`{ passed: [...], failed: [...] }`). A flat list
|
|
95
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;AAE1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ourceRoot":"","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":[],"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,CAAC,uBAAuB,CAAC;YAClD,MAAM,EAAE,CAAC;iBACN,IAAI,CAAC,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;iBAClC,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,"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,2BAA2B;QACjC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -104,7 +104,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, 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;Y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