@cnc-tools/storm 0.7.0 → 0.8.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/build-info.js +1 -1
- package/dist/commands/exec/cleanup.d.ts +3 -3
- package/dist/commands/exec/cleanup.js +1 -1
- package/dist/commands/exec/command.d.ts +771 -1
- package/dist/commands/exec/command.js +1 -1
- package/dist/commands/exec/live-view.js +3 -2
- package/dist/commands/exec/metadata.d.ts +1 -1
- package/dist/commands/exec/metadata.js +4 -0
- package/dist/commands/exec/mint-failed.d.ts +28 -0
- package/dist/commands/exec/outcomes.d.ts +476 -0
- package/dist/commands/exec/progress.js +3 -5
- package/dist/commands/exec/run-command.d.ts +2 -2
- package/dist/commands/exec/run-metadata.d.ts +1 -1
- package/dist/commands/exec/run-metadata.js +1 -1
- package/dist/commands/exec/tests-summary.d.ts +1 -1
- package/dist/commands/exec/tests-summary.js +1 -1
- package/dist/commands/runs/list/command.d.ts +129 -1
- package/dist/commands/runs/list/command.js +1 -1
- package/dist/commands/runs/list/outcomes.d.ts +16 -0
- package/dist/commands/runs/logs/command.d.ts +263 -1
- package/dist/commands/runs/logs/command.js +1 -1
- package/dist/commands/runs/logs/outcomes.d.ts +105 -0
- package/dist/commands/runs/show/command.d.ts +329 -1
- package/dist/commands/runs/show/command.js +1 -1
- package/dist/commands/runs/show/outcomes.d.ts +71 -0
- package/dist/commands/vitest/command.d.ts +886 -1
- package/dist/commands/vitest/command.js +1 -1
- package/dist/commands/vitest/metadata.d.ts +1 -1
- package/dist/commands/vitest/metadata.js +4 -0
- package/dist/commands/vitest/outcomes.d.ts +295 -0
- package/dist/config/errors.d.ts +73 -0
- package/dist/config/schema.d.ts +1 -1
- package/dist/config-file/define.d.ts +4 -3
- package/dist/config-file/define.js +1 -1
- package/dist/config-file/toolchain.js +1 -1
- package/dist/core/command-slots.d.ts +8 -2
- package/dist/core/command-slots.js +6 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/credential/index.d.ts +1 -0
- package/dist/credential/index.js +1 -0
- package/dist/credential/settle.d.ts +20 -0
- package/dist/credential/target.d.ts +6 -0
- package/dist/credential/target.js +7 -0
- package/dist/resources/github/command.d.ts +54 -2
- package/dist/resources/github/config.js +1 -1
- package/dist/resources/github/index.js +1 -1
- package/dist/resources/github/resource.js +2 -2
- package/dist/resources/testserver/command.d.ts +208 -10
- package/dist/resources/testserver/command.js +7 -0
- package/dist/resources/testserver/commands/create/command.d.ts +808 -1
- package/dist/resources/testserver/commands/create/command.js +64 -23
- package/dist/resources/testserver/commands/create/metadata.js +6 -2
- package/dist/resources/testserver/commands/create/outcomes.d.ts +347 -0
- package/dist/resources/testserver/commands/create/outcomes.js +14 -1
- package/dist/resources/testserver/commands/list/command.d.ts +84 -1
- package/dist/resources/testserver/commands/list/command.js +1 -1
- package/dist/resources/testserver/commands/list/outcomes.d.ts +16 -0
- package/dist/resources/testserver/config.js +14 -4
- package/dist/resources/testserver/events.d.ts +9 -0
- package/dist/resources/testserver/index.js +8 -7
- package/dist/resources/testserver/lane.js +1 -0
- package/dist/resources/testserver/live/gateways.d.ts +2 -0
- package/dist/resources/testserver/live/gateways.js +16 -3
- package/dist/resources/testserver/pool/channels.d.ts +5 -2
- package/dist/resources/testserver/pool/channels.js +1 -1
- package/dist/resources/testserver/pool/create.d.ts +6 -2
- package/dist/resources/testserver/pool/create.js +6 -5
- package/dist/resources/testserver/pool/index.d.ts +1 -0
- package/dist/resources/testserver/pool/index.js +1 -0
- package/dist/resources/testserver/pool/pull-request.d.ts +89 -0
- package/dist/resources/testserver/pool/pull-request.js +85 -0
- package/dist/resources/testserver/pr-build-facts.d.ts +130 -0
- package/dist/resources/testserver/pr-build-facts.js +261 -0
- package/dist/resources/testserver/presentation.d.ts +2 -2
- package/dist/resources/testserver/presentation.js +12 -3
- package/dist/resources/testserver/provider.d.ts +16 -6
- package/dist/resources/testserver/provider.js +46 -15
- package/dist/resources/testserver/pull-request/gateways.d.ts +117 -0
- package/dist/resources/testserver/pull-request/gateways.js +5 -0
- package/dist/resources/testserver/pull-request/index.d.ts +5 -0
- package/dist/resources/testserver/pull-request/index.js +6 -0
- package/dist/resources/testserver/pull-request/live/github-rest.d.ts +28 -0
- package/dist/resources/testserver/pull-request/live/github-rest.js +114 -0
- package/dist/resources/testserver/pull-request/live/github-token-gateway.d.ts +12 -0
- package/dist/resources/testserver/pull-request/live/github-token-gateway.js +39 -0
- package/dist/resources/testserver/pull-request/live/pull-request-gateway.d.ts +10 -0
- package/dist/resources/testserver/pull-request/live/pull-request-gateway.js +27 -0
- package/dist/resources/testserver/pull-request/live/testserver-workflow-gateway.d.ts +21 -0
- package/dist/resources/testserver/pull-request/live/testserver-workflow-gateway.js +64 -0
- package/dist/resources/testserver/ran.d.ts +5 -0
- package/dist/resources/testserver/ran.js +19 -3
- package/dist/resources/testserver/resource.d.ts +5 -1
- package/dist/resources/testserver/resource.js +2 -2
- package/dist/resources/testserver/sandbox/build-reference.d.ts +38 -0
- package/dist/resources/testserver/sandbox/build-reference.js +79 -0
- package/dist/resources/testserver/sandbox/index.d.ts +1 -0
- package/dist/resources/testserver/sandbox/index.js +1 -0
- package/dist/resources.d.ts +265 -15
- package/dist/sdk/index.js +2 -2
- package/dist/story/command-line.d.ts +34 -0
- package/dist/story/command-line.js +100 -0
- package/dist/story/index.d.ts +1 -0
- package/dist/story/index.js +3 -2
- package/dist/vercel-cli/context.js +1 -1
- package/dist/vercel-cli/index.js +1 -1
- package/dist/vitest/config.js +2 -2
- package/dist/vitest/fixtures.d.ts +1 -1
- package/dist/vitest/fixtures.js +1 -1
- package/dist/vitest/index.js +3 -3
- package/dist/vitest/plan.js +1 -1
- package/package.json +3 -3
- package/skills/overview.md +2 -0
- package/skills/testserver-builds.md +80 -0
|
@@ -240,6 +240,776 @@ export declare function command(cmd: CommandBuilder<StormApp>): import("@vercel/
|
|
|
240
240
|
} & {
|
|
241
241
|
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
242
242
|
}]>;
|
|
243
|
+
prBuildExpired: import("@vercel/clinkr").SharedError<"pr_build_expired", [{
|
|
244
|
+
pr: number;
|
|
245
|
+
headSha: string;
|
|
246
|
+
build: string;
|
|
247
|
+
expiresAt: string;
|
|
248
|
+
} & {
|
|
249
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
250
|
+
}]>;
|
|
251
|
+
prBuildNotReady: import("@vercel/clinkr").SharedError<"pr_build_not_ready", [{
|
|
252
|
+
pr: number;
|
|
253
|
+
headSha: string;
|
|
254
|
+
newest: {
|
|
255
|
+
build: string;
|
|
256
|
+
headSha: string;
|
|
257
|
+
createdAt: string;
|
|
258
|
+
} | null;
|
|
259
|
+
} & {
|
|
260
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
261
|
+
}]>;
|
|
262
|
+
prBuildsUnlisted: import("@vercel/clinkr").SharedError<"pr_builds_unlisted", [{
|
|
263
|
+
pr: number;
|
|
264
|
+
failure: {
|
|
265
|
+
kind: "connect-failed" | "http-error" | "malformed" | "not-found" | "rejected" | "timeout";
|
|
266
|
+
status: number | null;
|
|
267
|
+
detail: string;
|
|
268
|
+
};
|
|
269
|
+
} & {
|
|
270
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
271
|
+
}]>;
|
|
272
|
+
pullRequestUnreadable: import("@vercel/clinkr").SharedError<"pull_request_unreadable", [{
|
|
273
|
+
pr: number;
|
|
274
|
+
repo: string;
|
|
275
|
+
kind: "connect-failed" | "http-error" | "malformed" | "no-token" | "not-found" | "rejected" | "timeout";
|
|
276
|
+
status: number | null;
|
|
277
|
+
message: string | null;
|
|
278
|
+
tokenOrigin: "GH_TOKEN" | "GITHUB_TOKEN" | "gh auth token" | null;
|
|
279
|
+
} & {
|
|
280
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
281
|
+
}]>;
|
|
282
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
283
|
+
failure: {
|
|
284
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
285
|
+
label: string;
|
|
286
|
+
exitCode: number | null;
|
|
287
|
+
tail: string[];
|
|
288
|
+
} | {
|
|
289
|
+
kind: "sandbox-api-failed";
|
|
290
|
+
operation: string;
|
|
291
|
+
status: number | null;
|
|
292
|
+
message: string;
|
|
293
|
+
} | {
|
|
294
|
+
kind: "checkout-failed";
|
|
295
|
+
message: string;
|
|
296
|
+
command: string | null;
|
|
297
|
+
} | {
|
|
298
|
+
kind: "credential-claims-missing";
|
|
299
|
+
team: string;
|
|
300
|
+
project: string;
|
|
301
|
+
};
|
|
302
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
303
|
+
}]>;
|
|
304
|
+
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
305
|
+
snapshotId: string;
|
|
306
|
+
base: string;
|
|
307
|
+
removal: {
|
|
308
|
+
path: string;
|
|
309
|
+
message: string;
|
|
310
|
+
} | null;
|
|
311
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
312
|
+
}]>;
|
|
313
|
+
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
314
|
+
executable: string;
|
|
315
|
+
message: string;
|
|
316
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
317
|
+
}]>;
|
|
318
|
+
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
319
|
+
paths: string[];
|
|
320
|
+
}]>;
|
|
321
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [{
|
|
322
|
+
cause: "request-failed" | "variables-missing";
|
|
323
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
324
|
+
status: number | null;
|
|
325
|
+
said: string | null;
|
|
326
|
+
detail: string;
|
|
327
|
+
fix: string;
|
|
328
|
+
ttlMinutes: number;
|
|
329
|
+
failedCreates: {
|
|
330
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
331
|
+
detail: string | null;
|
|
332
|
+
}[];
|
|
333
|
+
sandboxMayExist: boolean;
|
|
334
|
+
} & {
|
|
335
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
336
|
+
}]>;
|
|
337
|
+
}, {
|
|
338
|
+
credentialRejected: import("@vercel/clinkr").SharedError<"credential_rejected", [{
|
|
339
|
+
origin: {
|
|
340
|
+
source: "mint";
|
|
341
|
+
team: string;
|
|
342
|
+
project: string;
|
|
343
|
+
} | {
|
|
344
|
+
source: "github-actions";
|
|
345
|
+
claims: {
|
|
346
|
+
aud: string;
|
|
347
|
+
repository: string;
|
|
348
|
+
} | null;
|
|
349
|
+
};
|
|
350
|
+
fix: string;
|
|
351
|
+
status: number;
|
|
352
|
+
vercelId: string | null;
|
|
353
|
+
ttlMinutes: number;
|
|
354
|
+
failedCreates: {
|
|
355
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
356
|
+
detail: string | null;
|
|
357
|
+
}[];
|
|
358
|
+
unpooled: {
|
|
359
|
+
testserverUrl: string;
|
|
360
|
+
path: string;
|
|
361
|
+
message: string;
|
|
362
|
+
}[];
|
|
363
|
+
sandboxMayExist: boolean;
|
|
364
|
+
} & {
|
|
365
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
366
|
+
}]>;
|
|
367
|
+
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
368
|
+
flags: string[];
|
|
369
|
+
configFile: string | null;
|
|
370
|
+
}]>;
|
|
371
|
+
githubFixtureRepoUnavailable: import("@vercel/clinkr").SharedError<"github_fixture_repo_unavailable", [{
|
|
372
|
+
repo: string;
|
|
373
|
+
status: number | null;
|
|
374
|
+
message: string;
|
|
375
|
+
} & {
|
|
376
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
377
|
+
}]>;
|
|
378
|
+
githubTokenMissing: import("@vercel/clinkr").SharedError<"github_token_missing", [data: {
|
|
379
|
+
tokenEnv: string;
|
|
380
|
+
repo: string;
|
|
381
|
+
configFile: string | null;
|
|
382
|
+
requiredBy: "config" | "set";
|
|
383
|
+
}]>;
|
|
384
|
+
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
385
|
+
file: string;
|
|
386
|
+
problems: {
|
|
387
|
+
key: string | null;
|
|
388
|
+
location: {
|
|
389
|
+
line: number;
|
|
390
|
+
column: number | null;
|
|
391
|
+
} | null;
|
|
392
|
+
problem: string;
|
|
393
|
+
}[];
|
|
394
|
+
}]>;
|
|
395
|
+
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
396
|
+
configFile: string | null;
|
|
397
|
+
problems: {
|
|
398
|
+
key: string;
|
|
399
|
+
problem: string;
|
|
400
|
+
values: {
|
|
401
|
+
key: string;
|
|
402
|
+
value: string;
|
|
403
|
+
source: "default" | "file" | "flag";
|
|
404
|
+
}[];
|
|
405
|
+
}[];
|
|
406
|
+
}]>;
|
|
407
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
408
|
+
team: string;
|
|
409
|
+
project: string;
|
|
410
|
+
cause: string;
|
|
411
|
+
fix: string;
|
|
412
|
+
runner: boolean;
|
|
413
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
414
|
+
}]>;
|
|
415
|
+
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
416
|
+
configFile: string | null;
|
|
417
|
+
}]>;
|
|
418
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
419
|
+
missing: ("project" | "scope")[];
|
|
420
|
+
}]>;
|
|
421
|
+
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
422
|
+
refs: {
|
|
423
|
+
ref: string;
|
|
424
|
+
reason: "missing" | "unrelated";
|
|
425
|
+
}[];
|
|
426
|
+
}]>;
|
|
427
|
+
noSandboxes: import("@vercel/clinkr").SharedError<"no_sandboxes", [{
|
|
428
|
+
requested: number;
|
|
429
|
+
ttlMinutes: number;
|
|
430
|
+
failedCreates: {
|
|
431
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
432
|
+
detail: string | null;
|
|
433
|
+
}[];
|
|
434
|
+
sandboxMayExist: boolean;
|
|
435
|
+
} & {
|
|
436
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
437
|
+
}]>;
|
|
438
|
+
noUsableSandboxes: import("@vercel/clinkr").SharedError<"no_usable_sandboxes", [{
|
|
439
|
+
requested: number;
|
|
440
|
+
build: string;
|
|
441
|
+
} & {
|
|
442
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
443
|
+
}]>;
|
|
444
|
+
poolUnavailable: import("@vercel/clinkr").SharedError<"pool_unavailable", [data: {
|
|
445
|
+
path: string;
|
|
446
|
+
message: string;
|
|
447
|
+
}]>;
|
|
448
|
+
poolUnreadable: import("@vercel/clinkr").SharedError<"pool_unreadable", [{
|
|
449
|
+
path: string;
|
|
450
|
+
message: string;
|
|
451
|
+
} & {
|
|
452
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
453
|
+
}]>;
|
|
454
|
+
prBuildExpired: import("@vercel/clinkr").SharedError<"pr_build_expired", [{
|
|
455
|
+
pr: number;
|
|
456
|
+
headSha: string;
|
|
457
|
+
build: string;
|
|
458
|
+
expiresAt: string;
|
|
459
|
+
} & {
|
|
460
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
461
|
+
}]>;
|
|
462
|
+
prBuildNotReady: import("@vercel/clinkr").SharedError<"pr_build_not_ready", [{
|
|
463
|
+
pr: number;
|
|
464
|
+
headSha: string;
|
|
465
|
+
newest: {
|
|
466
|
+
build: string;
|
|
467
|
+
headSha: string;
|
|
468
|
+
createdAt: string;
|
|
469
|
+
} | null;
|
|
470
|
+
} & {
|
|
471
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
472
|
+
}]>;
|
|
473
|
+
prBuildsUnlisted: import("@vercel/clinkr").SharedError<"pr_builds_unlisted", [{
|
|
474
|
+
pr: number;
|
|
475
|
+
failure: {
|
|
476
|
+
kind: "connect-failed" | "http-error" | "malformed" | "not-found" | "rejected" | "timeout";
|
|
477
|
+
status: number | null;
|
|
478
|
+
detail: string;
|
|
479
|
+
};
|
|
480
|
+
} & {
|
|
481
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
482
|
+
}]>;
|
|
483
|
+
pullRequestUnreadable: import("@vercel/clinkr").SharedError<"pull_request_unreadable", [{
|
|
484
|
+
pr: number;
|
|
485
|
+
repo: string;
|
|
486
|
+
kind: "connect-failed" | "http-error" | "malformed" | "no-token" | "not-found" | "rejected" | "timeout";
|
|
487
|
+
status: number | null;
|
|
488
|
+
message: string | null;
|
|
489
|
+
tokenOrigin: "GH_TOKEN" | "GITHUB_TOKEN" | "gh auth token" | null;
|
|
490
|
+
} & {
|
|
491
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
492
|
+
}]>;
|
|
493
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
494
|
+
failure: {
|
|
495
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
496
|
+
label: string;
|
|
497
|
+
exitCode: number | null;
|
|
498
|
+
tail: string[];
|
|
499
|
+
} | {
|
|
500
|
+
kind: "sandbox-api-failed";
|
|
501
|
+
operation: string;
|
|
502
|
+
status: number | null;
|
|
503
|
+
message: string;
|
|
504
|
+
} | {
|
|
505
|
+
kind: "checkout-failed";
|
|
506
|
+
message: string;
|
|
507
|
+
command: string | null;
|
|
508
|
+
} | {
|
|
509
|
+
kind: "credential-claims-missing";
|
|
510
|
+
team: string;
|
|
511
|
+
project: string;
|
|
512
|
+
};
|
|
513
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
514
|
+
}]>;
|
|
515
|
+
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
516
|
+
snapshotId: string;
|
|
517
|
+
base: string;
|
|
518
|
+
removal: {
|
|
519
|
+
path: string;
|
|
520
|
+
message: string;
|
|
521
|
+
} | null;
|
|
522
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
523
|
+
}]>;
|
|
524
|
+
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
525
|
+
executable: string;
|
|
526
|
+
message: string;
|
|
527
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
528
|
+
}]>;
|
|
529
|
+
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
530
|
+
paths: string[];
|
|
531
|
+
}]>;
|
|
532
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [{
|
|
533
|
+
cause: "request-failed" | "variables-missing";
|
|
534
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
535
|
+
status: number | null;
|
|
536
|
+
said: string | null;
|
|
537
|
+
detail: string;
|
|
538
|
+
fix: string;
|
|
539
|
+
ttlMinutes: number;
|
|
540
|
+
failedCreates: {
|
|
541
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
542
|
+
detail: string | null;
|
|
543
|
+
}[];
|
|
544
|
+
sandboxMayExist: boolean;
|
|
545
|
+
} & {
|
|
546
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
547
|
+
}]>;
|
|
548
|
+
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
549
|
+
ran: z.ZodObject<{
|
|
550
|
+
version: z.ZodString;
|
|
551
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
552
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
553
|
+
resources: z.ZodType<import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, z.core.$ZodTypeInternals<import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>>>;
|
|
554
|
+
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
555
|
+
command: z.ZodObject<{
|
|
556
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
557
|
+
signal: z.ZodNullable<z.ZodString>;
|
|
558
|
+
}, z.core.$strip>;
|
|
559
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
560
|
+
snapshotId: z.ZodString;
|
|
561
|
+
base: z.ZodString;
|
|
562
|
+
snapshotBranch: z.ZodNullable<z.ZodString>;
|
|
563
|
+
snapshotHead: z.ZodNullable<z.ZodString>;
|
|
564
|
+
built: z.ZodBoolean;
|
|
565
|
+
vcpus: z.ZodNumber;
|
|
566
|
+
region: z.ZodString;
|
|
567
|
+
runtime: z.ZodString;
|
|
568
|
+
buildMs: z.ZodNumber;
|
|
569
|
+
save: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
570
|
+
kind: z.ZodLiteral<"saved">;
|
|
571
|
+
snapshotId: z.ZodString;
|
|
572
|
+
base: z.ZodString;
|
|
573
|
+
branch: z.ZodString;
|
|
574
|
+
head: z.ZodString;
|
|
575
|
+
ms: z.ZodNumber;
|
|
576
|
+
sizeBytes: z.ZodNumber;
|
|
577
|
+
entryWritten: z.ZodBoolean;
|
|
578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
579
|
+
kind: z.ZodLiteral<"skipped">;
|
|
580
|
+
reason: z.ZodLiteral<"detached-head">;
|
|
581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
582
|
+
kind: z.ZodLiteral<"failed">;
|
|
583
|
+
step: z.ZodEnum<{
|
|
584
|
+
"save-snapshot": "save-snapshot";
|
|
585
|
+
scrub: "scrub";
|
|
586
|
+
}>;
|
|
587
|
+
message: z.ZodString;
|
|
588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
589
|
+
kind: z.ZodLiteral<"stopped">;
|
|
590
|
+
}, z.core.$strip>], "kind">>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
timeline: z.ZodObject<{
|
|
593
|
+
startedAt: z.ZodString;
|
|
594
|
+
totalMs: z.ZodNumber;
|
|
595
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
596
|
+
name: z.ZodEnum<{
|
|
597
|
+
cleanup: "cleanup";
|
|
598
|
+
mint: "mint";
|
|
599
|
+
runner: "runner";
|
|
600
|
+
tests: "tests";
|
|
601
|
+
testserver: "testserver";
|
|
602
|
+
}>;
|
|
603
|
+
startMs: z.ZodNumber;
|
|
604
|
+
endMs: z.ZodNumber;
|
|
605
|
+
outcome: z.ZodEnum<{
|
|
606
|
+
done: "done";
|
|
607
|
+
failed: "failed";
|
|
608
|
+
stopped: "stopped";
|
|
609
|
+
unfinished: "unfinished";
|
|
610
|
+
}>;
|
|
611
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
612
|
+
name: z.ZodEnum<{
|
|
613
|
+
[x: string]: string;
|
|
614
|
+
}>;
|
|
615
|
+
startMs: z.ZodNumber;
|
|
616
|
+
endMs: z.ZodNumber;
|
|
617
|
+
outcome: z.ZodEnum<{
|
|
618
|
+
done: "done";
|
|
619
|
+
failed: "failed";
|
|
620
|
+
stopped: "stopped";
|
|
621
|
+
unfinished: "unfinished";
|
|
622
|
+
}>;
|
|
623
|
+
}, z.core.$strip>>;
|
|
624
|
+
idleMs: z.ZodNumber;
|
|
625
|
+
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
626
|
+
built: "built";
|
|
627
|
+
reused: "reused";
|
|
628
|
+
}>>;
|
|
629
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
reused: z.ZodNumber;
|
|
631
|
+
created: z.ZodNumber;
|
|
632
|
+
}, z.core.$strip>>;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
criticalPath: z.ZodArray<z.ZodEnum<{
|
|
635
|
+
cleanup: "cleanup";
|
|
636
|
+
mint: "mint";
|
|
637
|
+
runner: "runner";
|
|
638
|
+
tests: "tests";
|
|
639
|
+
testserver: "testserver";
|
|
640
|
+
}>>;
|
|
641
|
+
}, z.core.$strip>;
|
|
642
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
643
|
+
}, z.core.$strip>;
|
|
644
|
+
}, {
|
|
645
|
+
ran: unknown;
|
|
646
|
+
}, {
|
|
647
|
+
credentialRejected: import("@vercel/clinkr").SharedError<"credential_rejected", [{
|
|
648
|
+
origin: {
|
|
649
|
+
source: "mint";
|
|
650
|
+
team: string;
|
|
651
|
+
project: string;
|
|
652
|
+
} | {
|
|
653
|
+
source: "github-actions";
|
|
654
|
+
claims: {
|
|
655
|
+
aud: string;
|
|
656
|
+
repository: string;
|
|
657
|
+
} | null;
|
|
658
|
+
};
|
|
659
|
+
fix: string;
|
|
660
|
+
status: number;
|
|
661
|
+
vercelId: string | null;
|
|
662
|
+
ttlMinutes: number;
|
|
663
|
+
failedCreates: {
|
|
664
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
665
|
+
detail: string | null;
|
|
666
|
+
}[];
|
|
667
|
+
unpooled: {
|
|
668
|
+
testserverUrl: string;
|
|
669
|
+
path: string;
|
|
670
|
+
message: string;
|
|
671
|
+
}[];
|
|
672
|
+
sandboxMayExist: boolean;
|
|
673
|
+
} & {
|
|
674
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
675
|
+
}]>;
|
|
676
|
+
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
677
|
+
flags: string[];
|
|
678
|
+
configFile: string | null;
|
|
679
|
+
}]>;
|
|
680
|
+
githubFixtureRepoUnavailable: import("@vercel/clinkr").SharedError<"github_fixture_repo_unavailable", [{
|
|
681
|
+
repo: string;
|
|
682
|
+
status: number | null;
|
|
683
|
+
message: string;
|
|
684
|
+
} & {
|
|
685
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
686
|
+
}]>;
|
|
687
|
+
githubTokenMissing: import("@vercel/clinkr").SharedError<"github_token_missing", [data: {
|
|
688
|
+
tokenEnv: string;
|
|
689
|
+
repo: string;
|
|
690
|
+
configFile: string | null;
|
|
691
|
+
requiredBy: "config" | "set";
|
|
692
|
+
}]>;
|
|
693
|
+
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
694
|
+
file: string;
|
|
695
|
+
problems: {
|
|
696
|
+
key: string | null;
|
|
697
|
+
location: {
|
|
698
|
+
line: number;
|
|
699
|
+
column: number | null;
|
|
700
|
+
} | null;
|
|
701
|
+
problem: string;
|
|
702
|
+
}[];
|
|
703
|
+
}]>;
|
|
704
|
+
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
705
|
+
configFile: string | null;
|
|
706
|
+
problems: {
|
|
707
|
+
key: string;
|
|
708
|
+
problem: string;
|
|
709
|
+
values: {
|
|
710
|
+
key: string;
|
|
711
|
+
value: string;
|
|
712
|
+
source: "default" | "file" | "flag";
|
|
713
|
+
}[];
|
|
714
|
+
}[];
|
|
715
|
+
}]>;
|
|
716
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
717
|
+
team: string;
|
|
718
|
+
project: string;
|
|
719
|
+
cause: string;
|
|
720
|
+
fix: string;
|
|
721
|
+
runner: boolean;
|
|
722
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
723
|
+
}]>;
|
|
724
|
+
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
725
|
+
configFile: string | null;
|
|
726
|
+
}]>;
|
|
727
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
728
|
+
missing: ("project" | "scope")[];
|
|
729
|
+
}]>;
|
|
730
|
+
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
731
|
+
refs: {
|
|
732
|
+
ref: string;
|
|
733
|
+
reason: "missing" | "unrelated";
|
|
734
|
+
}[];
|
|
735
|
+
}]>;
|
|
736
|
+
noSandboxes: import("@vercel/clinkr").SharedError<"no_sandboxes", [{
|
|
737
|
+
requested: number;
|
|
738
|
+
ttlMinutes: number;
|
|
739
|
+
failedCreates: {
|
|
740
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
741
|
+
detail: string | null;
|
|
742
|
+
}[];
|
|
743
|
+
sandboxMayExist: boolean;
|
|
744
|
+
} & {
|
|
745
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
746
|
+
}]>;
|
|
747
|
+
noUsableSandboxes: import("@vercel/clinkr").SharedError<"no_usable_sandboxes", [{
|
|
748
|
+
requested: number;
|
|
749
|
+
build: string;
|
|
750
|
+
} & {
|
|
751
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
752
|
+
}]>;
|
|
753
|
+
poolUnavailable: import("@vercel/clinkr").SharedError<"pool_unavailable", [data: {
|
|
754
|
+
path: string;
|
|
755
|
+
message: string;
|
|
756
|
+
}]>;
|
|
757
|
+
poolUnreadable: import("@vercel/clinkr").SharedError<"pool_unreadable", [{
|
|
758
|
+
path: string;
|
|
759
|
+
message: string;
|
|
760
|
+
} & {
|
|
761
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
762
|
+
}]>;
|
|
763
|
+
prBuildExpired: import("@vercel/clinkr").SharedError<"pr_build_expired", [{
|
|
764
|
+
pr: number;
|
|
765
|
+
headSha: string;
|
|
766
|
+
build: string;
|
|
767
|
+
expiresAt: string;
|
|
768
|
+
} & {
|
|
769
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
770
|
+
}]>;
|
|
771
|
+
prBuildNotReady: import("@vercel/clinkr").SharedError<"pr_build_not_ready", [{
|
|
772
|
+
pr: number;
|
|
773
|
+
headSha: string;
|
|
774
|
+
newest: {
|
|
775
|
+
build: string;
|
|
776
|
+
headSha: string;
|
|
777
|
+
createdAt: string;
|
|
778
|
+
} | null;
|
|
779
|
+
} & {
|
|
780
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
781
|
+
}]>;
|
|
782
|
+
prBuildsUnlisted: import("@vercel/clinkr").SharedError<"pr_builds_unlisted", [{
|
|
783
|
+
pr: number;
|
|
784
|
+
failure: {
|
|
785
|
+
kind: "connect-failed" | "http-error" | "malformed" | "not-found" | "rejected" | "timeout";
|
|
786
|
+
status: number | null;
|
|
787
|
+
detail: string;
|
|
788
|
+
};
|
|
789
|
+
} & {
|
|
790
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
791
|
+
}]>;
|
|
792
|
+
pullRequestUnreadable: import("@vercel/clinkr").SharedError<"pull_request_unreadable", [{
|
|
793
|
+
pr: number;
|
|
794
|
+
repo: string;
|
|
795
|
+
kind: "connect-failed" | "http-error" | "malformed" | "no-token" | "not-found" | "rejected" | "timeout";
|
|
796
|
+
status: number | null;
|
|
797
|
+
message: string | null;
|
|
798
|
+
tokenOrigin: "GH_TOKEN" | "GITHUB_TOKEN" | "gh auth token" | null;
|
|
799
|
+
} & {
|
|
800
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
801
|
+
}]>;
|
|
802
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
803
|
+
failure: {
|
|
804
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
805
|
+
label: string;
|
|
806
|
+
exitCode: number | null;
|
|
807
|
+
tail: string[];
|
|
808
|
+
} | {
|
|
809
|
+
kind: "sandbox-api-failed";
|
|
810
|
+
operation: string;
|
|
811
|
+
status: number | null;
|
|
812
|
+
message: string;
|
|
813
|
+
} | {
|
|
814
|
+
kind: "checkout-failed";
|
|
815
|
+
message: string;
|
|
816
|
+
command: string | null;
|
|
817
|
+
} | {
|
|
818
|
+
kind: "credential-claims-missing";
|
|
819
|
+
team: string;
|
|
820
|
+
project: string;
|
|
821
|
+
};
|
|
822
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
823
|
+
}]>;
|
|
824
|
+
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
825
|
+
snapshotId: string;
|
|
826
|
+
base: string;
|
|
827
|
+
removal: {
|
|
828
|
+
path: string;
|
|
829
|
+
message: string;
|
|
830
|
+
} | null;
|
|
831
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
832
|
+
}]>;
|
|
833
|
+
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
834
|
+
executable: string;
|
|
835
|
+
message: string;
|
|
836
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
837
|
+
}]>;
|
|
838
|
+
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
839
|
+
paths: string[];
|
|
840
|
+
}]>;
|
|
841
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [{
|
|
842
|
+
cause: "request-failed" | "variables-missing";
|
|
843
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
844
|
+
status: number | null;
|
|
845
|
+
said: string | null;
|
|
846
|
+
detail: string;
|
|
847
|
+
fix: string;
|
|
848
|
+
ttlMinutes: number;
|
|
849
|
+
failedCreates: {
|
|
850
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
851
|
+
detail: string | null;
|
|
852
|
+
}[];
|
|
853
|
+
sandboxMayExist: boolean;
|
|
854
|
+
} & {
|
|
855
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
856
|
+
}]>;
|
|
857
|
+
}, {
|
|
858
|
+
credentialRejected: import("@vercel/clinkr").SharedError<"credential_rejected", [{
|
|
859
|
+
origin: {
|
|
860
|
+
source: "mint";
|
|
861
|
+
team: string;
|
|
862
|
+
project: string;
|
|
863
|
+
} | {
|
|
864
|
+
source: "github-actions";
|
|
865
|
+
claims: {
|
|
866
|
+
aud: string;
|
|
867
|
+
repository: string;
|
|
868
|
+
} | null;
|
|
869
|
+
};
|
|
870
|
+
fix: string;
|
|
871
|
+
status: number;
|
|
872
|
+
vercelId: string | null;
|
|
873
|
+
ttlMinutes: number;
|
|
874
|
+
failedCreates: {
|
|
875
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
876
|
+
detail: string | null;
|
|
877
|
+
}[];
|
|
878
|
+
unpooled: {
|
|
879
|
+
testserverUrl: string;
|
|
880
|
+
path: string;
|
|
881
|
+
message: string;
|
|
882
|
+
}[];
|
|
883
|
+
sandboxMayExist: boolean;
|
|
884
|
+
} & {
|
|
885
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
886
|
+
}]>;
|
|
887
|
+
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
888
|
+
flags: string[];
|
|
889
|
+
configFile: string | null;
|
|
890
|
+
}]>;
|
|
891
|
+
githubFixtureRepoUnavailable: import("@vercel/clinkr").SharedError<"github_fixture_repo_unavailable", [{
|
|
892
|
+
repo: string;
|
|
893
|
+
status: number | null;
|
|
894
|
+
message: string;
|
|
895
|
+
} & {
|
|
896
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
897
|
+
}]>;
|
|
898
|
+
githubTokenMissing: import("@vercel/clinkr").SharedError<"github_token_missing", [data: {
|
|
899
|
+
tokenEnv: string;
|
|
900
|
+
repo: string;
|
|
901
|
+
configFile: string | null;
|
|
902
|
+
requiredBy: "config" | "set";
|
|
903
|
+
}]>;
|
|
904
|
+
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
905
|
+
file: string;
|
|
906
|
+
problems: {
|
|
907
|
+
key: string | null;
|
|
908
|
+
location: {
|
|
909
|
+
line: number;
|
|
910
|
+
column: number | null;
|
|
911
|
+
} | null;
|
|
912
|
+
problem: string;
|
|
913
|
+
}[];
|
|
914
|
+
}]>;
|
|
915
|
+
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
916
|
+
configFile: string | null;
|
|
917
|
+
problems: {
|
|
918
|
+
key: string;
|
|
919
|
+
problem: string;
|
|
920
|
+
values: {
|
|
921
|
+
key: string;
|
|
922
|
+
value: string;
|
|
923
|
+
source: "default" | "file" | "flag";
|
|
924
|
+
}[];
|
|
925
|
+
}[];
|
|
926
|
+
}]>;
|
|
927
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
928
|
+
team: string;
|
|
929
|
+
project: string;
|
|
930
|
+
cause: string;
|
|
931
|
+
fix: string;
|
|
932
|
+
runner: boolean;
|
|
933
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
934
|
+
}]>;
|
|
935
|
+
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
936
|
+
configFile: string | null;
|
|
937
|
+
}]>;
|
|
938
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
939
|
+
missing: ("project" | "scope")[];
|
|
940
|
+
}]>;
|
|
941
|
+
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
942
|
+
refs: {
|
|
943
|
+
ref: string;
|
|
944
|
+
reason: "missing" | "unrelated";
|
|
945
|
+
}[];
|
|
946
|
+
}]>;
|
|
947
|
+
noSandboxes: import("@vercel/clinkr").SharedError<"no_sandboxes", [{
|
|
948
|
+
requested: number;
|
|
949
|
+
ttlMinutes: number;
|
|
950
|
+
failedCreates: {
|
|
951
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
952
|
+
detail: string | null;
|
|
953
|
+
}[];
|
|
954
|
+
sandboxMayExist: boolean;
|
|
955
|
+
} & {
|
|
956
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
957
|
+
}]>;
|
|
958
|
+
noUsableSandboxes: import("@vercel/clinkr").SharedError<"no_usable_sandboxes", [{
|
|
959
|
+
requested: number;
|
|
960
|
+
build: string;
|
|
961
|
+
} & {
|
|
962
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
963
|
+
}]>;
|
|
964
|
+
poolUnavailable: import("@vercel/clinkr").SharedError<"pool_unavailable", [data: {
|
|
965
|
+
path: string;
|
|
966
|
+
message: string;
|
|
967
|
+
}]>;
|
|
968
|
+
poolUnreadable: import("@vercel/clinkr").SharedError<"pool_unreadable", [{
|
|
969
|
+
path: string;
|
|
970
|
+
message: string;
|
|
971
|
+
} & {
|
|
972
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
973
|
+
}]>;
|
|
974
|
+
prBuildExpired: import("@vercel/clinkr").SharedError<"pr_build_expired", [{
|
|
975
|
+
pr: number;
|
|
976
|
+
headSha: string;
|
|
977
|
+
build: string;
|
|
978
|
+
expiresAt: string;
|
|
979
|
+
} & {
|
|
980
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
981
|
+
}]>;
|
|
982
|
+
prBuildNotReady: import("@vercel/clinkr").SharedError<"pr_build_not_ready", [{
|
|
983
|
+
pr: number;
|
|
984
|
+
headSha: string;
|
|
985
|
+
newest: {
|
|
986
|
+
build: string;
|
|
987
|
+
headSha: string;
|
|
988
|
+
createdAt: string;
|
|
989
|
+
} | null;
|
|
990
|
+
} & {
|
|
991
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
992
|
+
}]>;
|
|
993
|
+
prBuildsUnlisted: import("@vercel/clinkr").SharedError<"pr_builds_unlisted", [{
|
|
994
|
+
pr: number;
|
|
995
|
+
failure: {
|
|
996
|
+
kind: "connect-failed" | "http-error" | "malformed" | "not-found" | "rejected" | "timeout";
|
|
997
|
+
status: number | null;
|
|
998
|
+
detail: string;
|
|
999
|
+
};
|
|
1000
|
+
} & {
|
|
1001
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
1002
|
+
}]>;
|
|
1003
|
+
pullRequestUnreadable: import("@vercel/clinkr").SharedError<"pull_request_unreadable", [{
|
|
1004
|
+
pr: number;
|
|
1005
|
+
repo: string;
|
|
1006
|
+
kind: "connect-failed" | "http-error" | "malformed" | "no-token" | "not-found" | "rejected" | "timeout";
|
|
1007
|
+
status: number | null;
|
|
1008
|
+
message: string | null;
|
|
1009
|
+
tokenOrigin: "GH_TOKEN" | "GITHUB_TOKEN" | "gh auth token" | null;
|
|
1010
|
+
} & {
|
|
1011
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
1012
|
+
}]>;
|
|
243
1013
|
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
244
1014
|
failure: {
|
|
245
1015
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -295,4 +1065,4 @@ export declare function command(cmd: CommandBuilder<StormApp>): import("@vercel/
|
|
|
295
1065
|
} & {
|
|
296
1066
|
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
297
1067
|
}]>;
|
|
298
|
-
}
|
|
1068
|
+
}>>, StormApp, false>;
|