instar 1.3.699 → 1.3.700
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 +9 -2
- package/dist/commands/server.js.map +1 -1
- package/dist/core/OwnershipReconciler.d.ts +11 -3
- package/dist/core/OwnershipReconciler.d.ts.map +1 -1
- package/dist/core/OwnershipReconciler.js +13 -6
- 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/side-effects/reconciler-meshself-ordering-fix.md +93 -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,eAAe,EACzB,cAAc,EAAE,cAAc,EAC9B,YAAY,CAAC,EAAE,YAAY,EAC3B,WA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C,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,CAm1hBtE;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,14 @@ 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
|
+
if (_topicPinStore) {
|
|
15970
15977
|
const ws13Cfg = () => (config.multiMachine?.seamlessness ?? {});
|
|
15971
15978
|
const { OwnershipReconciler } = await import('../core/OwnershipReconciler.js');
|
|
15972
15979
|
// Fix #2 advisory-pin read: the merged replicated `topic-pin-record` view (HLC-ordered)
|
|
@@ -15984,7 +15991,7 @@ export async function startServer(options) {
|
|
|
15984
15991
|
// ladder intends. Strict single-machine no-op inside the module.
|
|
15985
15992
|
enabled: () => resolveDevAgentGate(ws13Cfg().ws13Reconcile, config),
|
|
15986
15993
|
dryRun: () => ws13Cfg().ws13DryRun !== false,
|
|
15987
|
-
selfMachineId: _meshSelfId,
|
|
15994
|
+
selfMachineId: () => _meshSelfId, // late-bound (assigned ~950 lines below) — read at tick time
|
|
15988
15995
|
pinStore: _topicPinStore,
|
|
15989
15996
|
// Fix #2: the merged ADVISORY replicated pins (HLC-ordered). Gated by
|
|
15990
15997
|
// ws13PinReplicate (resolves LIVE on a dev agent / DARK on the fleet) so a
|