@alwaysmeticulous/api 2.292.0 → 2.292.1

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Organization } from "./organization.types";
2
2
  export { Project, ProjectSettingsScreenshottingOptions } from "./project.types";
3
3
  export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotAuxiliary, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotDiffResultDifference, ScreenshotDiffResultNoDifference, ScreenshotIdentifier, ScreenshotVariant, SingleTryScreenshotDiffResult, ScreenshotDiffRetryResult, SingleTryScreenshotDiffRetryResult, RedactedScreenshotIncompatible, RedactedScreenshotsCompared, RedactedScreenshotsComparison, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
4
- export { SessionRelevance, isPrAuthorRelevance, TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, AppContainerLogsLocations, TestRunDataLocations, TestRun, ExecuteSecureTunnelTestRunOptions, ExecuteSecureTunnelTestRunResponse, } from "./replay/test-run.types";
4
+ export { SessionRelevance, isPrAuthorRelevance, TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, AppContainerLogsLocations, TestRunDataLocations, TestRun, TestRunNetworkPatchingResult, ExecuteSecureTunnelTestRunOptions, ExecuteSecureTunnelTestRunResponse, } from "./replay/test-run.types";
5
5
  export { BaseResolutionDetails, FailedForOtherReason, RequiredNewWorkflowRunButFailedDueToNewCommitToBaseBranch, SuitableTestRunAlreadyExisted, TestRunTriggerDebugContext, TriggeredNewWorkflowRunSuccessfully, WaitedForExistingWorkflowRun, } from "./replay/test-run-debug-context.types";
6
6
  export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
7
7
  export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="69ded7d0-532e-5001-b315-cf4b7eb00034")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6a3818e5-6f74-5ea1-a8aa-358d088295ca")}catch(e){}}();
3
3
 
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -29,4 +29,4 @@ Object.defineProperty(exports, "NETWORK_REQUESTS_SNAPSHOT_TYPE", { enumerable: t
29
29
  Object.defineProperty(exports, "CUSTOM_CHECK_SUMMARY_MAX_LENGTH", { enumerable: true, get: function () { return custom_checks_types_1.CUSTOM_CHECK_SUMMARY_MAX_LENGTH; } });
30
30
  Object.defineProperty(exports, "CUSTOM_CHECK_RESULTS_STATUSES", { enumerable: true, get: function () { return custom_checks_types_1.CUSTOM_CHECK_RESULTS_STATUSES; } });
31
31
  //# sourceMappingURL=index.js.map
32
- //# debugId=69ded7d0-532e-5001-b315-cf4b7eb00034
32
+ //# debugId=6a3818e5-6f74-5ea1-a8aa-358d088295ca
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,0DAaiC;AAZ/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAsBrB,sFAAoE;AAQpE,4EAsBqD;AATnD,8HAAA,8BAA8B,OAAA;AAsBhC,mFAAiE;AA4DjE,6DAiB+B;AAN7B,qIAAA,8BAA8B,OAAA;AAC9B,sIAAA,+BAA+B,OAAA;AAC/B,oIAAA,6BAA6B,OAAA","debugId":"69ded7d0-532e-5001-b315-cf4b7eb00034"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,0DAciC;AAb/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAuBrB,sFAAoE;AAQpE,4EAsBqD;AATnD,8HAAA,8BAA8B,OAAA;AAsBhC,mFAAiE;AA4DjE,6DAiB+B;AAN7B,qIAAA,8BAA8B,OAAA;AAC9B,sIAAA,+BAA+B,OAAA;AAC/B,oIAAA,6BAA6B,OAAA","debugId":"6a3818e5-6f74-5ea1-a8aa-358d088295ca"}
@@ -107,6 +107,30 @@ export interface TestRun {
107
107
  };
108
108
  url: string;
109
109
  }
110
+ /**
111
+ * Result of resolving the "effective" test run for a (potentially network
112
+ * patched) test run.
113
+ *
114
+ * When network patching (session repair) is enabled, completing the original
115
+ * test run may trigger a hidden patching test run whose results are merged into
116
+ * a separate merged test run. The merged test run is the one surfaced in the
117
+ * Meticulous UI, so custom check results must be reported against it rather than
118
+ * the original run.
119
+ */
120
+ export interface TestRunNetworkPatchingResult {
121
+ /**
122
+ * The test run that custom check results should be reported against. Equal to
123
+ * the requested test run id when no network patching applies, otherwise the
124
+ * merged test run id once it has been created.
125
+ */
126
+ effectiveTestRunId: string;
127
+ /**
128
+ * True while a session-repair (network patching) run and/or its merged test
129
+ * run is still expected or in progress. Clients should keep polling while this
130
+ * is true, and report against `effectiveTestRunId` once it is false.
131
+ */
132
+ isNetworkPatchingInProgress: boolean;
133
+ }
110
134
  export interface ExecuteSecureTunnelTestRunOptions {
111
135
  headSha: string;
112
136
  tunnelUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.292.0",
3
+ "version": "2.292.1",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",