@qawolf/api-contracts 0.83.0 → 0.85.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/agent/get.d.ts +1 -1
- package/dist/v1/agent/get.js +1 -1
- package/dist/v1/agent/get.js.map +1 -1
- package/dist/v1/agent/wait.d.ts +1 -1
- package/dist/v1/index.d.ts +115 -22
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +1 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/issue/addFlows.d.ts +1 -1
- package/dist/v1/issue/create.d.ts +1 -1
- package/dist/v1/issue/index.d.ts +5 -5
- package/dist/v1/issue/removeFlows.d.ts +1 -1
- package/dist/v1/issue/update.d.ts +2 -2
- package/dist/v1/promotion/index.d.ts +46 -0
- package/dist/v1/promotion/index.d.ts.map +1 -1
- package/dist/v1/promotion/index.js +3 -0
- package/dist/v1/promotion/index.js.map +1 -1
- package/dist/v1/promotion/resolve.d.ts +57 -0
- package/dist/v1/promotion/resolve.d.ts.map +1 -0
- package/dist/v1/promotion/resolve.js +59 -0
- package/dist/v1/promotion/resolve.js.map +1 -0
- package/dist/v1/run/diagnose.d.ts +1 -1
- package/dist/v1/run/reattempt.d.ts +1 -0
- package/dist/v1/run/reattempt.d.ts.map +1 -1
- package/dist/v1/run/reattempt.js +10 -1
- package/dist/v1/run/reattempt.js.map +1 -1
- package/dist/v1/runner/catalog.d.ts +1 -1
- package/dist/v1/runner/evaluateSnippet.d.ts +1 -1
- package/package.json +1 -1
package/dist/v1/agent/get.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare const makeAgentGetContract: <ChatSessionId extends PublicIdSchema
|
|
|
39
39
|
}>;
|
|
40
40
|
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
reply: "reply";
|
|
43
42
|
status: "status";
|
|
43
|
+
reply: "reply";
|
|
44
44
|
timeout: "timeout";
|
|
45
45
|
}>>;
|
|
46
46
|
url: z.ZodURL;
|
package/dist/v1/agent/get.js
CHANGED
|
@@ -15,7 +15,7 @@ export const makeAgentGetContract = (ids) => {
|
|
|
15
15
|
.int()
|
|
16
16
|
.min(0)
|
|
17
17
|
.optional()
|
|
18
|
-
.describe(`How long the server may hold this check open, in seconds.
|
|
18
|
+
.describe(`How long the server may hold this check open, in seconds. Defaults to ${maxAgentWaitSeconds}, the longest hold, and a larger value clamps to it. Pass 0 to answer at once. Check again as soon as a held check returns.`),
|
|
19
19
|
});
|
|
20
20
|
const output = resource({
|
|
21
21
|
nextCursor: z
|
package/dist/v1/agent/get.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEvE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAGlC,GAGD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,uGAAuG,CACxG;QACH,SAAS,EAAE,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,kCAAkC,CAAC;QACvE,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/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sD;KACzD,CACF,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,kDAAkD;YACnE,aAAa,EACX,+DAA+D;YACjE,YAAY,EACV,2EAA2E;SAC9E;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,o6CAAo6C;QACt6C,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,WAAW;QACjB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/agent/wait.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const maxAgentWaitSeconds = 45;
|
|
3
3
|
export declare const agentWakeReasonSchema: z.ZodEnum<{
|
|
4
|
-
reply: "reply";
|
|
5
4
|
status: "status";
|
|
5
|
+
reply: "reply";
|
|
6
6
|
timeout: "timeout";
|
|
7
7
|
}>;
|
|
8
8
|
export type AgentWakeReason = z.infer<typeof agentWakeReasonSchema>;
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
|
+
export { maxResolvedFileBytes } from "./promotion/index.js";
|
|
2
3
|
export * from "./sharedSchemas.js";
|
|
3
4
|
import type { AnyPublicApiContract } from "./definition.js";
|
|
4
5
|
import { type PublicIdSchema, type PublicIdSchemasOf } from "./ids.js";
|
|
@@ -51,8 +52,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
51
52
|
}>;
|
|
52
53
|
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
53
54
|
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
54
|
-
reply: "reply";
|
|
55
55
|
status: "status";
|
|
56
|
+
reply: "reply";
|
|
56
57
|
timeout: "timeout";
|
|
57
58
|
}>>;
|
|
58
59
|
url: z.ZodURL;
|
|
@@ -1533,8 +1534,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1533
1534
|
lastReproducedInRunId: RunId;
|
|
1534
1535
|
}, z.core.$strip>>;
|
|
1535
1536
|
status: z.ZodEnum<{
|
|
1536
|
-
canceled: "canceled";
|
|
1537
1537
|
pending: "pending";
|
|
1538
|
+
canceled: "canceled";
|
|
1538
1539
|
backlog: "backlog";
|
|
1539
1540
|
inProgress: "inProgress";
|
|
1540
1541
|
paused: "paused";
|
|
@@ -1637,8 +1638,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1637
1638
|
lastReproducedInRunId: RunId;
|
|
1638
1639
|
}, z.core.$strip>>;
|
|
1639
1640
|
status: z.ZodEnum<{
|
|
1640
|
-
canceled: "canceled";
|
|
1641
1641
|
pending: "pending";
|
|
1642
|
+
canceled: "canceled";
|
|
1642
1643
|
backlog: "backlog";
|
|
1643
1644
|
inProgress: "inProgress";
|
|
1644
1645
|
paused: "paused";
|
|
@@ -1668,8 +1669,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1668
1669
|
readonly description: "List the team's bug reports, maintenance reports, or coverage requests, newest first.";
|
|
1669
1670
|
readonly input: z.ZodObject<{
|
|
1670
1671
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1671
|
-
canceled: "canceled";
|
|
1672
1672
|
pending: "pending";
|
|
1673
|
+
canceled: "canceled";
|
|
1673
1674
|
backlog: "backlog";
|
|
1674
1675
|
inProgress: "inProgress";
|
|
1675
1676
|
paused: "paused";
|
|
@@ -1710,8 +1711,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1710
1711
|
lastReproducedInRunId: RunId;
|
|
1711
1712
|
}, z.core.$strip>>;
|
|
1712
1713
|
status: z.ZodEnum<{
|
|
1713
|
-
canceled: "canceled";
|
|
1714
1714
|
pending: "pending";
|
|
1715
|
+
canceled: "canceled";
|
|
1715
1716
|
backlog: "backlog";
|
|
1716
1717
|
inProgress: "inProgress";
|
|
1717
1718
|
paused: "paused";
|
|
@@ -1768,8 +1769,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1768
1769
|
lastReproducedInRunId: RunId;
|
|
1769
1770
|
}, z.core.$strip>>;
|
|
1770
1771
|
status: z.ZodEnum<{
|
|
1771
|
-
canceled: "canceled";
|
|
1772
1772
|
pending: "pending";
|
|
1773
|
+
canceled: "canceled";
|
|
1773
1774
|
backlog: "backlog";
|
|
1774
1775
|
inProgress: "inProgress";
|
|
1775
1776
|
paused: "paused";
|
|
@@ -1827,8 +1828,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1827
1828
|
lastReproducedInRunId: RunId;
|
|
1828
1829
|
}, z.core.$strip>>;
|
|
1829
1830
|
status: z.ZodEnum<{
|
|
1830
|
-
canceled: "canceled";
|
|
1831
1831
|
pending: "pending";
|
|
1832
|
+
canceled: "canceled";
|
|
1832
1833
|
backlog: "backlog";
|
|
1833
1834
|
inProgress: "inProgress";
|
|
1834
1835
|
paused: "paused";
|
|
@@ -1868,8 +1869,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1868
1869
|
urgent: "urgent";
|
|
1869
1870
|
}>>;
|
|
1870
1871
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1871
|
-
canceled: "canceled";
|
|
1872
1872
|
pending: "pending";
|
|
1873
|
+
canceled: "canceled";
|
|
1873
1874
|
backlog: "backlog";
|
|
1874
1875
|
inProgress: "inProgress";
|
|
1875
1876
|
paused: "paused";
|
|
@@ -1902,8 +1903,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1902
1903
|
lastReproducedInRunId: RunId;
|
|
1903
1904
|
}, z.core.$strip>>;
|
|
1904
1905
|
status: z.ZodEnum<{
|
|
1905
|
-
canceled: "canceled";
|
|
1906
1906
|
pending: "pending";
|
|
1907
|
+
canceled: "canceled";
|
|
1907
1908
|
backlog: "backlog";
|
|
1908
1909
|
inProgress: "inProgress";
|
|
1909
1910
|
paused: "paused";
|
|
@@ -2154,6 +2155,51 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2154
2155
|
url: z.ZodURL;
|
|
2155
2156
|
}, z.core.$strip>;
|
|
2156
2157
|
};
|
|
2158
|
+
resolve: {
|
|
2159
|
+
readonly annotationJustifications: {
|
|
2160
|
+
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
2161
|
+
readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
|
|
2162
|
+
readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
|
|
2163
|
+
};
|
|
2164
|
+
readonly annotations: {
|
|
2165
|
+
readonly destructiveHint: true;
|
|
2166
|
+
readonly openWorldHint: false;
|
|
2167
|
+
readonly readOnlyHint: false;
|
|
2168
|
+
};
|
|
2169
|
+
readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
|
|
2170
|
+
readonly input: z.ZodObject<{
|
|
2171
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2172
|
+
expectedSourceCommitHash: z.ZodString;
|
|
2173
|
+
expectedTargetCommitHash: z.ZodString;
|
|
2174
|
+
promotionId: PromotionId;
|
|
2175
|
+
writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2176
|
+
}, z.core.$strip>;
|
|
2177
|
+
readonly kind: "write";
|
|
2178
|
+
readonly name: "promotion.resolve";
|
|
2179
|
+
readonly output: z.ZodObject<{
|
|
2180
|
+
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
2181
|
+
baseEnvironmentId: EnvironmentId;
|
|
2182
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
2183
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2184
|
+
sourceCommitHash: z.ZodString;
|
|
2185
|
+
targetCommitHash: z.ZodString;
|
|
2186
|
+
}, z.core.$strip>>;
|
|
2187
|
+
createdAt: z.ZodISODateTime;
|
|
2188
|
+
headEnvironmentId: EnvironmentId;
|
|
2189
|
+
id: PromotionId;
|
|
2190
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2192
|
+
status: z.ZodEnum<{
|
|
2193
|
+
pending: "pending";
|
|
2194
|
+
conflicted: "conflicted";
|
|
2195
|
+
resolving: "resolving";
|
|
2196
|
+
promoted: "promoted";
|
|
2197
|
+
"no-changes": "no-changes";
|
|
2198
|
+
abandoned: "abandoned";
|
|
2199
|
+
}>;
|
|
2200
|
+
url: z.ZodURL;
|
|
2201
|
+
}, z.core.$strip>;
|
|
2202
|
+
};
|
|
2157
2203
|
};
|
|
2158
2204
|
run: {
|
|
2159
2205
|
acceptScreenshotBaseline: {
|
|
@@ -2276,8 +2322,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2276
2322
|
lastReproducedInRunId: RunId;
|
|
2277
2323
|
}, z.core.$strip>>;
|
|
2278
2324
|
status: z.ZodEnum<{
|
|
2279
|
-
canceled: "canceled";
|
|
2280
2325
|
pending: "pending";
|
|
2326
|
+
canceled: "canceled";
|
|
2281
2327
|
backlog: "backlog";
|
|
2282
2328
|
inProgress: "inProgress";
|
|
2283
2329
|
paused: "paused";
|
|
@@ -2590,6 +2636,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2590
2636
|
readonly name: "run.reattempt";
|
|
2591
2637
|
readonly output: z.ZodObject<{
|
|
2592
2638
|
reattemptedFlowIds: z.ZodArray<FlowId>;
|
|
2639
|
+
reattemptedInRunIds: z.ZodArray<RunId>;
|
|
2593
2640
|
runId: RunId;
|
|
2594
2641
|
url: z.ZodURL;
|
|
2595
2642
|
}, z.core.$strip>;
|
|
@@ -2945,8 +2992,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2945
2992
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2946
2993
|
outcome: z.ZodLiteral<"success">;
|
|
2947
2994
|
result: z.ZodEnum<{
|
|
2948
|
-
success: "success";
|
|
2949
2995
|
error: "error";
|
|
2996
|
+
success: "success";
|
|
2950
2997
|
stopped: "stopped";
|
|
2951
2998
|
}>;
|
|
2952
2999
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4578,8 +4625,8 @@ export declare const publicContractsV1: {
|
|
|
4578
4625
|
}>;
|
|
4579
4626
|
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4580
4627
|
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
4581
|
-
reply: "reply";
|
|
4582
4628
|
status: "status";
|
|
4629
|
+
reply: "reply";
|
|
4583
4630
|
timeout: "timeout";
|
|
4584
4631
|
}>>;
|
|
4585
4632
|
url: z.ZodURL;
|
|
@@ -6060,8 +6107,8 @@ export declare const publicContractsV1: {
|
|
|
6060
6107
|
lastReproducedInRunId: PublicIdSchema;
|
|
6061
6108
|
}, z.core.$strip>>;
|
|
6062
6109
|
status: z.ZodEnum<{
|
|
6063
|
-
canceled: "canceled";
|
|
6064
6110
|
pending: "pending";
|
|
6111
|
+
canceled: "canceled";
|
|
6065
6112
|
backlog: "backlog";
|
|
6066
6113
|
inProgress: "inProgress";
|
|
6067
6114
|
paused: "paused";
|
|
@@ -6164,8 +6211,8 @@ export declare const publicContractsV1: {
|
|
|
6164
6211
|
lastReproducedInRunId: PublicIdSchema;
|
|
6165
6212
|
}, z.core.$strip>>;
|
|
6166
6213
|
status: z.ZodEnum<{
|
|
6167
|
-
canceled: "canceled";
|
|
6168
6214
|
pending: "pending";
|
|
6215
|
+
canceled: "canceled";
|
|
6169
6216
|
backlog: "backlog";
|
|
6170
6217
|
inProgress: "inProgress";
|
|
6171
6218
|
paused: "paused";
|
|
@@ -6195,8 +6242,8 @@ export declare const publicContractsV1: {
|
|
|
6195
6242
|
readonly description: "List the team's bug reports, maintenance reports, or coverage requests, newest first.";
|
|
6196
6243
|
readonly input: z.ZodObject<{
|
|
6197
6244
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6198
|
-
canceled: "canceled";
|
|
6199
6245
|
pending: "pending";
|
|
6246
|
+
canceled: "canceled";
|
|
6200
6247
|
backlog: "backlog";
|
|
6201
6248
|
inProgress: "inProgress";
|
|
6202
6249
|
paused: "paused";
|
|
@@ -6237,8 +6284,8 @@ export declare const publicContractsV1: {
|
|
|
6237
6284
|
lastReproducedInRunId: PublicIdSchema;
|
|
6238
6285
|
}, z.core.$strip>>;
|
|
6239
6286
|
status: z.ZodEnum<{
|
|
6240
|
-
canceled: "canceled";
|
|
6241
6287
|
pending: "pending";
|
|
6288
|
+
canceled: "canceled";
|
|
6242
6289
|
backlog: "backlog";
|
|
6243
6290
|
inProgress: "inProgress";
|
|
6244
6291
|
paused: "paused";
|
|
@@ -6295,8 +6342,8 @@ export declare const publicContractsV1: {
|
|
|
6295
6342
|
lastReproducedInRunId: PublicIdSchema;
|
|
6296
6343
|
}, z.core.$strip>>;
|
|
6297
6344
|
status: z.ZodEnum<{
|
|
6298
|
-
canceled: "canceled";
|
|
6299
6345
|
pending: "pending";
|
|
6346
|
+
canceled: "canceled";
|
|
6300
6347
|
backlog: "backlog";
|
|
6301
6348
|
inProgress: "inProgress";
|
|
6302
6349
|
paused: "paused";
|
|
@@ -6354,8 +6401,8 @@ export declare const publicContractsV1: {
|
|
|
6354
6401
|
lastReproducedInRunId: PublicIdSchema;
|
|
6355
6402
|
}, z.core.$strip>>;
|
|
6356
6403
|
status: z.ZodEnum<{
|
|
6357
|
-
canceled: "canceled";
|
|
6358
6404
|
pending: "pending";
|
|
6405
|
+
canceled: "canceled";
|
|
6359
6406
|
backlog: "backlog";
|
|
6360
6407
|
inProgress: "inProgress";
|
|
6361
6408
|
paused: "paused";
|
|
@@ -6395,8 +6442,8 @@ export declare const publicContractsV1: {
|
|
|
6395
6442
|
urgent: "urgent";
|
|
6396
6443
|
}>>;
|
|
6397
6444
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6398
|
-
canceled: "canceled";
|
|
6399
6445
|
pending: "pending";
|
|
6446
|
+
canceled: "canceled";
|
|
6400
6447
|
backlog: "backlog";
|
|
6401
6448
|
inProgress: "inProgress";
|
|
6402
6449
|
paused: "paused";
|
|
@@ -6429,8 +6476,8 @@ export declare const publicContractsV1: {
|
|
|
6429
6476
|
lastReproducedInRunId: PublicIdSchema;
|
|
6430
6477
|
}, z.core.$strip>>;
|
|
6431
6478
|
status: z.ZodEnum<{
|
|
6432
|
-
canceled: "canceled";
|
|
6433
6479
|
pending: "pending";
|
|
6480
|
+
canceled: "canceled";
|
|
6434
6481
|
backlog: "backlog";
|
|
6435
6482
|
inProgress: "inProgress";
|
|
6436
6483
|
paused: "paused";
|
|
@@ -6681,6 +6728,51 @@ export declare const publicContractsV1: {
|
|
|
6681
6728
|
url: z.ZodURL;
|
|
6682
6729
|
}, z.core.$strip>;
|
|
6683
6730
|
};
|
|
6731
|
+
resolve: {
|
|
6732
|
+
readonly annotationJustifications: {
|
|
6733
|
+
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
6734
|
+
readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
|
|
6735
|
+
readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
|
|
6736
|
+
};
|
|
6737
|
+
readonly annotations: {
|
|
6738
|
+
readonly destructiveHint: true;
|
|
6739
|
+
readonly openWorldHint: false;
|
|
6740
|
+
readonly readOnlyHint: false;
|
|
6741
|
+
};
|
|
6742
|
+
readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
|
|
6743
|
+
readonly input: z.ZodObject<{
|
|
6744
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6745
|
+
expectedSourceCommitHash: z.ZodString;
|
|
6746
|
+
expectedTargetCommitHash: z.ZodString;
|
|
6747
|
+
promotionId: PublicIdSchema;
|
|
6748
|
+
writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6749
|
+
}, z.core.$strip>;
|
|
6750
|
+
readonly kind: "write";
|
|
6751
|
+
readonly name: "promotion.resolve";
|
|
6752
|
+
readonly output: z.ZodObject<{
|
|
6753
|
+
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
6754
|
+
baseEnvironmentId: PublicIdSchema;
|
|
6755
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
6756
|
+
paths: z.ZodArray<z.ZodString>;
|
|
6757
|
+
sourceCommitHash: z.ZodString;
|
|
6758
|
+
targetCommitHash: z.ZodString;
|
|
6759
|
+
}, z.core.$strip>>;
|
|
6760
|
+
createdAt: z.ZodISODateTime;
|
|
6761
|
+
headEnvironmentId: PublicIdSchema;
|
|
6762
|
+
id: PublicIdSchema;
|
|
6763
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
6764
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6765
|
+
status: z.ZodEnum<{
|
|
6766
|
+
pending: "pending";
|
|
6767
|
+
conflicted: "conflicted";
|
|
6768
|
+
resolving: "resolving";
|
|
6769
|
+
promoted: "promoted";
|
|
6770
|
+
"no-changes": "no-changes";
|
|
6771
|
+
abandoned: "abandoned";
|
|
6772
|
+
}>;
|
|
6773
|
+
url: z.ZodURL;
|
|
6774
|
+
}, z.core.$strip>;
|
|
6775
|
+
};
|
|
6684
6776
|
};
|
|
6685
6777
|
run: {
|
|
6686
6778
|
acceptScreenshotBaseline: {
|
|
@@ -6803,8 +6895,8 @@ export declare const publicContractsV1: {
|
|
|
6803
6895
|
lastReproducedInRunId: PublicIdSchema;
|
|
6804
6896
|
}, z.core.$strip>>;
|
|
6805
6897
|
status: z.ZodEnum<{
|
|
6806
|
-
canceled: "canceled";
|
|
6807
6898
|
pending: "pending";
|
|
6899
|
+
canceled: "canceled";
|
|
6808
6900
|
backlog: "backlog";
|
|
6809
6901
|
inProgress: "inProgress";
|
|
6810
6902
|
paused: "paused";
|
|
@@ -7117,6 +7209,7 @@ export declare const publicContractsV1: {
|
|
|
7117
7209
|
readonly name: "run.reattempt";
|
|
7118
7210
|
readonly output: z.ZodObject<{
|
|
7119
7211
|
reattemptedFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7212
|
+
reattemptedInRunIds: z.ZodArray<PublicIdSchema>;
|
|
7120
7213
|
runId: PublicIdSchema;
|
|
7121
7214
|
url: z.ZodURL;
|
|
7122
7215
|
}, z.core.$strip>;
|
|
@@ -7472,8 +7565,8 @@ export declare const publicContractsV1: {
|
|
|
7472
7565
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
7473
7566
|
outcome: z.ZodLiteral<"success">;
|
|
7474
7567
|
result: z.ZodEnum<{
|
|
7475
|
-
success: "success";
|
|
7476
7568
|
error: "error";
|
|
7569
|
+
success: "success";
|
|
7477
7570
|
stopped: "stopped";
|
|
7478
7571
|
}>;
|
|
7479
7572
|
}, z.core.$strip>, z.ZodObject<{
|
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,cAA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: RunId;
|
|
47
47
|
}, z.core.$strip>>;
|
|
48
48
|
status: z.ZodEnum<{
|
|
49
|
-
canceled: "canceled";
|
|
50
49
|
pending: "pending";
|
|
50
|
+
canceled: "canceled";
|
|
51
51
|
backlog: "backlog";
|
|
52
52
|
inProgress: "inProgress";
|
|
53
53
|
paused: "paused";
|
|
@@ -93,8 +93,8 @@ export declare const makeCreateIssueContract: <EnvironmentId extends PublicIdSch
|
|
|
93
93
|
lastReproducedInRunId: RunId;
|
|
94
94
|
}, z.core.$strip>>;
|
|
95
95
|
status: z.ZodEnum<{
|
|
96
|
-
canceled: "canceled";
|
|
97
96
|
pending: "pending";
|
|
97
|
+
canceled: "canceled";
|
|
98
98
|
backlog: "backlog";
|
|
99
99
|
inProgress: "inProgress";
|
|
100
100
|
paused: "paused";
|
package/dist/v1/issue/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export declare const issuePrioritySchema: z.ZodEnum<{
|
|
|
8
8
|
urgent: "urgent";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const issueStatusSchema: z.ZodEnum<{
|
|
11
|
-
canceled: "canceled";
|
|
12
11
|
pending: "pending";
|
|
12
|
+
canceled: "canceled";
|
|
13
13
|
backlog: "backlog";
|
|
14
14
|
inProgress: "inProgress";
|
|
15
15
|
paused: "paused";
|
|
@@ -43,8 +43,8 @@ export declare const makeIssueResourceSchema: <EnvironmentId extends PublicIdSch
|
|
|
43
43
|
lastReproducedInRunId: RunId;
|
|
44
44
|
}, z.core.$strip>>;
|
|
45
45
|
status: z.ZodEnum<{
|
|
46
|
-
canceled: "canceled";
|
|
47
46
|
pending: "pending";
|
|
47
|
+
canceled: "canceled";
|
|
48
48
|
backlog: "backlog";
|
|
49
49
|
inProgress: "inProgress";
|
|
50
50
|
paused: "paused";
|
|
@@ -78,8 +78,8 @@ export declare const makeFindIssuesContract: <EnvironmentId extends PublicIdSche
|
|
|
78
78
|
readonly description: "List the team's bug reports, maintenance reports, or coverage requests, newest first.";
|
|
79
79
|
readonly input: z.ZodObject<{
|
|
80
80
|
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
81
|
-
canceled: "canceled";
|
|
82
81
|
pending: "pending";
|
|
82
|
+
canceled: "canceled";
|
|
83
83
|
backlog: "backlog";
|
|
84
84
|
inProgress: "inProgress";
|
|
85
85
|
paused: "paused";
|
|
@@ -120,8 +120,8 @@ export declare const makeFindIssuesContract: <EnvironmentId extends PublicIdSche
|
|
|
120
120
|
lastReproducedInRunId: RunId;
|
|
121
121
|
}, z.core.$strip>>;
|
|
122
122
|
status: z.ZodEnum<{
|
|
123
|
-
canceled: "canceled";
|
|
124
123
|
pending: "pending";
|
|
124
|
+
canceled: "canceled";
|
|
125
125
|
backlog: "backlog";
|
|
126
126
|
inProgress: "inProgress";
|
|
127
127
|
paused: "paused";
|
|
@@ -183,8 +183,8 @@ export declare const makeGetIssueContract: <EnvironmentId extends PublicIdSchema
|
|
|
183
183
|
lastReproducedInRunId: RunId;
|
|
184
184
|
}, z.core.$strip>>;
|
|
185
185
|
status: z.ZodEnum<{
|
|
186
|
-
canceled: "canceled";
|
|
187
186
|
pending: "pending";
|
|
187
|
+
canceled: "canceled";
|
|
188
188
|
backlog: "backlog";
|
|
189
189
|
inProgress: "inProgress";
|
|
190
190
|
paused: "paused";
|
|
@@ -47,8 +47,8 @@ export declare const makeRemoveFlowsFromIssueContract: <EnvironmentId extends Pu
|
|
|
47
47
|
lastReproducedInRunId: RunId;
|
|
48
48
|
}, z.core.$strip>>;
|
|
49
49
|
status: z.ZodEnum<{
|
|
50
|
-
canceled: "canceled";
|
|
51
50
|
pending: "pending";
|
|
51
|
+
canceled: "canceled";
|
|
52
52
|
backlog: "backlog";
|
|
53
53
|
inProgress: "inProgress";
|
|
54
54
|
paused: "paused";
|
|
@@ -29,8 +29,8 @@ export declare const makeUpdateIssueContract: <EnvironmentId extends PublicIdSch
|
|
|
29
29
|
urgent: "urgent";
|
|
30
30
|
}>>;
|
|
31
31
|
status: z.ZodOptional<z.ZodEnum<{
|
|
32
|
-
canceled: "canceled";
|
|
33
32
|
pending: "pending";
|
|
33
|
+
canceled: "canceled";
|
|
34
34
|
backlog: "backlog";
|
|
35
35
|
inProgress: "inProgress";
|
|
36
36
|
paused: "paused";
|
|
@@ -63,8 +63,8 @@ export declare const makeUpdateIssueContract: <EnvironmentId extends PublicIdSch
|
|
|
63
63
|
lastReproducedInRunId: RunId;
|
|
64
64
|
}, z.core.$strip>>;
|
|
65
65
|
status: z.ZodEnum<{
|
|
66
|
-
canceled: "canceled";
|
|
67
66
|
pending: "pending";
|
|
67
|
+
canceled: "canceled";
|
|
68
68
|
backlog: "backlog";
|
|
69
69
|
inProgress: "inProgress";
|
|
70
70
|
paused: "paused";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PublicIdSchema } from "../ids.js";
|
|
2
2
|
export { makeFindPromotionsContract } from "./find.js";
|
|
3
3
|
export { makeGetPromotionContract } from "./get.js";
|
|
4
|
+
export { makeResolvePromotionContract, maxResolvedFileBytes, } from "./resolve.js";
|
|
4
5
|
export { type PromotionStatus, makePromotionResourceSchema, promotionStatusSchema, } from "./resource.js";
|
|
5
6
|
export declare const makePromotionContracts: <AiTaskId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
|
|
6
7
|
aiTask: AiTaskId;
|
|
@@ -105,5 +106,50 @@ export declare const makePromotionContracts: <AiTaskId extends PublicIdSchema, E
|
|
|
105
106
|
url: import("zod").ZodURL;
|
|
106
107
|
}, import("zod/v4/core").$strip>;
|
|
107
108
|
};
|
|
109
|
+
resolve: {
|
|
110
|
+
readonly annotationJustifications: {
|
|
111
|
+
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
112
|
+
readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
|
|
113
|
+
readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
|
|
114
|
+
};
|
|
115
|
+
readonly annotations: {
|
|
116
|
+
readonly destructiveHint: true;
|
|
117
|
+
readonly openWorldHint: false;
|
|
118
|
+
readonly readOnlyHint: false;
|
|
119
|
+
};
|
|
120
|
+
readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
|
|
121
|
+
readonly input: import("zod").ZodObject<{
|
|
122
|
+
deletes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
123
|
+
expectedSourceCommitHash: import("zod").ZodString;
|
|
124
|
+
expectedTargetCommitHash: import("zod").ZodString;
|
|
125
|
+
promotionId: PromotionId;
|
|
126
|
+
writes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
127
|
+
}, import("zod/v4/core").$strip>;
|
|
128
|
+
readonly kind: "write";
|
|
129
|
+
readonly name: "promotion.resolve";
|
|
130
|
+
readonly output: import("zod").ZodObject<{
|
|
131
|
+
aiTaskId: import("zod").ZodOptional<AiTaskId>;
|
|
132
|
+
baseEnvironmentId: EnvironmentId;
|
|
133
|
+
conflict: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
134
|
+
paths: import("zod").ZodArray<import("zod").ZodString>;
|
|
135
|
+
sourceCommitHash: import("zod").ZodString;
|
|
136
|
+
targetCommitHash: import("zod").ZodString;
|
|
137
|
+
}, import("zod/v4/core").$strip>>;
|
|
138
|
+
createdAt: import("zod").ZodISODateTime;
|
|
139
|
+
headEnvironmentId: EnvironmentId;
|
|
140
|
+
id: PromotionId;
|
|
141
|
+
promotedCommitHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
142
|
+
settledAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
143
|
+
status: import("zod").ZodEnum<{
|
|
144
|
+
pending: "pending";
|
|
145
|
+
conflicted: "conflicted";
|
|
146
|
+
resolving: "resolving";
|
|
147
|
+
promoted: "promoted";
|
|
148
|
+
"no-changes": "no-changes";
|
|
149
|
+
abandoned: "abandoned";
|
|
150
|
+
}>;
|
|
151
|
+
url: import("zod").ZodURL;
|
|
152
|
+
}, import("zod/v4/core").$strip>;
|
|
153
|
+
};
|
|
108
154
|
};
|
|
109
155
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,KAAK,eAAe,EACpB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,sBAAsB,GACjC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIC,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { makeFindPromotionsContract } from "./find.js";
|
|
2
2
|
import { makeGetPromotionContract } from "./get.js";
|
|
3
|
+
import { makeResolvePromotionContract } from "./resolve.js";
|
|
3
4
|
export { makeFindPromotionsContract } from "./find.js";
|
|
4
5
|
export { makeGetPromotionContract } from "./get.js";
|
|
6
|
+
export { makeResolvePromotionContract, maxResolvedFileBytes, } from "./resolve.js";
|
|
5
7
|
export { makePromotionResourceSchema, promotionStatusSchema, } from "./resource.js";
|
|
6
8
|
export const makePromotionContracts = (ids) => ({
|
|
7
9
|
find: makeFindPromotionsContract(ids),
|
|
8
10
|
get: makeGetPromotionContract(ids),
|
|
11
|
+
resolve: makeResolvePromotionContract(ids),
|
|
9
12
|
});
|
|
10
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAKpC,GAMD,EAAE,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC;IACrC,GAAG,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAClC,OAAO,EAAE,4BAA4B,CAAC,GAAG,CAAC;CAC3C,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
+
/**
|
|
4
|
+
* The executor reads each kept file back through the repository's contents
|
|
5
|
+
* endpoint, which serves inline content only below 1 MB.
|
|
6
|
+
*/
|
|
7
|
+
export declare const maxResolvedFileBytes = 1000000;
|
|
8
|
+
export declare const makeResolvePromotionContract: <AiTaskId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema>(ids: {
|
|
9
|
+
aiTask: AiTaskId;
|
|
10
|
+
environment: EnvironmentId;
|
|
11
|
+
promotion: PromotionId;
|
|
12
|
+
}) => {
|
|
13
|
+
readonly annotationJustifications: {
|
|
14
|
+
readonly destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.";
|
|
15
|
+
readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
|
|
16
|
+
readonly readOnlyHint: "Records a resolution that a background executor applies to the base branch.";
|
|
17
|
+
};
|
|
18
|
+
readonly annotations: {
|
|
19
|
+
readonly destructiveHint: true;
|
|
20
|
+
readonly openWorldHint: false;
|
|
21
|
+
readonly readOnlyHint: false;
|
|
22
|
+
};
|
|
23
|
+
readonly description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.";
|
|
24
|
+
readonly input: z.ZodObject<{
|
|
25
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
expectedSourceCommitHash: z.ZodString;
|
|
27
|
+
expectedTargetCommitHash: z.ZodString;
|
|
28
|
+
promotionId: PromotionId;
|
|
29
|
+
writes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
readonly kind: "write";
|
|
32
|
+
readonly name: "promotion.resolve";
|
|
33
|
+
readonly output: z.ZodObject<{
|
|
34
|
+
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
35
|
+
baseEnvironmentId: EnvironmentId;
|
|
36
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
paths: z.ZodArray<z.ZodString>;
|
|
38
|
+
sourceCommitHash: z.ZodString;
|
|
39
|
+
targetCommitHash: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
createdAt: z.ZodISODateTime;
|
|
42
|
+
headEnvironmentId: EnvironmentId;
|
|
43
|
+
id: PromotionId;
|
|
44
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
45
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
46
|
+
status: z.ZodEnum<{
|
|
47
|
+
pending: "pending";
|
|
48
|
+
conflicted: "conflicted";
|
|
49
|
+
resolving: "resolving";
|
|
50
|
+
promoted: "promoted";
|
|
51
|
+
"no-changes": "no-changes";
|
|
52
|
+
abandoned: "abandoned";
|
|
53
|
+
}>;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=resolve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/resolve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,UAAY,CAAC;AAe9C,eAAO,MAAM,4BAA4B,GACvC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DA,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { makePromotionResourceSchema } from "./resource.js";
|
|
3
|
+
/**
|
|
4
|
+
* The executor reads each kept file back through the repository's contents
|
|
5
|
+
* endpoint, which serves inline content only below 1 MB.
|
|
6
|
+
*/
|
|
7
|
+
export const maxResolvedFileBytes = 1_000_000;
|
|
8
|
+
const utf8ByteLength = (content) => new TextEncoder().encode(content).byteLength;
|
|
9
|
+
const keptFileSizeIssues = (writes) => Object.entries(writes)
|
|
10
|
+
.map(([path, content]) => ({ bytes: utf8ByteLength(content), path }))
|
|
11
|
+
.filter(({ bytes }) => bytes >= maxResolvedFileBytes)
|
|
12
|
+
.map(({ bytes, path }) => ({
|
|
13
|
+
code: "custom",
|
|
14
|
+
message: `Each kept file must be under ${maxResolvedFileBytes} bytes of UTF-8; ${path} is ${bytes} bytes.`,
|
|
15
|
+
path: [path],
|
|
16
|
+
}));
|
|
17
|
+
export const makeResolvePromotionContract = (ids) => {
|
|
18
|
+
const input = z.object({
|
|
19
|
+
deletes: z
|
|
20
|
+
.array(z.string().min(1))
|
|
21
|
+
.optional()
|
|
22
|
+
.describe("Conflicting paths to remove from the base environment. Repeat the flag once per path."),
|
|
23
|
+
expectedSourceCommitHash: z
|
|
24
|
+
.string()
|
|
25
|
+
.min(1)
|
|
26
|
+
.describe("The head environment's commit the conflict was computed against: conflict.sourceCommitHash from promotion.get. A different current commit means the branch moved and the call is refused."),
|
|
27
|
+
expectedTargetCommitHash: z
|
|
28
|
+
.string()
|
|
29
|
+
.min(1)
|
|
30
|
+
.describe("The base environment's commit the conflict was computed against: conflict.targetCommitHash from promotion.get. A different current commit means the branch moved and the call is refused."),
|
|
31
|
+
promotionId: ids.promotion,
|
|
32
|
+
writes: z
|
|
33
|
+
.record(z.string().min(1), z.string())
|
|
34
|
+
.superRefine((writes, refinement) => {
|
|
35
|
+
keptFileSizeIssues(writes).forEach((issue) => refinement.addIssue(issue));
|
|
36
|
+
})
|
|
37
|
+
.optional()
|
|
38
|
+
.describe("The resolved full contents of each conflicting path to keep, keyed by path. Repeat the flag once per path as PATH=CONTENT. Each file must be under 1 MB of UTF-8."),
|
|
39
|
+
});
|
|
40
|
+
const output = makePromotionResourceSchema(ids);
|
|
41
|
+
return {
|
|
42
|
+
annotationJustifications: {
|
|
43
|
+
destructiveHint: "Lands the resolved files on the base environment's flow code branch and terminates the head environment once they land.",
|
|
44
|
+
openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.",
|
|
45
|
+
readOnlyHint: "Records a resolution that a background executor applies to the base branch.",
|
|
46
|
+
},
|
|
47
|
+
annotations: {
|
|
48
|
+
destructiveHint: true,
|
|
49
|
+
openWorldHint: false,
|
|
50
|
+
readOnlyHint: false,
|
|
51
|
+
},
|
|
52
|
+
description: "Submit the resolution of a conflicted promotion: the full resolved contents of every conflicting path to keep, and every conflicting path to delete. Together they must cover exactly the paths in the promotion's conflict, and both commit hashes must match the conflict's; if a branch moved since, the call is refused as stale-conflict and promotion.get has the current conflict. Returns the promotion in resolving; poll promotion.get until it is promoted, or conflicted again if the branches moved while it applied.",
|
|
53
|
+
input,
|
|
54
|
+
kind: "write",
|
|
55
|
+
name: "promotion.resolve",
|
|
56
|
+
output,
|
|
57
|
+
};
|
|
58
|
+
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AQ,CACP,uFAAuF,CACxF;QACH,wBAAwB,EAAE,CAAC;aACxB,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,2LAA2L,CAC5L;QACH,wBAAwB,EAAE,CAAC;aACxB,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,2LAA2L,CAC5L;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;QAC1B,MAAM,EAAE,CAAC;aACN,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;aACrC,WAAW,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;YAClC,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAC3C,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC3B,CAAC;QACJ,CAAC,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CACP,mKAAmK,CACpK;KACJ,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,2BAA2B,CAAC,GAAG,CAAC,CAAC;IAEhD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,yHAAyH;YAC3H,aAAa,EACX,4FAA4F;YAC9F,YAAY,EACV,6EAA6E;SAChF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,ogBAAogB;QACtgB,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -47,8 +47,8 @@ export declare const makeDiagnoseRunContract: <EnvironmentId extends PublicIdSch
|
|
|
47
47
|
lastReproducedInRunId: RunId;
|
|
48
48
|
}, z.core.$strip>>;
|
|
49
49
|
status: z.ZodEnum<{
|
|
50
|
-
canceled: "canceled";
|
|
51
50
|
pending: "pending";
|
|
51
|
+
canceled: "canceled";
|
|
52
52
|
backlog: "backlog";
|
|
53
53
|
inProgress: "inProgress";
|
|
54
54
|
paused: "paused";
|
|
@@ -24,6 +24,7 @@ export declare const makeReattemptRunContract: <FlowId extends PublicIdSchema, R
|
|
|
24
24
|
readonly name: "run.reattempt";
|
|
25
25
|
readonly output: z.ZodObject<{
|
|
26
26
|
reattemptedFlowIds: z.ZodArray<FlowId>;
|
|
27
|
+
reattemptedInRunIds: z.ZodArray<RunId>;
|
|
27
28
|
runId: RunId;
|
|
28
29
|
url: z.ZodURL;
|
|
29
30
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reattempt.d.ts","sourceRoot":"","sources":["../../../src/v1/run/reattempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,wBAAwB,GACnC,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":"reattempt.d.ts","sourceRoot":"","sources":["../../../src/v1/run/reattempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,wBAAwB,GACnC,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;;;;;;;;;;;;;;;;;;;;;;;;CAsEA,CAAC"}
|
package/dist/v1/run/reattempt.js
CHANGED
|
@@ -17,6 +17,12 @@ export const makeReattemptRunContract = (ids) => {
|
|
|
17
17
|
reattemptedFlowIds: z
|
|
18
18
|
.array(ids.flow)
|
|
19
19
|
.describe("The flows a new attempt was requested for."),
|
|
20
|
+
reattemptedInRunIds: z
|
|
21
|
+
.array(ids.run)
|
|
22
|
+
.describe("The runs the new attempts were added to, which is where to poll " +
|
|
23
|
+
"for their results. It is this run alone unless a flow had kept " +
|
|
24
|
+
"failing in later runs, because the attempt then goes to the " +
|
|
25
|
+
"latest of them."),
|
|
20
26
|
runId: ids.run,
|
|
21
27
|
}, { urlFieldDescription: "Absolute URL of the run page." });
|
|
22
28
|
return {
|
|
@@ -30,9 +36,12 @@ export const makeReattemptRunContract = (ids) => {
|
|
|
30
36
|
openWorldHint: true,
|
|
31
37
|
readOnlyHint: false,
|
|
32
38
|
},
|
|
33
|
-
description: "Request new attempts for a run's flows
|
|
39
|
+
description: "Request new attempts for a run's flows. " +
|
|
34
40
|
"A flow is eligible once its result is failed or canceled and QA Wolf's " +
|
|
35
41
|
"automatic retries have finished. " +
|
|
42
|
+
"A flow that kept failing in later runs is attempted in the latest of " +
|
|
43
|
+
"them, because that is the run carrying the failure, so read " +
|
|
44
|
+
"reattemptedInRunIds for where each attempt landed. " +
|
|
36
45
|
"A fully investigated run no longer accepts reattempts. " +
|
|
37
46
|
"Attempts run with the latest flow code. Poll run.get for results.",
|
|
38
47
|
input,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reattempt.js","sourceRoot":"","sources":["../../../src/v1/run/reattempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAGtC,GAID,EAAE,EAAE;IACH,MAAM,KAAK,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ACf,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,EAAE;aACV,QAAQ,CACP,mEAAmE;YACjE,mEAAmE,CACtE;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,QAAQ,CACrB;QACE,kBAAkB,EAAE,CAAC;aAClB,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,QAAQ,CAAC,4CAA4C,CAAC;QACzD,mBAAmB,EAAE,CAAC;aACnB,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;aACd,QAAQ,CACP,kEAAkE;YAChE,iEAAiE;YACjE,8DAA8D;YAC9D,iBAAiB,CACpB;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,EACD,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CACzD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,iGAAiG;YACnG,aAAa,EACX,4FAA4F;YAC9F,YAAY,EACV,oFAAoF;SACvF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,0CAA0C;YAC1C,yEAAyE;YACzE,mCAAmC;YACnC,uEAAuE;YACvE,8DAA8D;YAC9D,qDAAqD;YACrD,yDAAyD;YACzD,mEAAmE;QACrE,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,eAAe;QACrB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -294,8 +294,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
294
294
|
errorMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
295
295
|
outcome: import("zod").ZodLiteral<"success">;
|
|
296
296
|
result: import("zod").ZodEnum<{
|
|
297
|
-
success: "success";
|
|
298
297
|
error: "error";
|
|
298
|
+
success: "success";
|
|
299
299
|
stopped: "stopped";
|
|
300
300
|
}>;
|
|
301
301
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -27,8 +27,8 @@ export declare const makeEvaluateSnippetOnRunnerContract: <WorkspaceId extends P
|
|
|
27
27
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
28
28
|
outcome: z.ZodLiteral<"success">;
|
|
29
29
|
result: z.ZodEnum<{
|
|
30
|
-
success: "success";
|
|
31
30
|
error: "error";
|
|
31
|
+
success: "success";
|
|
32
32
|
stopped: "stopped";
|
|
33
33
|
}>;
|
|
34
34
|
}, z.core.$strip>, z.ZodObject<{
|