instar 1.3.699 → 1.3.701
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 +16 -3
- package/dist/commands/server.js.map +1 -1
- package/dist/core/OwnershipReconciler.d.ts +20 -4
- package/dist/core/OwnershipReconciler.d.ts.map +1 -1
- package/dist/core/OwnershipReconciler.js +15 -7
- package/dist/core/OwnershipReconciler.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/upgrades/1.3.700.md +39 -0
- package/upgrades/1.3.701.md +21 -0
- package/upgrades/side-effects/reconciler-meshself-ordering-fix.md +93 -0
- package/upgrades/side-effects/reconciler-pinstore-ordering-fix.md +77 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8CH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAU3D,OAAO,EAAE,eAAe,EAAiC,MAAM,iCAAiC,CAAC;AAyBjG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAyH7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AA+EtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAUT;AAyID,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAq7CD,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,e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mB,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,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,EAGvE,UAAU,CAAC,EAAE,MAAM,OAAO,8BAA8B,EAAE,WAAW,GAAG,IAAI,EAK5E,qBAAqB,CAAC,EAAE,MAAM,OAAO,gCAAgC,EAAE,kBAAkB,GAAG,IAAI,EAKhG,mBAAmB,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,GACpD,IAAI,CAihBN;AA2lBD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA01hBtE;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
|
@@ -15966,7 +15966,20 @@ export async function startServer(options) {
|
|
|
15966
15966
|
// inbound message that delivery may never route" (the 2026-06-12 stuck
|
|
15967
15967
|
// transfer-back). Dark + dry-run defaults; strict single-machine no-op
|
|
15968
15968
|
// inside the module. Phase C: quorum logic is N-machine from day one.
|
|
15969
|
-
|
|
15969
|
+
// Construction gated on the pin store ALONE — NOT on `_meshSelfId` (Finding
|
|
15970
|
+
// 2026-06-30, caught by the live proof): this block runs ~950 lines BEFORE
|
|
15971
|
+
// `_meshSelfId` is assigned in the boot sequence, so the old `&& _meshSelfId` guard
|
|
15972
|
+
// was ALWAYS null here → the reconciler was never built and never ticked (0 ticks in
|
|
15973
|
+
// logs, /pool/reconciler 503 even with both machines online). `selfMachineId` is now a
|
|
15974
|
+
// late-bound getter (read at tick time, no-op while null) — the SAME proven fix the
|
|
15975
|
+
// sibling OwnershipApplier already uses (ownership-applier-meshself-ordering-fix).
|
|
15976
|
+
// Gate on `ownReg` (the ownership registry, available HERE inside durableOwnership) —
|
|
15977
|
+
// NOT on `_topicPinStore` (Finding 2026-06-30 #2, live-proof's SECOND catch): the pin
|
|
15978
|
+
// store is assigned ~2200 lines BELOW, so `if (_topicPinStore)` was ALWAYS null here →
|
|
15979
|
+
// reconciler still never built even after the `_meshSelfId` fix. `pinStore` is now a
|
|
15980
|
+
// late-bound getter too (read at tick time, no pins while null) — same pattern as
|
|
15981
|
+
// `selfMachineId` + the sibling OwnershipApplier.
|
|
15982
|
+
if (ownReg) {
|
|
15970
15983
|
const ws13Cfg = () => (config.multiMachine?.seamlessness ?? {});
|
|
15971
15984
|
const { OwnershipReconciler } = await import('../core/OwnershipReconciler.js');
|
|
15972
15985
|
// Fix #2 advisory-pin read: the merged replicated `topic-pin-record` view (HLC-ordered)
|
|
@@ -15984,8 +15997,8 @@ export async function startServer(options) {
|
|
|
15984
15997
|
// ladder intends. Strict single-machine no-op inside the module.
|
|
15985
15998
|
enabled: () => resolveDevAgentGate(ws13Cfg().ws13Reconcile, config),
|
|
15986
15999
|
dryRun: () => ws13Cfg().ws13DryRun !== false,
|
|
15987
|
-
selfMachineId: _meshSelfId,
|
|
15988
|
-
pinStore: _topicPinStore,
|
|
16000
|
+
selfMachineId: () => _meshSelfId, // late-bound (assigned ~950 lines below) — read at tick time
|
|
16001
|
+
pinStore: () => _topicPinStore, // late-bound (assigned ~2200 lines below) — read at tick time
|
|
15989
16002
|
// Fix #2: the merged ADVISORY replicated pins (HLC-ordered). Gated by
|
|
15990
16003
|
// ws13PinReplicate (resolves LIVE on a dev agent / DARK on the fleet) so a
|
|
15991
16004
|
// dark/single-machine agent reads no advisory pins (today's behavior).
|