@reticlehq/core 3.10.5 → 3.10.7
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.
|
@@ -266,6 +266,13 @@ export declare const DriftReason: {
|
|
|
266
266
|
* Undecided, as the live act answers it, never a pass and never the app's failure.
|
|
267
267
|
*/
|
|
268
268
|
readonly TARGET_UNREACHABLE: "target_unreachable";
|
|
269
|
+
/**
|
|
270
|
+
* The step's anchor resolved and its action ran, but its declared consequence could not be
|
|
271
|
+
* decided: the predicate answered `inconclusive` (for example, the page's SDK did not return the
|
|
272
|
+
* whole text it was asked to judge). Undecided, never a pass and never the app's failure. As
|
|
273
|
+
* SIGNAL_NOT_OBSERVED, a correct app replayed as failed.
|
|
274
|
+
*/
|
|
275
|
+
readonly EXPECT_UNDECIDED: "expect_undecided";
|
|
269
276
|
};
|
|
270
277
|
export type DriftReason = (typeof DriftReason)[keyof typeof DriftReason];
|
|
271
278
|
/**
|
|
@@ -276,6 +276,13 @@ export const DriftReason = {
|
|
|
276
276
|
* Undecided, as the live act answers it, never a pass and never the app's failure.
|
|
277
277
|
*/
|
|
278
278
|
TARGET_UNREACHABLE: 'target_unreachable',
|
|
279
|
+
/**
|
|
280
|
+
* The step's anchor resolved and its action ran, but its declared consequence could not be
|
|
281
|
+
* decided: the predicate answered `inconclusive` (for example, the page's SDK did not return the
|
|
282
|
+
* whole text it was asked to judge). Undecided, never a pass and never the app's failure. As
|
|
283
|
+
* SIGNAL_NOT_OBSERVED, a correct app replayed as failed.
|
|
284
|
+
*/
|
|
285
|
+
EXPECT_UNDECIDED: 'expect_undecided',
|
|
279
286
|
};
|
|
280
287
|
/**
|
|
281
288
|
* Did the step's anchor resolve and its action RUN, leaving only the declared consequence unmet?
|
|
@@ -296,7 +303,9 @@ export function isConsequenceDrift(reason) {
|
|
|
296
303
|
DriftReason.EXPECT_ELEMENT_NOT_FOUND === reason ||
|
|
297
304
|
// Same class: the anchor resolved, the action ran, and the page is where the step left it. Only
|
|
298
305
|
// the answer is missing. Excluding it would halt a sweep on a slow endpoint.
|
|
299
|
-
DriftReason.NET_STILL_IN_FLIGHT === reason
|
|
306
|
+
DriftReason.NET_STILL_IN_FLIGHT === reason ||
|
|
307
|
+
// The same again: the action ran and only the answer could not be read.
|
|
308
|
+
DriftReason.EXPECT_UNDECIDED === reason);
|
|
300
309
|
}
|
|
301
310
|
/** Default timeout (ms) a signal anchor waits to be observed at replay. */
|
|
302
311
|
export const FLOW_SIGNAL_TIMEOUT_MS = 4000;
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* `scripts/set-version.mjs` writes the version on each release, and `version-lockstep.test.ts`
|
|
4
4
|
* fails when a doc pins another tag.
|
|
5
5
|
*/
|
|
6
|
-
export declare const RETICLE_ACTION_VERSION = "3.10.
|
|
7
|
-
export declare const RETICLE_ACTION_USES = "reticlehq/reticle/action@v3.10.
|
|
6
|
+
export declare const RETICLE_ACTION_VERSION = "3.10.7";
|
|
7
|
+
export declare const RETICLE_ACTION_USES = "reticlehq/reticle/action@v3.10.7";
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* `scripts/set-version.mjs` writes the version on each release, and `version-lockstep.test.ts`
|
|
4
4
|
* fails when a doc pins another tag.
|
|
5
5
|
*/
|
|
6
|
-
export const RETICLE_ACTION_VERSION = '3.10.
|
|
6
|
+
export const RETICLE_ACTION_VERSION = '3.10.7';
|
|
7
7
|
export const RETICLE_ACTION_USES = `reticlehq/reticle/action@v${RETICLE_ACTION_VERSION}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticlehq/core",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.7",
|
|
4
4
|
"description": "The Reticle foundation: the shared wire contract — types, zod schemas, constants, messages, and the isomorphic kernel that every Reticle package (browser SDK, server, kits, test harness) imports. Depends only on zod and open-verification.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|