instar 1.3.377 → 1.3.378
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/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +10 -2
- package/dist/commands/server.js.map +1 -1
- package/dist/core/MeshRpcClient.d.ts +8 -1
- package/dist/core/MeshRpcClient.d.ts.map +1 -1
- package/dist/core/MeshRpcClient.js +7 -2
- package/dist/core/MeshRpcClient.js.map +1 -1
- package/dist/core/WorkingSetPull.d.ts.map +1 -1
- package/dist/core/WorkingSetPull.js +16 -1
- package/dist/core/WorkingSetPull.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/upgrades/1.3.378.md +52 -0
- package/upgrades/side-effects/mesh-cold-call-resilience.md +63 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAQ3D,OAAO,EAAE,eAAe,EAAiC,MAAM,iCAAiC,CAAC;AAuBjG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAiG7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AA6JtD,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAs4BD,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,cAAc,EAAE,cAAc,EAC9B,YAAY,CAAC,EAAE,YAAY,EAC3B,WAAW,CAAC,EAAE,WAAW,EACzB,WAAW,CAAC,EAAE,WAAW,EACzB,iBAAiB,CAAC,EAAE,CAAC,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,IAAI,GAC/F,IAAI,CAyUN;AA2lBD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA2qTtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -10220,7 +10220,11 @@ export async function startServer(options) {
|
|
|
10220
10220
|
return new wsPullMod.WorkingSetPuller({
|
|
10221
10221
|
stateDir: config.stateDir,
|
|
10222
10222
|
send: async (cmd) => {
|
|
10223
|
-
|
|
10223
|
+
// 30s per-attempt: pull pages carry up to 1MiB and the 5s
|
|
10224
|
+
// default was measured aborting every cold tunnel hop
|
|
10225
|
+
// (live-matrix T1) — each abort costs a pending-pull
|
|
10226
|
+
// round instead of milliseconds.
|
|
10227
|
+
const r = await meshClient.send({ machineId: nominee, url }, cmd, 0, { timeoutMs: 30_000 });
|
|
10224
10228
|
if (!r.ok)
|
|
10225
10229
|
throw new Error(`mesh ${r.status}: ${r.reason ?? 'error'}`);
|
|
10226
10230
|
return r.result;
|
|
@@ -10339,7 +10343,11 @@ export async function startServer(options) {
|
|
|
10339
10343
|
if (!url)
|
|
10340
10344
|
return queue('owner unreachable (no known URL)');
|
|
10341
10345
|
try {
|
|
10342
|
-
|
|
10346
|
+
// 15s per-attempt: a cold tunnel hop was measured aborting the
|
|
10347
|
+
// 5s default on the FIRST call after idle (live-matrix T1) —
|
|
10348
|
+
// the ambiguous-outcome queue below then adds minutes of
|
|
10349
|
+
// latency to a mutation the warm link serves in <1s.
|
|
10350
|
+
const res = await meshClient.send({ machineId: ownerMachineId, url }, { type: 'commitment-mutate', payload }, 0, { timeoutMs: 15_000 });
|
|
10343
10351
|
if (res.ok && res.result && typeof res.result === 'object' && 'verdict' in res.result) {
|
|
10344
10352
|
await pendingMutationLedger.clear(payload.opKey);
|
|
10345
10353
|
return { kind: 'verdict', outcome: res.result };
|