@skyramp/testbot-core 0.13.0-v3.355 → 0.13.0-v3.357
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/VERSION.json +1 -1
- package/dist/main.js +507 -532
- package/dist/post.js +135 -225
- package/dist/runner-client.cjs +80 -80
- package/dist/runner-client.d.cts +15 -18
- package/package.json +1 -1
package/dist/runner-client.d.cts
CHANGED
|
@@ -1847,6 +1847,8 @@ export interface ReportTestPackage {
|
|
|
1847
1847
|
created: boolean;
|
|
1848
1848
|
/** owner/repo the package is in. */
|
|
1849
1849
|
repository?: string;
|
|
1850
|
+
/** The packages a package this run set up installs, name to version: the dependency it adds is named (SKYR-5678). */
|
|
1851
|
+
dependencies?: Record<string, string>;
|
|
1850
1852
|
}
|
|
1851
1853
|
/** A package added to an application manifest (finalize.json dependencies.added). */
|
|
1852
1854
|
export interface ReportDependencyChange {
|
|
@@ -2186,6 +2188,12 @@ declare enum ReportLanguage {
|
|
|
2186
2188
|
En = "en",
|
|
2187
2189
|
Ja = "ja"
|
|
2188
2190
|
}
|
|
2191
|
+
declare enum CredentialPurpose {
|
|
2192
|
+
ModelProvider = "model_provider",
|
|
2193
|
+
SutAccess = "sut_access",
|
|
2194
|
+
Skyramp = "skyramp",
|
|
2195
|
+
Other = "other"
|
|
2196
|
+
}
|
|
2189
2197
|
export declare enum SourceProvider {
|
|
2190
2198
|
GitHub = "github",
|
|
2191
2199
|
AzureDevOps = "azure-devops"
|
|
@@ -2212,12 +2220,6 @@ declare enum MergedRevisionKind {
|
|
|
2212
2220
|
PullRequest = "pull_request",
|
|
2213
2221
|
Branch = "branch"
|
|
2214
2222
|
}
|
|
2215
|
-
declare enum CredentialPurpose {
|
|
2216
|
-
ModelProvider = "model_provider",
|
|
2217
|
-
SutAccess = "sut_access",
|
|
2218
|
-
Skyramp = "skyramp",
|
|
2219
|
-
Other = "other"
|
|
2220
|
-
}
|
|
2221
2223
|
/** How the upload says generated tests were delivered. `Partial`: some PRs opened and some repositories failed. */
|
|
2222
2224
|
export declare enum DeliveryStatus {
|
|
2223
2225
|
None = "none",
|
|
@@ -3665,7 +3667,6 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
|
|
|
3665
3667
|
deployedPins: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3666
3668
|
statedPins: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3667
3669
|
runSettings: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3668
|
-
credentialRelay: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3669
3670
|
}, "strict", z.ZodTypeAny, {
|
|
3670
3671
|
schemaVersion: 1;
|
|
3671
3672
|
runId: string;
|
|
@@ -3691,7 +3692,6 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
|
|
|
3691
3692
|
workflowRef: string;
|
|
3692
3693
|
};
|
|
3693
3694
|
runSettings?: true | undefined;
|
|
3694
|
-
credentialRelay?: true | undefined;
|
|
3695
3695
|
requester?: true | undefined;
|
|
3696
3696
|
writeCheck?: true | undefined;
|
|
3697
3697
|
claudeCodePin?: true | undefined;
|
|
@@ -3722,7 +3722,6 @@ declare const RunnerHandshakeRequestV1Schema: z.ZodObject<{
|
|
|
3722
3722
|
workflowRef: string;
|
|
3723
3723
|
};
|
|
3724
3724
|
runSettings?: true | undefined;
|
|
3725
|
-
credentialRelay?: true | undefined;
|
|
3726
3725
|
requester?: true | undefined;
|
|
3727
3726
|
writeCheck?: true | undefined;
|
|
3728
3727
|
claudeCodePin?: true | undefined;
|
|
@@ -4501,14 +4500,14 @@ declare const AttemptHeartbeatV1Schema: z.ZodObject<{
|
|
|
4501
4500
|
schemaVersion: 1;
|
|
4502
4501
|
state: AttemptState;
|
|
4503
4502
|
deadlineAt: string;
|
|
4504
|
-
ending: AttemptEndReason | null;
|
|
4505
4503
|
cause: NoReportCause | null;
|
|
4504
|
+
ending: AttemptEndReason | null;
|
|
4506
4505
|
}, {
|
|
4507
4506
|
schemaVersion: 1;
|
|
4508
4507
|
state: AttemptState;
|
|
4509
4508
|
deadlineAt: string;
|
|
4510
|
-
ending: AttemptEndReason | null;
|
|
4511
4509
|
cause: NoReportCause | null;
|
|
4510
|
+
ending: AttemptEndReason | null;
|
|
4512
4511
|
}>;
|
|
4513
4512
|
export type AttemptHeartbeatV1 = z.infer<typeof AttemptHeartbeatV1Schema>;
|
|
4514
4513
|
declare enum AttemptClosure {
|
|
@@ -4557,8 +4556,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4557
4556
|
providerAccountId: string;
|
|
4558
4557
|
providerRepositoryId: string;
|
|
4559
4558
|
};
|
|
4560
|
-
files: string[];
|
|
4561
4559
|
revisions: number[];
|
|
4560
|
+
files: string[];
|
|
4562
4561
|
}, {
|
|
4563
4562
|
repository: {
|
|
4564
4563
|
provider: SourceProvider.GitHub;
|
|
@@ -4569,8 +4568,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4569
4568
|
providerAccountId: string;
|
|
4570
4569
|
providerRepositoryId: string;
|
|
4571
4570
|
};
|
|
4572
|
-
files: string[];
|
|
4573
4571
|
revisions: number[];
|
|
4572
|
+
files: string[];
|
|
4574
4573
|
}>;
|
|
4575
4574
|
export type MergeConflictV1 = z.infer<typeof MergeConflictV1Schema>;
|
|
4576
4575
|
declare enum CommitLookup {
|
|
@@ -4760,8 +4759,6 @@ export declare class V3Attempt {
|
|
|
4760
4759
|
}[];
|
|
4761
4760
|
/** The run's MCP and Bedrock settings, on a host whose job file names none (SKYR-5215). Absent when the app did not say. */
|
|
4762
4761
|
readonly runSettings?: RunSettings | undefined;
|
|
4763
|
-
/** A `sut_setup` attempt whose workflow takes credential relays (SKYR-5268): it registers a relay key. */
|
|
4764
|
-
readonly credentialRelay: boolean;
|
|
4765
4762
|
constructor(attemptId: string, attemptNumber: number, deadlineAt: Date, manifest: RunManifestV1, deps: V3RunnerDeps,
|
|
4766
4763
|
/** Absent while the app has licensing off: the run then uses the license file. */
|
|
4767
4764
|
license?: RunLicense | undefined,
|
|
@@ -4788,9 +4785,7 @@ export declare class V3Attempt {
|
|
|
4788
4785
|
revision: string;
|
|
4789
4786
|
}[],
|
|
4790
4787
|
/** The run's MCP and Bedrock settings, on a host whose job file names none (SKYR-5215). Absent when the app did not say. */
|
|
4791
|
-
runSettings?: RunSettings | undefined
|
|
4792
|
-
/** A `sut_setup` attempt whose workflow takes credential relays (SKYR-5268): it registers a relay key. */
|
|
4793
|
-
credentialRelay?: boolean);
|
|
4788
|
+
runSettings?: RunSettings | undefined);
|
|
4794
4789
|
/**
|
|
4795
4790
|
* The run's budget, from now: the time to the attempt deadline, less the post step's reserve. The app fixed the
|
|
4796
4791
|
* deadline from the execution timeout it froze, so the `testbotTimeout` input has no say in a V3 run.
|
|
@@ -4799,6 +4794,8 @@ export declare class V3Attempt {
|
|
|
4799
4794
|
/** The run's page in the app (skyrampRunPageUrl). */
|
|
4800
4795
|
get skyrampRunUrl(): string;
|
|
4801
4796
|
/** One call to an attempt route of the app. */
|
|
4797
|
+
/** Writes one line to the job log. */
|
|
4798
|
+
log(line: string): void;
|
|
4802
4799
|
send<T>(method: RunnerMethod, route: string, body: unknown, deadlineMs?: number): Promise<T>;
|
|
4803
4800
|
/** One read of an attempt route that answers bytes (callAppBytes). */
|
|
4804
4801
|
readBytes(route: string, maxBytes: number): Promise<Buffer>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyramp/testbot-core",
|
|
3
|
-
"version": "0.13.0-v3.
|
|
3
|
+
"version": "0.13.0-v3.357",
|
|
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.",
|