@effectstream/runtime 0.100.23 → 0.100.24
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/package.json +12 -12
- package/test/reproduction/harness.ts +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effectstream/runtime",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.24",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://effectstream.github.io/docs/",
|
|
6
6
|
"repository": {
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
},
|
|
14
14
|
"exports": "./src/mod.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@effectstream/concise": "0.100.
|
|
17
|
-
"@effectstream/config": "0.100.
|
|
18
|
-
"@effectstream/coroutine": "0.100.
|
|
19
|
-
"@effectstream/crypto": "0.100.
|
|
20
|
-
"@effectstream/db": "0.100.
|
|
21
|
-
"@effectstream/event-client": "0.100.
|
|
22
|
-
"@effectstream/event-server": "0.100.
|
|
23
|
-
"@effectstream/log": "0.100.
|
|
24
|
-
"@effectstream/sm": "0.100.
|
|
25
|
-
"@effectstream/sync": "0.100.
|
|
26
|
-
"@effectstream/utils": "0.100.
|
|
16
|
+
"@effectstream/concise": "0.100.24",
|
|
17
|
+
"@effectstream/config": "0.100.24",
|
|
18
|
+
"@effectstream/coroutine": "0.100.24",
|
|
19
|
+
"@effectstream/crypto": "0.100.24",
|
|
20
|
+
"@effectstream/db": "0.100.24",
|
|
21
|
+
"@effectstream/event-client": "0.100.24",
|
|
22
|
+
"@effectstream/event-server": "0.100.24",
|
|
23
|
+
"@effectstream/log": "0.100.24",
|
|
24
|
+
"@effectstream/sm": "0.100.24",
|
|
25
|
+
"@effectstream/sync": "0.100.24",
|
|
26
|
+
"@effectstream/utils": "0.100.24",
|
|
27
27
|
"@fastify/cors": "^11.0.1",
|
|
28
28
|
"@metamask/json-rpc-engine": "^10.0.3",
|
|
29
29
|
"pg": "8.21.0",
|
|
@@ -225,7 +225,9 @@ function cleanupOrphanedClusters(bin: string, env: Record<string, string | undef
|
|
|
225
225
|
* so they don't accumulate and exhaust system resources.
|
|
226
226
|
*/
|
|
227
227
|
function ensureCluster(): Promise<Cluster> {
|
|
228
|
-
|
|
228
|
+
// If the cluster was stopped (last harness tore down), start a fresh one.
|
|
229
|
+
if (clusterPromise && !clusterStopped) return clusterPromise;
|
|
230
|
+
clusterPromise = undefined;
|
|
229
231
|
clusterPromise = (async () => {
|
|
230
232
|
const bin = resolvePgBinDir()!;
|
|
231
233
|
clusterBin = bin;
|
|
@@ -500,9 +502,6 @@ async function setupPostgresHarness(): Promise<Harness> {
|
|
|
500
502
|
await admin.query(`CREATE DATABASE "${dbName}"`);
|
|
501
503
|
await admin.end();
|
|
502
504
|
|
|
503
|
-
// Parent assertions go through poll.ts's `q`; PGLITE=false → plain queries.
|
|
504
|
-
process.env.PGLITE = "false";
|
|
505
|
-
|
|
506
505
|
const dbEnv = {
|
|
507
506
|
PGLITE: "false",
|
|
508
507
|
ALLOW_NO_PG_IVM: "true",
|