@voltro/workflow 0.82.0 → 0.83.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/CHANGELOG.md +361 -0
- package/dist/{cluster-MboOAwcv.js → cluster--WvQZFwk.js} +171 -138
- package/dist/cluster.d.ts +7 -4
- package/dist/cluster.js +1 -1
- package/dist/{clusterDiagnostics-Dc7yBP3b.js → clusterDiagnostics-CGUtnJkX.js} +145 -130
- package/dist/clusterTestSuite.d.ts +1 -1
- package/dist/clusterTestSuite.js +2 -2
- package/dist/index.d.ts +27 -0
- package/dist/index.js +3 -3
- package/dist/{src-BAN5Xovf.js → src-DP-lKqaG.js} +859 -852
- package/package.json +4 -4
package/dist/cluster.d.ts
CHANGED
|
@@ -1286,9 +1286,10 @@ export declare const resolveRunnerIdentity: (opts: {
|
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Resolve the runner-storage backend for `SingleRunner`.
|
|
1288
1288
|
*
|
|
1289
|
-
*
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
1289
|
+
* The resolved connection capability selects SQL ownership for shared primaries.
|
|
1290
|
+
* Local/embedded SQLite-family connections retain memory ownership; direct
|
|
1291
|
+
* remote Turso primaries use SQL row locks. Without capability information,
|
|
1292
|
+
* the SQLite-family fallback remains memory.
|
|
1292
1293
|
*
|
|
1293
1294
|
* `VOLTRO_WORKFLOW_RUNNER_STORAGE` (or an explicit `override`) forces the
|
|
1294
1295
|
* choice. The load-bearing case is `'memory'` on a real SQL dialect: it keeps
|
|
@@ -1309,6 +1310,8 @@ export declare const resolveRunnerIdentity: (opts: {
|
|
|
1309
1310
|
*/
|
|
1310
1311
|
export declare const resolveRunnerStorage: (opts: {
|
|
1311
1312
|
readonly sqliteFamily: boolean;
|
|
1313
|
+
/** Whether the resolved connection supports shared SQL runner ownership. */
|
|
1314
|
+
readonly sqlRunnerSupported?: boolean | undefined;
|
|
1312
1315
|
readonly override?: string | undefined;
|
|
1313
1316
|
}) => RunnerStorage;
|
|
1314
1317
|
|
|
@@ -1467,7 +1470,7 @@ export declare interface WorkflowEngineLayerOptions {
|
|
|
1467
1470
|
* the cluster's accounting clean.
|
|
1468
1471
|
*/
|
|
1469
1472
|
readonly sqlClientLayer: Layer.Layer<SqlClient.SqlClient, ConfigError.ConfigError | SqlError.SqlError, never>;
|
|
1470
|
-
/**
|
|
1473
|
+
/** SQL ownership for shared primaries; memory for local/embedded stores. */
|
|
1471
1474
|
readonly runnerStorage: RunnerStorage;
|
|
1472
1475
|
/**
|
|
1473
1476
|
* The resolved dialect id (`postgres` / `mysql` / `mariadb` / `mssql` /
|
package/dist/cluster.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "./cluster
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "./cluster--WvQZFwk.js";
|
|
2
2
|
export { u as DEFAULT_RUNNER_LISTEN_PORT, f as WorkflowRestartDispatcher, _ as WorkflowResumeDispatcher, l as activityPrimaryKey, i as clusterMigrationGateLayer, p as detectWsrepCluster, h as makeClusterCronLayer, r as makeClusterDiagnostics, s as parseShardLockMode, t as pollWorkflowStorage, o as readWorkflowRunReply, a as redriveFailedRun, d as resolveFailoverTuning, m as resolveRunnerIdentity, n as resolveRunnerStorage, c as resolveShardLockDisableAdvisory, e as resumeRunFromStep, g as workflowEngineLayer };
|