@skyramp/testbot-core 0.13.0-v3.246 → 0.13.0-v3.248
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 +378 -378
- package/dist/post.js +40 -40
- package/dist/runner-client.cjs +41 -41
- package/dist/runner-client.d.cts +33 -0
- package/package.json +1 -1
package/dist/runner-client.d.cts
CHANGED
|
@@ -3846,6 +3846,10 @@ export type V3StagedReport = Omit<StagedTestbotReport, "testResults" | "validati
|
|
|
3846
3846
|
language: ReportLanguage;
|
|
3847
3847
|
reason: NotTranslatedReason;
|
|
3848
3848
|
};
|
|
3849
|
+
/** The report's text in the Target's report language, as the run showed it on GitHub (SKYR-5447). The English
|
|
3850
|
+
* fields stay what the app's gates read. Each list has the length and order of the report's own list; `changes`
|
|
3851
|
+
* goes by id. */
|
|
3852
|
+
display?: V3ReportDisplay;
|
|
3849
3853
|
testResults: (StagedTestbotReport["testResults"][number] & {
|
|
3850
3854
|
repository: string;
|
|
3851
3855
|
resultId: string;
|
|
@@ -3853,6 +3857,30 @@ export type V3StagedReport = Omit<StagedTestbotReport, "testResults" | "validati
|
|
|
3853
3857
|
validation: ReportValidation;
|
|
3854
3858
|
traceVersion: 1;
|
|
3855
3859
|
};
|
|
3860
|
+
export interface V3ReportDisplay {
|
|
3861
|
+
language: Exclude<ReportLanguage, ReportLanguage.En>;
|
|
3862
|
+
businessCaseAnalysis: string;
|
|
3863
|
+
validation?: {
|
|
3864
|
+
rationale: string;
|
|
3865
|
+
gaps: string[];
|
|
3866
|
+
};
|
|
3867
|
+
changes?: {
|
|
3868
|
+
id: string;
|
|
3869
|
+
text: string;
|
|
3870
|
+
}[];
|
|
3871
|
+
issuesFound?: {
|
|
3872
|
+
description: string;
|
|
3873
|
+
}[];
|
|
3874
|
+
newTestsCreated?: {
|
|
3875
|
+
description: string;
|
|
3876
|
+
}[];
|
|
3877
|
+
testResults?: {
|
|
3878
|
+
details: string;
|
|
3879
|
+
}[];
|
|
3880
|
+
caveats?: {
|
|
3881
|
+
text: string;
|
|
3882
|
+
}[];
|
|
3883
|
+
}
|
|
3856
3884
|
/** What the run did to GitHub with the App's token, which the app records for its audit (SKYR-4857). */
|
|
3857
3885
|
export declare enum GitHubWriteKind {
|
|
3858
3886
|
BranchPushed = "branch_pushed",
|
|
@@ -4320,6 +4348,11 @@ export declare function uploadV3Report(attempt: V3Attempt, input: {
|
|
|
4320
4348
|
githubWrites?: GitHubWrite[];
|
|
4321
4349
|
/** Why the report the run showed stayed English (notTranslatedOf). */
|
|
4322
4350
|
notTranslated?: V3StagedReport["notTranslated"];
|
|
4351
|
+
/** The report the run showed, in the run's report language (translatedReportOf). */
|
|
4352
|
+
translated?: {
|
|
4353
|
+
language: ReportLanguage;
|
|
4354
|
+
report: StagedTestbotReport;
|
|
4355
|
+
};
|
|
4323
4356
|
}): Promise<void>;
|
|
4324
4357
|
/** Why the attempt ended without a report: a cancellation, or one of the contract's causes. */
|
|
4325
4358
|
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.248",
|
|
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.",
|