@skyramp/testbot-core 0.13.0-v3.185 → 0.13.0-v3.187

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.
@@ -1736,6 +1736,9 @@ export interface StagedTestbotReport {
1736
1736
  /** Testbot V3: why a Fail or Skipped row came out so, when the run's own
1737
1737
  * records say. Absent when they do not, and never on a Pass row. */
1738
1738
  failureCause?: FailureCause;
1739
+ /** Testbot V3: whether Testbot wrote the test, changed the repository's test, or ran the repository's test as
1740
+ * it is (SKYR-5396). Absent from reports before it, whose readers had to work it out. */
1741
+ origin?: TestResultOrigin;
1739
1742
  }[];
1740
1743
  issuesFound: {
1741
1744
  description: string;
@@ -1921,10 +1924,17 @@ declare enum UploadedMediaType {
1921
1924
  Docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
1922
1925
  Xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
1923
1926
  }
1927
+ declare enum TestResultOrigin {
1928
+ New = "new",
1929
+ Updated = "updated",
1930
+ Existing = "existing"
1931
+ }
1924
1932
  /** Whether the evidence a run obtained or accepted is enough for the validation its policy asked for. */
1925
1933
  export declare enum ValidationSufficiency {
1926
1934
  Sufficient = "sufficient",
1927
- Insufficient = "insufficient"
1935
+ Insufficient = "insufficient",
1936
+ /** A scheduled run with no change since its baseline: nothing to validate, neither a success nor a failure (SKYR-5387). */
1937
+ NoChange = "no_change"
1928
1938
  }
1929
1939
  declare enum ActionRequiredReason {
1930
1940
  RelatedChangeConflict = "related_change_conflict",
@@ -2626,16 +2636,16 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
2626
2636
  updated: z.ZodString;
2627
2637
  contentHash: z.ZodString;
2628
2638
  }, "strict", z.ZodTypeAny, {
2639
+ updated: string;
2629
2640
  site: string;
2630
2641
  source: RequirementItemSource.Jira;
2631
2642
  key: string;
2632
- updated: string;
2633
2643
  contentHash: string;
2634
2644
  }, {
2645
+ updated: string;
2635
2646
  site: string;
2636
2647
  source: RequirementItemSource.Jira;
2637
2648
  key: string;
2638
- updated: string;
2639
2649
  contentHash: string;
2640
2650
  }>,
2641
2651
  z.ZodObject<{
@@ -2853,10 +2863,10 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
2853
2863
  }[] | undefined;
2854
2864
  } | undefined;
2855
2865
  requirements?: ({
2866
+ updated: string;
2856
2867
  site: string;
2857
2868
  source: RequirementItemSource.Jira;
2858
2869
  key: string;
2859
- updated: string;
2860
2870
  contentHash: string;
2861
2871
  } | {
2862
2872
  site: string;
@@ -2981,10 +2991,10 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
2981
2991
  }[] | undefined;
2982
2992
  } | undefined;
2983
2993
  requirements?: ({
2994
+ updated: string;
2984
2995
  site: string;
2985
2996
  source: RequirementItemSource.Jira;
2986
2997
  key: string;
2987
- updated: string;
2988
2998
  contentHash: string;
2989
2999
  } | {
2990
3000
  site: string;
@@ -3109,10 +3119,10 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
3109
3119
  }[] | undefined;
3110
3120
  } | undefined;
3111
3121
  requirements?: ({
3122
+ updated: string;
3112
3123
  site: string;
3113
3124
  source: RequirementItemSource.Jira;
3114
3125
  key: string;
3115
- updated: string;
3116
3126
  contentHash: string;
3117
3127
  } | {
3118
3128
  site: string;
@@ -3237,10 +3247,10 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
3237
3247
  }[] | undefined;
3238
3248
  } | undefined;
3239
3249
  requirements?: ({
3250
+ updated: string;
3240
3251
  site: string;
3241
3252
  source: RequirementItemSource.Jira;
3242
3253
  key: string;
3243
- updated: string;
3244
3254
  contentHash: string;
3245
3255
  } | {
3246
3256
  site: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyramp/testbot-core",
3
- "version": "0.13.0-v3.185",
3
+ "version": "0.13.0-v3.187",
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. assets/gen-reference/ is the staged codegen reference corpus, which generate.ts finds at ../assets from dist/.",