@skyramp/testbot-core 0.13.3-v3.556 → 0.13.3-v3.557
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 +525 -658
- package/dist/post.js +158 -239
- package/dist/runner-client.cjs +150 -231
- package/dist/runner-client.d.cts +48 -50
- package/package.json +4 -6
- package/dist/data-safety-worker.js +0 -216
package/dist/runner-client.d.cts
CHANGED
|
@@ -2191,8 +2191,6 @@ declare enum CaveatKind {
|
|
|
2191
2191
|
DataSafetyRulesOnly = "data-safety-rules-only",
|
|
2192
2192
|
/** The browser sent sign-in or sign-up requests the data-safety guard let through and never tears down. */
|
|
2193
2193
|
DataSafetyAuthCreates = "data-safety-auth-creates",
|
|
2194
|
-
/** A guarded host refused a request through the proxy, which sent it no client certificate (SKYR-6295). */
|
|
2195
|
-
DataSafetyNoClientCertificate = "data-safety-no-client-certificate",
|
|
2196
2194
|
/** native-run selected unit tests and none of them ran: no unit result in the report is its re-run. */
|
|
2197
2195
|
UnitTestsNotRun = "unit-tests-not-run",
|
|
2198
2196
|
/** Tests the run wrote exist, but this environment could not run some of them (a missing tool, package or display). */
|
|
@@ -2847,16 +2845,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2847
2845
|
updated: z.ZodString;
|
|
2848
2846
|
contentHash: z.ZodString;
|
|
2849
2847
|
}, "strict", z.ZodTypeAny, {
|
|
2850
|
-
source: RequirementItemSource.Jira;
|
|
2851
|
-
key: string;
|
|
2852
2848
|
updated: string;
|
|
2849
|
+
source: RequirementItemSource.Jira;
|
|
2853
2850
|
site: string;
|
|
2851
|
+
key: string;
|
|
2854
2852
|
contentHash: string;
|
|
2855
2853
|
}, {
|
|
2856
|
-
source: RequirementItemSource.Jira;
|
|
2857
|
-
key: string;
|
|
2858
2854
|
updated: string;
|
|
2855
|
+
source: RequirementItemSource.Jira;
|
|
2859
2856
|
site: string;
|
|
2857
|
+
key: string;
|
|
2860
2858
|
contentHash: string;
|
|
2861
2859
|
}>,
|
|
2862
2860
|
z.ZodObject<{
|
|
@@ -2867,14 +2865,14 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2867
2865
|
contentHash: z.ZodString;
|
|
2868
2866
|
}, "strict", z.ZodTypeAny, {
|
|
2869
2867
|
source: RequirementItemSource.Confluence;
|
|
2870
|
-
key: string;
|
|
2871
2868
|
site: string;
|
|
2869
|
+
key: string;
|
|
2872
2870
|
contentHash: string;
|
|
2873
2871
|
version: number;
|
|
2874
2872
|
}, {
|
|
2875
2873
|
source: RequirementItemSource.Confluence;
|
|
2876
|
-
key: string;
|
|
2877
2874
|
site: string;
|
|
2875
|
+
key: string;
|
|
2878
2876
|
contentHash: string;
|
|
2879
2877
|
version: number;
|
|
2880
2878
|
}>,
|
|
@@ -2981,16 +2979,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2981
2979
|
revision: string;
|
|
2982
2980
|
}>, "many">>;
|
|
2983
2981
|
}, "strict", z.ZodTypeAny, {
|
|
2984
|
-
target: {
|
|
2985
|
-
revision: string;
|
|
2986
|
-
id: string;
|
|
2987
|
-
};
|
|
2988
|
-
schemaVersion: 1;
|
|
2989
2982
|
credentials: {
|
|
2990
2983
|
name: string;
|
|
2991
2984
|
purpose: CredentialPurpose;
|
|
2992
2985
|
required: boolean;
|
|
2993
2986
|
}[];
|
|
2987
|
+
schemaVersion: 1;
|
|
2988
|
+
target: {
|
|
2989
|
+
revision: string;
|
|
2990
|
+
id: string;
|
|
2991
|
+
};
|
|
2994
2992
|
sources: {
|
|
2995
2993
|
repository: {
|
|
2996
2994
|
name: string;
|
|
@@ -3089,15 +3087,15 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3089
3087
|
}[] | undefined;
|
|
3090
3088
|
} | undefined;
|
|
3091
3089
|
requirements?: ({
|
|
3092
|
-
source: RequirementItemSource.Jira;
|
|
3093
|
-
key: string;
|
|
3094
3090
|
updated: string;
|
|
3091
|
+
source: RequirementItemSource.Jira;
|
|
3095
3092
|
site: string;
|
|
3093
|
+
key: string;
|
|
3096
3094
|
contentHash: string;
|
|
3097
3095
|
} | {
|
|
3098
3096
|
source: RequirementItemSource.Confluence;
|
|
3099
|
-
key: string;
|
|
3100
3097
|
site: string;
|
|
3098
|
+
key: string;
|
|
3101
3099
|
contentHash: string;
|
|
3102
3100
|
version: number;
|
|
3103
3101
|
} | {
|
|
@@ -3124,16 +3122,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3124
3122
|
revision: string;
|
|
3125
3123
|
}[] | undefined;
|
|
3126
3124
|
}, {
|
|
3127
|
-
target: {
|
|
3128
|
-
revision: string;
|
|
3129
|
-
id: string;
|
|
3130
|
-
};
|
|
3131
|
-
schemaVersion: 1;
|
|
3132
3125
|
credentials: {
|
|
3133
3126
|
name: string;
|
|
3134
3127
|
purpose: CredentialPurpose;
|
|
3135
3128
|
required: boolean;
|
|
3136
3129
|
}[];
|
|
3130
|
+
schemaVersion: 1;
|
|
3131
|
+
target: {
|
|
3132
|
+
revision: string;
|
|
3133
|
+
id: string;
|
|
3134
|
+
};
|
|
3137
3135
|
sources: {
|
|
3138
3136
|
repository: {
|
|
3139
3137
|
name: string;
|
|
@@ -3232,15 +3230,15 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3232
3230
|
}[] | undefined;
|
|
3233
3231
|
} | undefined;
|
|
3234
3232
|
requirements?: ({
|
|
3235
|
-
source: RequirementItemSource.Jira;
|
|
3236
|
-
key: string;
|
|
3237
3233
|
updated: string;
|
|
3234
|
+
source: RequirementItemSource.Jira;
|
|
3238
3235
|
site: string;
|
|
3236
|
+
key: string;
|
|
3239
3237
|
contentHash: string;
|
|
3240
3238
|
} | {
|
|
3241
3239
|
source: RequirementItemSource.Confluence;
|
|
3242
|
-
key: string;
|
|
3243
3240
|
site: string;
|
|
3241
|
+
key: string;
|
|
3244
3242
|
contentHash: string;
|
|
3245
3243
|
version: number;
|
|
3246
3244
|
} | {
|
|
@@ -3267,16 +3265,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3267
3265
|
revision: string;
|
|
3268
3266
|
}[] | undefined;
|
|
3269
3267
|
}>, {
|
|
3270
|
-
target: {
|
|
3271
|
-
revision: string;
|
|
3272
|
-
id: string;
|
|
3273
|
-
};
|
|
3274
|
-
schemaVersion: 1;
|
|
3275
3268
|
credentials: {
|
|
3276
3269
|
name: string;
|
|
3277
3270
|
purpose: CredentialPurpose;
|
|
3278
3271
|
required: boolean;
|
|
3279
3272
|
}[];
|
|
3273
|
+
schemaVersion: 1;
|
|
3274
|
+
target: {
|
|
3275
|
+
revision: string;
|
|
3276
|
+
id: string;
|
|
3277
|
+
};
|
|
3280
3278
|
sources: {
|
|
3281
3279
|
repository: {
|
|
3282
3280
|
name: string;
|
|
@@ -3375,15 +3373,15 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3375
3373
|
}[] | undefined;
|
|
3376
3374
|
} | undefined;
|
|
3377
3375
|
requirements?: ({
|
|
3378
|
-
source: RequirementItemSource.Jira;
|
|
3379
|
-
key: string;
|
|
3380
3376
|
updated: string;
|
|
3377
|
+
source: RequirementItemSource.Jira;
|
|
3381
3378
|
site: string;
|
|
3379
|
+
key: string;
|
|
3382
3380
|
contentHash: string;
|
|
3383
3381
|
} | {
|
|
3384
3382
|
source: RequirementItemSource.Confluence;
|
|
3385
|
-
key: string;
|
|
3386
3383
|
site: string;
|
|
3384
|
+
key: string;
|
|
3387
3385
|
contentHash: string;
|
|
3388
3386
|
version: number;
|
|
3389
3387
|
} | {
|
|
@@ -3410,16 +3408,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3410
3408
|
revision: string;
|
|
3411
3409
|
}[] | undefined;
|
|
3412
3410
|
}, {
|
|
3413
|
-
target: {
|
|
3414
|
-
revision: string;
|
|
3415
|
-
id: string;
|
|
3416
|
-
};
|
|
3417
|
-
schemaVersion: 1;
|
|
3418
3411
|
credentials: {
|
|
3419
3412
|
name: string;
|
|
3420
3413
|
purpose: CredentialPurpose;
|
|
3421
3414
|
required: boolean;
|
|
3422
3415
|
}[];
|
|
3416
|
+
schemaVersion: 1;
|
|
3417
|
+
target: {
|
|
3418
|
+
revision: string;
|
|
3419
|
+
id: string;
|
|
3420
|
+
};
|
|
3423
3421
|
sources: {
|
|
3424
3422
|
repository: {
|
|
3425
3423
|
name: string;
|
|
@@ -3518,15 +3516,15 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3518
3516
|
}[] | undefined;
|
|
3519
3517
|
} | undefined;
|
|
3520
3518
|
requirements?: ({
|
|
3521
|
-
source: RequirementItemSource.Jira;
|
|
3522
|
-
key: string;
|
|
3523
3519
|
updated: string;
|
|
3520
|
+
source: RequirementItemSource.Jira;
|
|
3524
3521
|
site: string;
|
|
3522
|
+
key: string;
|
|
3525
3523
|
contentHash: string;
|
|
3526
3524
|
} | {
|
|
3527
3525
|
source: RequirementItemSource.Confluence;
|
|
3528
|
-
key: string;
|
|
3529
3526
|
site: string;
|
|
3527
|
+
key: string;
|
|
3530
3528
|
contentHash: string;
|
|
3531
3529
|
version: number;
|
|
3532
3530
|
} | {
|
|
@@ -3569,11 +3567,11 @@ declare const RequestedBySchema: z.ZodObject<{
|
|
|
3569
3567
|
kind: z.ZodNativeEnum<typeof RequesterKind>;
|
|
3570
3568
|
name: z.ZodString;
|
|
3571
3569
|
}, "strict", z.ZodTypeAny, {
|
|
3572
|
-
kind: RequesterKind;
|
|
3573
3570
|
name: string;
|
|
3574
|
-
}, {
|
|
3575
3571
|
kind: RequesterKind;
|
|
3572
|
+
}, {
|
|
3576
3573
|
name: string;
|
|
3574
|
+
kind: RequesterKind;
|
|
3577
3575
|
}>;
|
|
3578
3576
|
export type RequestedBy = z.infer<typeof RequestedBySchema>;
|
|
3579
3577
|
declare const RunSettingsSchema: z.ZodObject<{
|
|
@@ -4617,7 +4615,6 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4617
4615
|
commit: z.ZodString;
|
|
4618
4616
|
}, "strict", z.ZodTypeAny, {
|
|
4619
4617
|
branch: string;
|
|
4620
|
-
kind: GitHubWriteKind.BranchPushed;
|
|
4621
4618
|
repository: {
|
|
4622
4619
|
provider: SourceProvider.GitHub;
|
|
4623
4620
|
providerAccountId: string;
|
|
@@ -4627,10 +4624,10 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4627
4624
|
providerAccountId: string;
|
|
4628
4625
|
providerRepositoryId: string;
|
|
4629
4626
|
};
|
|
4627
|
+
kind: GitHubWriteKind.BranchPushed;
|
|
4630
4628
|
commit: string;
|
|
4631
4629
|
}, {
|
|
4632
4630
|
branch: string;
|
|
4633
|
-
kind: GitHubWriteKind.BranchPushed;
|
|
4634
4631
|
repository: {
|
|
4635
4632
|
provider: SourceProvider.GitHub;
|
|
4636
4633
|
providerAccountId: string;
|
|
@@ -4640,6 +4637,7 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4640
4637
|
providerAccountId: string;
|
|
4641
4638
|
providerRepositoryId: string;
|
|
4642
4639
|
};
|
|
4640
|
+
kind: GitHubWriteKind.BranchPushed;
|
|
4643
4641
|
commit: string;
|
|
4644
4642
|
}>,
|
|
4645
4643
|
z.ZodObject<{
|
|
@@ -4680,7 +4678,6 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4680
4678
|
}, "strict", z.ZodTypeAny, {
|
|
4681
4679
|
number: string;
|
|
4682
4680
|
branch: string;
|
|
4683
|
-
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4684
4681
|
repository: {
|
|
4685
4682
|
provider: SourceProvider.GitHub;
|
|
4686
4683
|
providerAccountId: string;
|
|
@@ -4690,10 +4687,10 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4690
4687
|
providerAccountId: string;
|
|
4691
4688
|
providerRepositoryId: string;
|
|
4692
4689
|
};
|
|
4690
|
+
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4693
4691
|
}, {
|
|
4694
4692
|
number: string;
|
|
4695
4693
|
branch: string;
|
|
4696
|
-
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4697
4694
|
repository: {
|
|
4698
4695
|
provider: SourceProvider.GitHub;
|
|
4699
4696
|
providerAccountId: string;
|
|
@@ -4703,6 +4700,7 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4703
4700
|
providerAccountId: string;
|
|
4704
4701
|
providerRepositoryId: string;
|
|
4705
4702
|
};
|
|
4703
|
+
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4706
4704
|
}>
|
|
4707
4705
|
]>;
|
|
4708
4706
|
export type GitHubWrite = z.infer<typeof GitHubWriteSchema>;
|
|
@@ -4730,14 +4728,14 @@ declare const AttemptHeartbeatV1Schema: z.ZodObject<{
|
|
|
4730
4728
|
cause: z.ZodNullable<z.ZodNativeEnum<typeof NoReportCause>>;
|
|
4731
4729
|
deadlineAt: z.ZodString;
|
|
4732
4730
|
}, "strict", z.ZodTypeAny, {
|
|
4733
|
-
state: AttemptState;
|
|
4734
4731
|
schemaVersion: 1;
|
|
4732
|
+
state: AttemptState;
|
|
4735
4733
|
deadlineAt: string;
|
|
4736
4734
|
cause: NoReportCause | null;
|
|
4737
4735
|
ending: AttemptEndReason | null;
|
|
4738
4736
|
}, {
|
|
4739
|
-
state: AttemptState;
|
|
4740
4737
|
schemaVersion: 1;
|
|
4738
|
+
state: AttemptState;
|
|
4741
4739
|
deadlineAt: string;
|
|
4742
4740
|
cause: NoReportCause | null;
|
|
4743
4741
|
ending: AttemptEndReason | null;
|
|
@@ -4789,8 +4787,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4789
4787
|
providerAccountId: string;
|
|
4790
4788
|
providerRepositoryId: string;
|
|
4791
4789
|
};
|
|
4792
|
-
files: string[];
|
|
4793
4790
|
revisions: number[];
|
|
4791
|
+
files: string[];
|
|
4794
4792
|
}, {
|
|
4795
4793
|
repository: {
|
|
4796
4794
|
provider: SourceProvider.GitHub;
|
|
@@ -4801,8 +4799,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4801
4799
|
providerAccountId: string;
|
|
4802
4800
|
providerRepositoryId: string;
|
|
4803
4801
|
};
|
|
4804
|
-
files: string[];
|
|
4805
4802
|
revisions: number[];
|
|
4803
|
+
files: string[];
|
|
4806
4804
|
}>;
|
|
4807
4805
|
export type MergeConflictV1 = z.infer<typeof MergeConflictV1Schema>;
|
|
4808
4806
|
declare enum CommitLookup {
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyramp/testbot-core",
|
|
3
|
-
"version": "0.13.3-v3.
|
|
3
|
+
"version": "0.13.3-v3.557",
|
|
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.",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/main.js",
|
|
9
9
|
"dist/post.js",
|
|
10
|
-
"dist/data-safety-worker.js",
|
|
11
10
|
"dist/runner-client.cjs",
|
|
12
11
|
"dist/runner-client.d.cts",
|
|
13
12
|
"dist/setup-failure.cjs",
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
"launcherContract": 1
|
|
27
26
|
},
|
|
28
27
|
"scripts": {
|
|
29
|
-
"build": "
|
|
28
|
+
"build": "esbuild src/index.ts --bundle --platform=node --target=node24 --outfile=dist/main.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/post.ts --bundle --platform=node --target=node24 --outfile=dist/post.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/staged/runner-client.ts --bundle --platform=node --target=node22 --outfile=dist/runner-client.cjs --format=cjs --minify --keep-names --main-fields=module,main && dts-bundle-generator --silent --project tsconfig.json --no-check --external-inlines zod -o dist/runner-client.d.cts src/staged/runner-client.ts && esbuild src/shared-environment-test.ts --bundle --platform=node --target=node24 --outfile=dist/shared-environment-test.cjs --format=cjs --minify --main-fields=module,main && dts-bundle-generator --silent --project tsconfig.json --no-check -o dist/shared-environment-test.d.cts src/shared-environment-test.ts && npm run build:setup-failure",
|
|
30
29
|
"test": "vitest run",
|
|
31
30
|
"test:watch": "vitest",
|
|
32
31
|
"test:contract": "vitest run --config vitest.contract.config.ts",
|
|
@@ -34,12 +33,11 @@
|
|
|
34
33
|
"typecheck": "tsc --noEmit",
|
|
35
34
|
"package": "npm run build",
|
|
36
35
|
"check:pack": "node scripts/check-pack.mjs",
|
|
37
|
-
"build:staged": "
|
|
36
|
+
"build:staged": "esbuild src/staged/cli.ts --bundle --platform=node --target=node24 --outfile=dist/staged.js --sourcemap --format=cjs --main-fields=module,main",
|
|
38
37
|
"staged": "npm run build:staged && node dist/staged.js",
|
|
39
38
|
"check:cycles": "madge --circular --extensions ts --ts-config tsconfig.json --exclude '^\\.\\./' src/staged",
|
|
40
39
|
"lint:gate-prompts": "node scripts/lint-gate-prompts.mjs",
|
|
41
|
-
"build:setup-failure": "esbuild src/staged/contracts/setup-failure.ts --bundle --platform=neutral --target=es2022 --outfile=dist/setup-failure.cjs --format=cjs --minify --keep-names && dts-bundle-generator --silent --project tsconfig.json --no-check -o dist/setup-failure.d.cts src/staged/contracts/setup-failure.ts"
|
|
42
|
-
"build:data-safety-worker": "esbuild src/staged/contracts/data-safety-worker.ts --bundle --platform=node --target=node24 --outfile=dist/data-safety-worker.js --format=cjs --minify --main-fields=module,main"
|
|
40
|
+
"build:setup-failure": "esbuild src/staged/contracts/setup-failure.ts --bundle --platform=neutral --target=es2022 --outfile=dist/setup-failure.cjs --format=cjs --minify --keep-names && dts-bundle-generator --silent --project tsconfig.json --no-check -o dist/setup-failure.d.cts src/staged/contracts/setup-failure.ts"
|
|
43
41
|
},
|
|
44
42
|
"repository": {
|
|
45
43
|
"type": "git",
|