@skyramp/testbot-core 0.13.0-v3.198 → 0.13.0-v3.201

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.
@@ -1952,7 +1952,11 @@ declare enum ActionRequiredReason {
1952
1952
  IsolationUnavailable = "isolation_unavailable",
1953
1953
  EvidenceInsufficient = "evidence_insufficient",
1954
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"
1955
+ ConfigurationUnresolved = "configuration_unresolved",
1956
+ /** The model provider refused Testbot's calls, and the run's work is incomplete (SKYR-5193). */
1957
+ ModelProviderDenied = "model_provider_denied",
1958
+ /** The model provider did not answer Testbot's calls, and the run's work is incomplete (SKYR-5193). */
1959
+ ModelProviderUnavailable = "model_provider_unavailable"
1956
1960
  }
1957
1961
  declare enum EvidenceKind {
1958
1962
  CiCheck = "ci_check",
@@ -2108,7 +2112,11 @@ declare enum CaveatKind {
2108
2112
  /** Tests the run wrote exist, but this environment could not run some of them (a missing tool, package or display). */
2109
2113
  TestsCouldNotRunHere = "tests-could-not-run-here",
2110
2114
  /** Checks only of what the change could break elsewhere that this run did not make: reported, not missing evidence. */
2111
- DownstreamNotChecked = "downstream-not-checked"
2115
+ DownstreamNotChecked = "downstream-not-checked",
2116
+ /** The model provider refused the run's calls: a bad key or credential, no permission, or a usage limit (SKYR-5193). */
2117
+ ModelProviderDenied = "model-provider-denied",
2118
+ /** The model provider did not answer, and Testbot's retries ran out (SKYR-5193). */
2119
+ ModelProviderUnavailable = "model-provider-unavailable"
2112
2120
  }
2113
2121
  export interface ReportCaveat {
2114
2122
  kind: CaveatKind;
@@ -2173,7 +2181,9 @@ declare enum AttemptState {
2173
2181
  * Why no report reached the app. `RunnerLost` is recorded by the app itself, when an attempt passes its deadline.
2174
2182
  * `CheckoutFailed`: the frozen sources could not be checked out, which the app counts as getting the Target's code,
2175
2183
  * not bringing up the app (SKYR-4769). `EnvironmentUnverified`: the run could not verify what the customer's environment
2176
- * runs, so it is Validation Blocked, not a failed setup (SKYR-5225).
2184
+ * runs, so it is Validation Blocked, not a failed setup (SKYR-5225). `ModelProviderDenied` / `ModelProviderUnavailable`: the
2185
+ * model provider refused the run's calls, or did not answer them once Testbot's retries ran out, before any stage produced
2186
+ * usable work; the app derives an infrastructure error and does not retry it (SKYR-5193).
2177
2187
  */
2178
2188
  export declare enum NoReportCause {
2179
2189
  TimedOut = "timed_out",
@@ -2182,7 +2192,9 @@ export declare enum NoReportCause {
2182
2192
  CredentialMissing = "credential_missing",
2183
2193
  RunnerLost = "runner_lost",
2184
2194
  CheckoutFailed = "checkout_failed",
2185
- EnvironmentUnverified = "environment_unverified"
2195
+ EnvironmentUnverified = "environment_unverified",
2196
+ ModelProviderDenied = "model_provider_denied",
2197
+ ModelProviderUnavailable = "model_provider_unavailable"
2186
2198
  }
2187
2199
  declare const SourceRefSchema: z.ZodDiscriminatedUnion<"provider", [
2188
2200
  z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyramp/testbot-core",
3
- "version": "0.13.0-v3.198",
3
+ "version": "0.13.0-v3.201",
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/.",