@skyramp/testbot-core 0.13.0-v3.299 → 0.13.0-v3.301
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 +368 -368
- package/dist/post.js +78 -78
- package/dist/runner-client.cjs +64 -64
- package/dist/runner-client.d.cts +313 -0
- package/package.json +1 -1
package/dist/runner-client.d.cts
CHANGED
|
@@ -1698,6 +1698,11 @@ export interface RequirementReportRow {
|
|
|
1698
1698
|
export interface StagedTestbotReport {
|
|
1699
1699
|
schemaVersion?: 1;
|
|
1700
1700
|
businessCaseAnalysis: string;
|
|
1701
|
+
/** Change Set repositories with no new or updated tests, and why. Absent from older reports. */
|
|
1702
|
+
noTests?: {
|
|
1703
|
+
repository: string;
|
|
1704
|
+
reason: string;
|
|
1705
|
+
}[];
|
|
1701
1706
|
newTestsCreated: {
|
|
1702
1707
|
testId: string;
|
|
1703
1708
|
testType: string;
|
|
@@ -3645,13 +3650,143 @@ export type ExecutionIdentity = RunnerHandshakeRequestV1["execution"];
|
|
|
3645
3650
|
declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
3646
3651
|
z.ZodObject<{
|
|
3647
3652
|
status: z.ZodLiteral<DeliveryStatus.None>;
|
|
3653
|
+
noTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3654
|
+
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
3655
|
+
z.ZodObject<{
|
|
3656
|
+
provider: z.ZodLiteral<SourceProvider.GitHub>;
|
|
3657
|
+
providerAccountId: z.ZodString;
|
|
3658
|
+
providerRepositoryId: z.ZodString;
|
|
3659
|
+
}, "strict", z.ZodTypeAny, {
|
|
3660
|
+
provider: SourceProvider.GitHub;
|
|
3661
|
+
providerAccountId: string;
|
|
3662
|
+
providerRepositoryId: string;
|
|
3663
|
+
}, {
|
|
3664
|
+
provider: SourceProvider.GitHub;
|
|
3665
|
+
providerAccountId: string;
|
|
3666
|
+
providerRepositoryId: string;
|
|
3667
|
+
}>,
|
|
3668
|
+
z.ZodObject<{
|
|
3669
|
+
provider: z.ZodLiteral<SourceProvider.AzureDevOps>;
|
|
3670
|
+
providerAccountId: z.ZodString;
|
|
3671
|
+
providerRepositoryId: z.ZodString;
|
|
3672
|
+
}, "strict", z.ZodTypeAny, {
|
|
3673
|
+
provider: SourceProvider.AzureDevOps;
|
|
3674
|
+
providerAccountId: string;
|
|
3675
|
+
providerRepositoryId: string;
|
|
3676
|
+
}, {
|
|
3677
|
+
provider: SourceProvider.AzureDevOps;
|
|
3678
|
+
providerAccountId: string;
|
|
3679
|
+
providerRepositoryId: string;
|
|
3680
|
+
}>
|
|
3681
|
+
]>;
|
|
3682
|
+
reason: z.ZodString;
|
|
3683
|
+
}, "strict", z.ZodTypeAny, {
|
|
3684
|
+
repository: {
|
|
3685
|
+
provider: SourceProvider.GitHub;
|
|
3686
|
+
providerAccountId: string;
|
|
3687
|
+
providerRepositoryId: string;
|
|
3688
|
+
} | {
|
|
3689
|
+
provider: SourceProvider.AzureDevOps;
|
|
3690
|
+
providerAccountId: string;
|
|
3691
|
+
providerRepositoryId: string;
|
|
3692
|
+
};
|
|
3693
|
+
reason: string;
|
|
3694
|
+
}, {
|
|
3695
|
+
repository: {
|
|
3696
|
+
provider: SourceProvider.GitHub;
|
|
3697
|
+
providerAccountId: string;
|
|
3698
|
+
providerRepositoryId: string;
|
|
3699
|
+
} | {
|
|
3700
|
+
provider: SourceProvider.AzureDevOps;
|
|
3701
|
+
providerAccountId: string;
|
|
3702
|
+
providerRepositoryId: string;
|
|
3703
|
+
};
|
|
3704
|
+
reason: string;
|
|
3705
|
+
}>, "many">>;
|
|
3648
3706
|
}, "strict", z.ZodTypeAny, {
|
|
3649
3707
|
status: DeliveryStatus.None;
|
|
3708
|
+
noTests?: {
|
|
3709
|
+
repository: {
|
|
3710
|
+
provider: SourceProvider.GitHub;
|
|
3711
|
+
providerAccountId: string;
|
|
3712
|
+
providerRepositoryId: string;
|
|
3713
|
+
} | {
|
|
3714
|
+
provider: SourceProvider.AzureDevOps;
|
|
3715
|
+
providerAccountId: string;
|
|
3716
|
+
providerRepositoryId: string;
|
|
3717
|
+
};
|
|
3718
|
+
reason: string;
|
|
3719
|
+
}[] | undefined;
|
|
3650
3720
|
}, {
|
|
3651
3721
|
status: DeliveryStatus.None;
|
|
3722
|
+
noTests?: {
|
|
3723
|
+
repository: {
|
|
3724
|
+
provider: SourceProvider.GitHub;
|
|
3725
|
+
providerAccountId: string;
|
|
3726
|
+
providerRepositoryId: string;
|
|
3727
|
+
} | {
|
|
3728
|
+
provider: SourceProvider.AzureDevOps;
|
|
3729
|
+
providerAccountId: string;
|
|
3730
|
+
providerRepositoryId: string;
|
|
3731
|
+
};
|
|
3732
|
+
reason: string;
|
|
3733
|
+
}[] | undefined;
|
|
3652
3734
|
}>,
|
|
3653
3735
|
z.ZodObject<{
|
|
3654
3736
|
status: z.ZodLiteral<DeliveryStatus.Delivered>;
|
|
3737
|
+
noTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3738
|
+
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
3739
|
+
z.ZodObject<{
|
|
3740
|
+
provider: z.ZodLiteral<SourceProvider.GitHub>;
|
|
3741
|
+
providerAccountId: z.ZodString;
|
|
3742
|
+
providerRepositoryId: z.ZodString;
|
|
3743
|
+
}, "strict", z.ZodTypeAny, {
|
|
3744
|
+
provider: SourceProvider.GitHub;
|
|
3745
|
+
providerAccountId: string;
|
|
3746
|
+
providerRepositoryId: string;
|
|
3747
|
+
}, {
|
|
3748
|
+
provider: SourceProvider.GitHub;
|
|
3749
|
+
providerAccountId: string;
|
|
3750
|
+
providerRepositoryId: string;
|
|
3751
|
+
}>,
|
|
3752
|
+
z.ZodObject<{
|
|
3753
|
+
provider: z.ZodLiteral<SourceProvider.AzureDevOps>;
|
|
3754
|
+
providerAccountId: z.ZodString;
|
|
3755
|
+
providerRepositoryId: z.ZodString;
|
|
3756
|
+
}, "strict", z.ZodTypeAny, {
|
|
3757
|
+
provider: SourceProvider.AzureDevOps;
|
|
3758
|
+
providerAccountId: string;
|
|
3759
|
+
providerRepositoryId: string;
|
|
3760
|
+
}, {
|
|
3761
|
+
provider: SourceProvider.AzureDevOps;
|
|
3762
|
+
providerAccountId: string;
|
|
3763
|
+
providerRepositoryId: string;
|
|
3764
|
+
}>
|
|
3765
|
+
]>;
|
|
3766
|
+
reason: z.ZodString;
|
|
3767
|
+
}, "strict", z.ZodTypeAny, {
|
|
3768
|
+
repository: {
|
|
3769
|
+
provider: SourceProvider.GitHub;
|
|
3770
|
+
providerAccountId: string;
|
|
3771
|
+
providerRepositoryId: string;
|
|
3772
|
+
} | {
|
|
3773
|
+
provider: SourceProvider.AzureDevOps;
|
|
3774
|
+
providerAccountId: string;
|
|
3775
|
+
providerRepositoryId: string;
|
|
3776
|
+
};
|
|
3777
|
+
reason: string;
|
|
3778
|
+
}, {
|
|
3779
|
+
repository: {
|
|
3780
|
+
provider: SourceProvider.GitHub;
|
|
3781
|
+
providerAccountId: string;
|
|
3782
|
+
providerRepositoryId: string;
|
|
3783
|
+
} | {
|
|
3784
|
+
provider: SourceProvider.AzureDevOps;
|
|
3785
|
+
providerAccountId: string;
|
|
3786
|
+
providerRepositoryId: string;
|
|
3787
|
+
};
|
|
3788
|
+
reason: string;
|
|
3789
|
+
}>, "many">>;
|
|
3655
3790
|
pullRequests: z.ZodArray<z.ZodObject<{
|
|
3656
3791
|
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
3657
3792
|
z.ZodObject<{
|
|
@@ -3723,6 +3858,18 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3723
3858
|
};
|
|
3724
3859
|
commitSha?: string | undefined;
|
|
3725
3860
|
}[];
|
|
3861
|
+
noTests?: {
|
|
3862
|
+
repository: {
|
|
3863
|
+
provider: SourceProvider.GitHub;
|
|
3864
|
+
providerAccountId: string;
|
|
3865
|
+
providerRepositoryId: string;
|
|
3866
|
+
} | {
|
|
3867
|
+
provider: SourceProvider.AzureDevOps;
|
|
3868
|
+
providerAccountId: string;
|
|
3869
|
+
providerRepositoryId: string;
|
|
3870
|
+
};
|
|
3871
|
+
reason: string;
|
|
3872
|
+
}[] | undefined;
|
|
3726
3873
|
}, {
|
|
3727
3874
|
status: DeliveryStatus.Delivered;
|
|
3728
3875
|
pullRequests: {
|
|
@@ -3738,9 +3885,74 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3738
3885
|
};
|
|
3739
3886
|
commitSha?: string | undefined;
|
|
3740
3887
|
}[];
|
|
3888
|
+
noTests?: {
|
|
3889
|
+
repository: {
|
|
3890
|
+
provider: SourceProvider.GitHub;
|
|
3891
|
+
providerAccountId: string;
|
|
3892
|
+
providerRepositoryId: string;
|
|
3893
|
+
} | {
|
|
3894
|
+
provider: SourceProvider.AzureDevOps;
|
|
3895
|
+
providerAccountId: string;
|
|
3896
|
+
providerRepositoryId: string;
|
|
3897
|
+
};
|
|
3898
|
+
reason: string;
|
|
3899
|
+
}[] | undefined;
|
|
3741
3900
|
}>,
|
|
3742
3901
|
z.ZodObject<{
|
|
3743
3902
|
status: z.ZodLiteral<DeliveryStatus.Partial>;
|
|
3903
|
+
noTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3904
|
+
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
3905
|
+
z.ZodObject<{
|
|
3906
|
+
provider: z.ZodLiteral<SourceProvider.GitHub>;
|
|
3907
|
+
providerAccountId: z.ZodString;
|
|
3908
|
+
providerRepositoryId: z.ZodString;
|
|
3909
|
+
}, "strict", z.ZodTypeAny, {
|
|
3910
|
+
provider: SourceProvider.GitHub;
|
|
3911
|
+
providerAccountId: string;
|
|
3912
|
+
providerRepositoryId: string;
|
|
3913
|
+
}, {
|
|
3914
|
+
provider: SourceProvider.GitHub;
|
|
3915
|
+
providerAccountId: string;
|
|
3916
|
+
providerRepositoryId: string;
|
|
3917
|
+
}>,
|
|
3918
|
+
z.ZodObject<{
|
|
3919
|
+
provider: z.ZodLiteral<SourceProvider.AzureDevOps>;
|
|
3920
|
+
providerAccountId: z.ZodString;
|
|
3921
|
+
providerRepositoryId: z.ZodString;
|
|
3922
|
+
}, "strict", z.ZodTypeAny, {
|
|
3923
|
+
provider: SourceProvider.AzureDevOps;
|
|
3924
|
+
providerAccountId: string;
|
|
3925
|
+
providerRepositoryId: string;
|
|
3926
|
+
}, {
|
|
3927
|
+
provider: SourceProvider.AzureDevOps;
|
|
3928
|
+
providerAccountId: string;
|
|
3929
|
+
providerRepositoryId: string;
|
|
3930
|
+
}>
|
|
3931
|
+
]>;
|
|
3932
|
+
reason: z.ZodString;
|
|
3933
|
+
}, "strict", z.ZodTypeAny, {
|
|
3934
|
+
repository: {
|
|
3935
|
+
provider: SourceProvider.GitHub;
|
|
3936
|
+
providerAccountId: string;
|
|
3937
|
+
providerRepositoryId: string;
|
|
3938
|
+
} | {
|
|
3939
|
+
provider: SourceProvider.AzureDevOps;
|
|
3940
|
+
providerAccountId: string;
|
|
3941
|
+
providerRepositoryId: string;
|
|
3942
|
+
};
|
|
3943
|
+
reason: string;
|
|
3944
|
+
}, {
|
|
3945
|
+
repository: {
|
|
3946
|
+
provider: SourceProvider.GitHub;
|
|
3947
|
+
providerAccountId: string;
|
|
3948
|
+
providerRepositoryId: string;
|
|
3949
|
+
} | {
|
|
3950
|
+
provider: SourceProvider.AzureDevOps;
|
|
3951
|
+
providerAccountId: string;
|
|
3952
|
+
providerRepositoryId: string;
|
|
3953
|
+
};
|
|
3954
|
+
reason: string;
|
|
3955
|
+
}>, "many">>;
|
|
3744
3956
|
pullRequests: z.ZodArray<z.ZodObject<{
|
|
3745
3957
|
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
3746
3958
|
z.ZodObject<{
|
|
@@ -3877,6 +4089,18 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3877
4089
|
};
|
|
3878
4090
|
message: string;
|
|
3879
4091
|
}[];
|
|
4092
|
+
noTests?: {
|
|
4093
|
+
repository: {
|
|
4094
|
+
provider: SourceProvider.GitHub;
|
|
4095
|
+
providerAccountId: string;
|
|
4096
|
+
providerRepositoryId: string;
|
|
4097
|
+
} | {
|
|
4098
|
+
provider: SourceProvider.AzureDevOps;
|
|
4099
|
+
providerAccountId: string;
|
|
4100
|
+
providerRepositoryId: string;
|
|
4101
|
+
};
|
|
4102
|
+
reason: string;
|
|
4103
|
+
}[] | undefined;
|
|
3880
4104
|
}, {
|
|
3881
4105
|
status: DeliveryStatus.Partial;
|
|
3882
4106
|
pullRequests: {
|
|
@@ -3904,16 +4128,105 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3904
4128
|
};
|
|
3905
4129
|
message: string;
|
|
3906
4130
|
}[];
|
|
4131
|
+
noTests?: {
|
|
4132
|
+
repository: {
|
|
4133
|
+
provider: SourceProvider.GitHub;
|
|
4134
|
+
providerAccountId: string;
|
|
4135
|
+
providerRepositoryId: string;
|
|
4136
|
+
} | {
|
|
4137
|
+
provider: SourceProvider.AzureDevOps;
|
|
4138
|
+
providerAccountId: string;
|
|
4139
|
+
providerRepositoryId: string;
|
|
4140
|
+
};
|
|
4141
|
+
reason: string;
|
|
4142
|
+
}[] | undefined;
|
|
3907
4143
|
}>,
|
|
3908
4144
|
z.ZodObject<{
|
|
3909
4145
|
status: z.ZodLiteral<DeliveryStatus.Failed>;
|
|
3910
4146
|
message: z.ZodString;
|
|
4147
|
+
noTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4148
|
+
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
4149
|
+
z.ZodObject<{
|
|
4150
|
+
provider: z.ZodLiteral<SourceProvider.GitHub>;
|
|
4151
|
+
providerAccountId: z.ZodString;
|
|
4152
|
+
providerRepositoryId: z.ZodString;
|
|
4153
|
+
}, "strict", z.ZodTypeAny, {
|
|
4154
|
+
provider: SourceProvider.GitHub;
|
|
4155
|
+
providerAccountId: string;
|
|
4156
|
+
providerRepositoryId: string;
|
|
4157
|
+
}, {
|
|
4158
|
+
provider: SourceProvider.GitHub;
|
|
4159
|
+
providerAccountId: string;
|
|
4160
|
+
providerRepositoryId: string;
|
|
4161
|
+
}>,
|
|
4162
|
+
z.ZodObject<{
|
|
4163
|
+
provider: z.ZodLiteral<SourceProvider.AzureDevOps>;
|
|
4164
|
+
providerAccountId: z.ZodString;
|
|
4165
|
+
providerRepositoryId: z.ZodString;
|
|
4166
|
+
}, "strict", z.ZodTypeAny, {
|
|
4167
|
+
provider: SourceProvider.AzureDevOps;
|
|
4168
|
+
providerAccountId: string;
|
|
4169
|
+
providerRepositoryId: string;
|
|
4170
|
+
}, {
|
|
4171
|
+
provider: SourceProvider.AzureDevOps;
|
|
4172
|
+
providerAccountId: string;
|
|
4173
|
+
providerRepositoryId: string;
|
|
4174
|
+
}>
|
|
4175
|
+
]>;
|
|
4176
|
+
reason: z.ZodString;
|
|
4177
|
+
}, "strict", z.ZodTypeAny, {
|
|
4178
|
+
repository: {
|
|
4179
|
+
provider: SourceProvider.GitHub;
|
|
4180
|
+
providerAccountId: string;
|
|
4181
|
+
providerRepositoryId: string;
|
|
4182
|
+
} | {
|
|
4183
|
+
provider: SourceProvider.AzureDevOps;
|
|
4184
|
+
providerAccountId: string;
|
|
4185
|
+
providerRepositoryId: string;
|
|
4186
|
+
};
|
|
4187
|
+
reason: string;
|
|
4188
|
+
}, {
|
|
4189
|
+
repository: {
|
|
4190
|
+
provider: SourceProvider.GitHub;
|
|
4191
|
+
providerAccountId: string;
|
|
4192
|
+
providerRepositoryId: string;
|
|
4193
|
+
} | {
|
|
4194
|
+
provider: SourceProvider.AzureDevOps;
|
|
4195
|
+
providerAccountId: string;
|
|
4196
|
+
providerRepositoryId: string;
|
|
4197
|
+
};
|
|
4198
|
+
reason: string;
|
|
4199
|
+
}>, "many">>;
|
|
3911
4200
|
}, "strict", z.ZodTypeAny, {
|
|
3912
4201
|
message: string;
|
|
3913
4202
|
status: DeliveryStatus.Failed;
|
|
4203
|
+
noTests?: {
|
|
4204
|
+
repository: {
|
|
4205
|
+
provider: SourceProvider.GitHub;
|
|
4206
|
+
providerAccountId: string;
|
|
4207
|
+
providerRepositoryId: string;
|
|
4208
|
+
} | {
|
|
4209
|
+
provider: SourceProvider.AzureDevOps;
|
|
4210
|
+
providerAccountId: string;
|
|
4211
|
+
providerRepositoryId: string;
|
|
4212
|
+
};
|
|
4213
|
+
reason: string;
|
|
4214
|
+
}[] | undefined;
|
|
3914
4215
|
}, {
|
|
3915
4216
|
message: string;
|
|
3916
4217
|
status: DeliveryStatus.Failed;
|
|
4218
|
+
noTests?: {
|
|
4219
|
+
repository: {
|
|
4220
|
+
provider: SourceProvider.GitHub;
|
|
4221
|
+
providerAccountId: string;
|
|
4222
|
+
providerRepositoryId: string;
|
|
4223
|
+
} | {
|
|
4224
|
+
provider: SourceProvider.AzureDevOps;
|
|
4225
|
+
providerAccountId: string;
|
|
4226
|
+
providerRepositoryId: string;
|
|
4227
|
+
};
|
|
4228
|
+
reason: string;
|
|
4229
|
+
}[] | undefined;
|
|
3917
4230
|
}>
|
|
3918
4231
|
]>;
|
|
3919
4232
|
export type GeneratedTestDelivery = z.infer<typeof GeneratedTestDeliverySchema>;
|
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.301",
|
|
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.",
|