@rotorsoft/act-tck 1.38.26 → 1.38.27

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.
@@ -68,29 +68,22 @@ export type StoreCapabilities = {
68
68
  */
69
69
  readonly source_matches?: boolean;
70
70
  /**
71
- * Adapter matches a **pattern** reaction `source` (one carrying regex
72
- * metacharacters, e.g. the calculator's `^(A|B)$`) as a full RegExp in
73
- * claim()'s has-work probe, so a stream whose max event id exceeds the
74
- * subscription watermark is claimed when its name matches the pattern.
75
- * When `true`, the TCK runs the pattern-source claim suite. Literal
76
- * sources stay exact everywhere regardless of this flag — the fast,
77
- * index-friendly path.
78
- *
79
- * Stores that cannot run an arbitrary regex against candidate streams
80
- * (e.g. SQLite, whose libsql build has no `REGEXP` and whose portable
81
- * `LIKE` grammar cannot express alternation/grouping) leave this
82
- * `false` and instead reject a non-portable claim source at
83
- * {@link subscribe} time — see {@link rejects_nonportable_claim_source}.
71
+ * Gates nothing. `claim` reads only the subscription row and never
72
+ * matches a `source`; correlate does, so a **pattern** source (e.g. the
73
+ * calculator's `^(A|B)$`) works on every adapter that accepts it at
74
+ * {@link subscribe}. Kept so specs that set it still compile. Stores that
75
+ * cannot run an arbitrary regex reject a non-portable source at subscribe
76
+ * instead; see {@link rejects_nonportable_claim_source}.
84
77
  */
85
78
  readonly pattern_claim_source?: boolean;
86
79
  /**
87
- * Adapter cannot faithfully match every regex claim `source`, so it
88
- * fails loud at registration: {@link subscribe} throws
80
+ * Adapter cannot faithfully match every regex `source` when the drain
81
+ * fetches a stream's events, so it fails loud at registration: {@link subscribe} throws
89
82
  * {@link ValidationError} for a source outside its portable subset
90
83
  * (alternation/grouping like `^(A|B)$`), rather than silently never
91
- * claiming the stream. When `true`, the TCK runs the reject-at-subscribe
84
+ * fetching them. When `true`, the TCK runs the reject-at-subscribe
92
85
  * case. Currently only SQLite sets this — its message points operators
93
- * to InMemory/PG for full regex claim sources.
86
+ * to InMemory/PG for full regex sources.
94
87
  */
95
88
  readonly rejects_nonportable_claim_source?: boolean;
96
89
  /**
@@ -171,7 +164,7 @@ export type StoreTckOptions = {
171
164
  * `ValidationError` — never a silent approximation
172
165
  * - `subscribe` — idempotent re-subscribe, watermark return value
173
166
  * - `claim` / `ack` — lease lifecycle, dual frontiers, leased streams
174
- * not double-claimed, exact-source has-work matching, timed-out-lease
167
+ * not double-claimed, exact-source fetch, timed-out-lease
175
168
  * retry accounting
176
169
  * - `block` — blocked streams hidden from claim, only same-drainer can block
177
170
  * - `reset` — restart watermarks (including blocked), no-op for missing
@@ -1 +1 @@
1
- {"version":3,"file":"store-tck.d.ts","sourceRoot":"","sources":["../../src/store-tck.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAQV,KAAK,EAIN,MAAM,sBAAsB,CAAC;AAe9B;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;;;;OASG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;;;;;OAQG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IACxC;;;;;;;;OAQG;IACH,QAAQ,CAAC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IACpD;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAA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