@skyramp/testbot-core 0.13.0-v3.247 → 0.13.0-v3.249
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 +394 -393
- package/dist/post.js +89 -89
- package/dist/runner-client.cjs +41 -41
- package/dist/runner-client.d.cts +35 -0
- package/package.json +1 -1
package/dist/runner-client.d.cts
CHANGED
|
@@ -2123,6 +2123,8 @@ declare enum CaveatKind {
|
|
|
2123
2123
|
MockedDependency = "mocked-dependency",
|
|
2124
2124
|
FinalizeNotReady = "finalize-not-ready",
|
|
2125
2125
|
CiNotCovered = "ci-not-covered",
|
|
2126
|
+
/** Write said the repo's CI runs these tests, and the listing it gave could not confirm it (SKYR-5489). */
|
|
2127
|
+
CiUnconfirmed = "ci-unconfirmed",
|
|
2126
2128
|
/** Validation Triage found no deployed behavior to validate, so no app was started. */
|
|
2127
2129
|
SutNotRequired = "sut-not-required",
|
|
2128
2130
|
/** The repo's own linter config doesn't reach this file — derived independently of CiNotCovered (whether the test RUNS at all), so the two can coexist: a file can be run but not linted, linted but not run, both, or neither. */
|
|
@@ -3846,6 +3848,10 @@ export type V3StagedReport = Omit<StagedTestbotReport, "testResults" | "validati
|
|
|
3846
3848
|
language: ReportLanguage;
|
|
3847
3849
|
reason: NotTranslatedReason;
|
|
3848
3850
|
};
|
|
3851
|
+
/** The report's text in the Target's report language, as the run showed it on GitHub (SKYR-5447). The English
|
|
3852
|
+
* fields stay what the app's gates read. Each list has the length and order of the report's own list; `changes`
|
|
3853
|
+
* goes by id. */
|
|
3854
|
+
display?: V3ReportDisplay;
|
|
3849
3855
|
testResults: (StagedTestbotReport["testResults"][number] & {
|
|
3850
3856
|
repository: string;
|
|
3851
3857
|
resultId: string;
|
|
@@ -3853,6 +3859,30 @@ export type V3StagedReport = Omit<StagedTestbotReport, "testResults" | "validati
|
|
|
3853
3859
|
validation: ReportValidation;
|
|
3854
3860
|
traceVersion: 1;
|
|
3855
3861
|
};
|
|
3862
|
+
export interface V3ReportDisplay {
|
|
3863
|
+
language: Exclude<ReportLanguage, ReportLanguage.En>;
|
|
3864
|
+
businessCaseAnalysis: string;
|
|
3865
|
+
validation?: {
|
|
3866
|
+
rationale: string;
|
|
3867
|
+
gaps: string[];
|
|
3868
|
+
};
|
|
3869
|
+
changes?: {
|
|
3870
|
+
id: string;
|
|
3871
|
+
text: string;
|
|
3872
|
+
}[];
|
|
3873
|
+
issuesFound?: {
|
|
3874
|
+
description: string;
|
|
3875
|
+
}[];
|
|
3876
|
+
newTestsCreated?: {
|
|
3877
|
+
description: string;
|
|
3878
|
+
}[];
|
|
3879
|
+
testResults?: {
|
|
3880
|
+
details: string;
|
|
3881
|
+
}[];
|
|
3882
|
+
caveats?: {
|
|
3883
|
+
text: string;
|
|
3884
|
+
}[];
|
|
3885
|
+
}
|
|
3856
3886
|
/** What the run did to GitHub with the App's token, which the app records for its audit (SKYR-4857). */
|
|
3857
3887
|
export declare enum GitHubWriteKind {
|
|
3858
3888
|
BranchPushed = "branch_pushed",
|
|
@@ -4320,6 +4350,11 @@ export declare function uploadV3Report(attempt: V3Attempt, input: {
|
|
|
4320
4350
|
githubWrites?: GitHubWrite[];
|
|
4321
4351
|
/** Why the report the run showed stayed English (notTranslatedOf). */
|
|
4322
4352
|
notTranslated?: V3StagedReport["notTranslated"];
|
|
4353
|
+
/** The report the run showed, in the run's report language (translatedReportOf). */
|
|
4354
|
+
translated?: {
|
|
4355
|
+
language: ReportLanguage;
|
|
4356
|
+
report: StagedTestbotReport;
|
|
4357
|
+
};
|
|
4323
4358
|
}): Promise<void>;
|
|
4324
4359
|
/** Why the attempt ended without a report: a cancellation, or one of the contract's causes. */
|
|
4325
4360
|
export type V3EndCause = AttemptEndReason.Cancelled | NoReportCause;
|
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.249",
|
|
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.",
|