@skyramp/testbot-core 0.13.0-v3.192 → 0.13.0-v3.193

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.
@@ -1950,7 +1950,9 @@ declare enum ActionRequiredReason {
1950
1950
  DeploymentReview = "deployment_review",
1951
1951
  SutRevisionMismatch = "sut_revision_mismatch",
1952
1952
  IsolationUnavailable = "isolation_unavailable",
1953
- EvidenceInsufficient = "evidence_insufficient"
1953
+ EvidenceInsufficient = "evidence_insufficient",
1954
+ /** The run asked what to validate, its Pinned state or Change Set, and no one answered in time (SKYR-5433). The app sets it; a report never does. */
1955
+ ConfigurationUnresolved = "configuration_unresolved"
1954
1956
  }
1955
1957
  declare enum EvidenceKind {
1956
1958
  CiCheck = "ci_check",
@@ -3392,6 +3394,7 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
3392
3394
  writeCheck: z.ZodOptional<z.ZodLiteral<true>>;
3393
3395
  claudeCodePin: z.ZodOptional<z.ZodLiteral<true>>;
3394
3396
  deployedPins: z.ZodOptional<z.ZodLiteral<true>>;
3397
+ statedPins: z.ZodOptional<z.ZodLiteral<true>>;
3395
3398
  }, "strict", z.ZodTypeAny, {
3396
3399
  schemaVersion: 1;
3397
3400
  runId: string;
@@ -3420,6 +3423,7 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
3420
3423
  writeCheck?: true | undefined;
3421
3424
  claudeCodePin?: true | undefined;
3422
3425
  deployedPins?: true | undefined;
3426
+ statedPins?: true | undefined;
3423
3427
  }, {
3424
3428
  schemaVersion: 1;
3425
3429
  runId: string;
@@ -3448,6 +3452,7 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
3448
3452
  writeCheck?: true | undefined;
3449
3453
  claudeCodePin?: true | undefined;
3450
3454
  deployedPins?: true | undefined;
3455
+ statedPins?: true | undefined;
3451
3456
  }>;
3452
3457
  export type RunnerHandshakeRequestV1 = z.infer<typeof RunnerHandshakeRequestV1Schema>;
3453
3458
  /** The job that asks to bind a run: its host, repository, workflow run and attempt, as the handshake sends it. */
@@ -4007,7 +4012,9 @@ export interface SourceRestOptions {
4007
4012
  export declare class AppRefusal extends Error {
4008
4013
  readonly status: number;
4009
4014
  readonly code?: string | undefined;
4010
- constructor(message: string, status: number, code?: string | undefined);
4015
+ readonly path?: string | undefined;
4016
+ /** `path`: the request field the app named, when it refused one (a path, never a value). */
4017
+ constructor(message: string, status: number, code?: string | undefined, path?: string | undefined);
4011
4018
  }
4012
4019
  /** The app did not answer on any try: a network error, a timeout, a 5xx or a 429. Trying again later may work. */
4013
4020
  export declare class AppUnreachable extends Error {
@@ -4035,6 +4042,14 @@ export declare class V3Attempt {
4035
4042
  repository: SourceRef;
4036
4043
  revision: string;
4037
4044
  }[];
4045
+ /**
4046
+ * What a person said the Test Environment runs of a source Testbot could not read (SKYR-5433): the attempt checks it
4047
+ * out and does not read it. Empty when no one did, or when the app did not say.
4048
+ */
4049
+ readonly statedPins: readonly {
4050
+ repository: SourceRef;
4051
+ revision: string;
4052
+ }[];
4038
4053
  constructor(attemptId: string, attemptNumber: number, deadlineAt: Date, manifest: RunManifestV1, deps: V3RunnerDeps,
4039
4054
  /** Absent while the app has licensing off: the run then uses the license file. */
4040
4055
  license?: RunLicense | undefined,
@@ -4051,6 +4066,14 @@ export declare class V3Attempt {
4051
4066
  deployedPins?: readonly {
4052
4067
  repository: SourceRef;
4053
4068
  revision: string;
4069
+ }[],
4070
+ /**
4071
+ * What a person said the Test Environment runs of a source Testbot could not read (SKYR-5433): the attempt checks it
4072
+ * out and does not read it. Empty when no one did, or when the app did not say.
4073
+ */
4074
+ statedPins?: readonly {
4075
+ repository: SourceRef;
4076
+ revision: string;
4054
4077
  }[]);
4055
4078
  /**
4056
4079
  * The run's budget, from now: the time to the attempt deadline, less the post step's reserve. The app fixed the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyramp/testbot-core",
3
- "version": "0.13.0-v3.192",
3
+ "version": "0.13.0-v3.193",
4
4
  "description": "Skyramp Testbot engine: AI-powered deterministic test generation, execution and maintenance",
5
5
  "main": "dist/main.js",
6
6
  "//files": "An explicit allowlist, never a glob. `dist/` is gitignored, so without this key npm's .gitignore fallback would publish a package with no engine in it; with a glob it would publish the sourcemaps, whose sourcesContent embeds every src/*.ts verbatim. dist/VERSION.json exists only in a release-engine.yml build. assets/gen-reference/ is the staged codegen reference corpus, which generate.ts finds at ../assets from dist/.",