@indigoai-us/hq-cloud 6.16.38 → 6.16.40
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/bin/sync-runner-heap-telemetry.d.ts +145 -9
- package/dist/bin/sync-runner-heap-telemetry.d.ts.map +1 -1
- package/dist/bin/sync-runner-heap-telemetry.js +178 -11
- package/dist/bin/sync-runner-heap-telemetry.js.map +1 -1
- package/dist/bin/sync-runner-heap-telemetry.test.js +511 -2
- package/dist/bin/sync-runner-heap-telemetry.test.js.map +1 -1
- package/dist/bin/sync-runner-watch-loop.d.ts.map +1 -1
- package/dist/bin/sync-runner-watch-loop.js +20 -10
- package/dist/bin/sync-runner-watch-loop.js.map +1 -1
- package/dist/bin/sync-runner-watch-loop.test.js +21 -0
- package/dist/bin/sync-runner-watch-loop.test.js.map +1 -1
- package/dist/bin/sync-runner.d.ts +16 -5
- package/dist/bin/sync-runner.d.ts.map +1 -1
- package/dist/bin/sync-runner.js.map +1 -1
- package/dist/cli/share.d.ts.map +1 -1
- package/dist/cli/share.js +28 -27
- package/dist/cli/share.js.map +1 -1
- package/dist/cli/share.test.js +49 -0
- package/dist/cli/share.test.js.map +1 -1
- package/dist/cli/sync.d.ts.map +1 -1
- package/dist/cli/sync.js +8 -8
- package/dist/cli/sync.js.map +1 -1
- package/dist/journal-area-ledger-read-boundary.test.js +46 -12
- package/dist/journal-area-ledger-read-boundary.test.js.map +1 -1
- package/dist/journal-record-proxy.d.ts +12 -2
- package/dist/journal-record-proxy.d.ts.map +1 -1
- package/dist/journal-record-proxy.js +8 -1
- package/dist/journal-record-proxy.js.map +1 -1
- package/dist/journal-row-store.d.ts +64 -0
- package/dist/journal-row-store.d.ts.map +1 -1
- package/dist/journal-row-store.js +129 -3
- package/dist/journal-row-store.js.map +1 -1
- package/dist/journal-row-store.test.js +3 -1
- package/dist/journal-row-store.test.js.map +1 -1
- package/dist/journal-snapshot-rows.d.ts +17 -1
- package/dist/journal-snapshot-rows.d.ts.map +1 -1
- package/dist/journal-snapshot-rows.js +18 -0
- package/dist/journal-snapshot-rows.js.map +1 -1
- package/dist/journal-snapshot-v4.d.ts +3 -2
- package/dist/journal-snapshot-v4.d.ts.map +1 -1
- package/dist/journal-snapshot-v4.js +9 -3
- package/dist/journal-snapshot-v4.js.map +1 -1
- package/dist/journal-snapshot-v4.test.js +1 -0
- package/dist/journal-snapshot-v4.test.js.map +1 -1
- package/dist/journal.d.ts +23 -5
- package/dist/journal.d.ts.map +1 -1
- package/dist/journal.js +309 -189
- package/dist/journal.js.map +1 -1
- package/dist/journal.test.js +58 -1
- package/dist/journal.test.js.map +1 -1
- package/dist/packed-journal-phase2.test.d.ts +2 -0
- package/dist/packed-journal-phase2.test.d.ts.map +1 -0
- package/dist/packed-journal-phase2.test.js +273 -0
- package/dist/packed-journal-phase2.test.js.map +1 -0
- package/dist/personal-vault.d.ts.map +1 -1
- package/dist/personal-vault.js +6 -4
- package/dist/personal-vault.js.map +1 -1
- package/dist/remote-pull.d.ts.map +1 -1
- package/dist/remote-pull.js +9 -8
- package/dist/remote-pull.js.map +1 -1
- package/dist/scope-shrink.js +2 -2
- package/dist/scope-shrink.js.map +1 -1
- package/dist/session-log-retention.d.ts.map +1 -1
- package/dist/session-log-retention.js +2 -2
- package/dist/session-log-retention.js.map +1 -1
- package/dist/sync/area-ledger-migration.d.ts +13 -6
- package/dist/sync/area-ledger-migration.d.ts.map +1 -1
- package/dist/sync/area-ledger-migration.js +45 -19
- package/dist/sync/area-ledger-migration.js.map +1 -1
- package/dist/sync/area-ledger-migration.test.js +23 -0
- package/dist/sync/area-ledger-migration.test.js.map +1 -1
- package/dist/sync/area-ledger.d.ts +31 -1
- package/dist/sync/area-ledger.d.ts.map +1 -1
- package/dist/sync/area-ledger.js +385 -88
- package/dist/sync/area-ledger.js.map +1 -1
- package/dist/sync/area-ledger.test.js +123 -10
- package/dist/sync/area-ledger.test.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -175,8 +175,16 @@ export declare function heapPressureStderrLine(record: HeapPressureRecord): stri
|
|
|
175
175
|
* synchronous stretch where no post-GC reading is ever taken.
|
|
176
176
|
* - `"emergency"` — a single instantaneous observation at or above the
|
|
177
177
|
* emergency fraction, abort-adjacent, bypassing the window and the floor.
|
|
178
|
+
* - `"footprint"` — the RESIDENT-FOOTPRINT tier. Denominated in an absolute
|
|
179
|
+
* rss BUDGET (bytes), NOT a fraction of the V8 old-space cap, so a non-heap
|
|
180
|
+
* (external/ArrayBuffer) burst that leaves `used_heap_size` quiet is still
|
|
181
|
+
* caught before the desktop's whole-tree footprint backstop pre-empts. Like
|
|
182
|
+
* the emergency tier it fires on a SINGLE observation, bypassing the sustain
|
|
183
|
+
* window and the uptime floor — production footprint bursts run 83-1142 MB/s,
|
|
184
|
+
* so no window can be crossed in time. It only ever ADDS a verdict where the
|
|
185
|
+
* four heap tiers are silent; it never suppresses or re-denominates one.
|
|
178
186
|
*/
|
|
179
|
-
export type HeapRecycleTrigger = "live" | "pinned" | "emergency";
|
|
187
|
+
export type HeapRecycleTrigger = "live" | "pinned" | "emergency" | "footprint";
|
|
180
188
|
/**
|
|
181
189
|
* How a verdict is actuated:
|
|
182
190
|
* - `"cooperative"` — the design-centre exit. The verdict is LATCHED and the
|
|
@@ -188,8 +196,15 @@ export type HeapRecycleTrigger = "live" | "pinned" | "emergency";
|
|
|
188
196
|
* observation hard-exits (writeSync-then-exit) instead of waiting for a pass
|
|
189
197
|
* boundary that will never arrive.
|
|
190
198
|
* - `"hard_fraction"` — a single instantaneous observation at or above the
|
|
191
|
-
* hard-exit
|
|
192
|
-
*
|
|
199
|
+
* hard-exit line, too close to the abort/pre-empt boundary to risk waiting
|
|
200
|
+
* for a pass boundary, so it hard-exits immediately. For a heap verdict the
|
|
201
|
+
* line is the hard-exit FRACTION; for a `"footprint"` verdict it is the
|
|
202
|
+
* footprint hard-exit BYTE budget (same single-observation actuation, so the
|
|
203
|
+
* reason token is shared — the `trigger` distinguishes which line was crossed).
|
|
204
|
+
*
|
|
205
|
+
* The `"footprint"` tier reuses all three actuations verbatim (cooperative latch,
|
|
206
|
+
* aged-latch `latch_timeout`, single-observation `hard_fraction`); it adds a
|
|
207
|
+
* trigger, never a new actuation.
|
|
193
208
|
*/
|
|
194
209
|
export type HeapRecycleReason = "cooperative" | "latch_timeout" | "hard_fraction";
|
|
195
210
|
/**
|
|
@@ -238,6 +253,19 @@ export interface HeapRecycleRecord {
|
|
|
238
253
|
emergencyFraction: number;
|
|
239
254
|
/** Configured instantaneous fraction the `hard_fraction` backstop requires. */
|
|
240
255
|
hardExitFraction: number;
|
|
256
|
+
/**
|
|
257
|
+
* Configured resident-footprint cooperative recycle budget in BYTES — the rss
|
|
258
|
+
* at or above which the `"footprint"` tier cooperatively recycles on a single
|
|
259
|
+
* observation. `0` when the footprint tier is disabled (kill switch or the
|
|
260
|
+
* footprint-specific disable), so a reader can tell an off tier from a live one.
|
|
261
|
+
*/
|
|
262
|
+
footprintRecycleBytes: number;
|
|
263
|
+
/**
|
|
264
|
+
* Configured resident-footprint HARD-EXIT budget in BYTES — the rss at or above
|
|
265
|
+
* which the `"footprint"` tier hard-exits (synchronous write + exit) rather than
|
|
266
|
+
* waiting for a pass boundary. `0` when the footprint tier is disabled.
|
|
267
|
+
*/
|
|
268
|
+
footprintHardExitBytes: number;
|
|
241
269
|
/** Configured minimum span between the two qualifying live observations. */
|
|
242
270
|
sustainWindowMs: number;
|
|
243
271
|
/** Actual span observed across the sustain window (0 for `"emergency"`). */
|
|
@@ -371,6 +399,37 @@ export interface RunnerHeapTelemetryOptions {
|
|
|
371
399
|
* tests set it small with a large time deadline to age the latch by count.
|
|
372
400
|
*/
|
|
373
401
|
latchHardExitObservations?: number;
|
|
402
|
+
/**
|
|
403
|
+
* Whether the RESIDENT-FOOTPRINT tier is armed. Default true. Disabled by a
|
|
404
|
+
* footprint-specific kill switch (`HQ_SYNC_RUNNER_FOOTPRINT_RECYCLE_ENABLED=0`)
|
|
405
|
+
* OR by the global {@link recycleEnabled} switch — either one silences it and
|
|
406
|
+
* restores exact base behaviour, so the footprint tier can be turned off on its
|
|
407
|
+
* own without touching the four heap tiers.
|
|
408
|
+
*/
|
|
409
|
+
footprintRecycleEnabled?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
* Resident footprint (`memoryUsage().rss`) in BYTES at or above which the
|
|
412
|
+
* footprint tier cooperatively recycles on a SINGLE observation. Default
|
|
413
|
+
* 4096 MB. Derived from this cluster's production traces and hq-desktop-app's
|
|
414
|
+
* published constants: the desktop pre-empts on ONE whole-TREE sample at
|
|
415
|
+
* WATCHER_FOOTPRINT_HARD_CEILING_MB = 5120, and the npx launcher sibling
|
|
416
|
+
* measured <= 84 MB, so the runner must recycle its OWN rss strictly below
|
|
417
|
+
* 5120 - 84 = 5036 MB; 4096 MB sits ~940 MB below that pre-empt line and
|
|
418
|
+
* ~473 MB above the highest healthy cold-ramp peak (3623 MB tree), so healthy
|
|
419
|
+
* large syncs never churn. Unlike the heap tiers this is an ABSOLUTE budget,
|
|
420
|
+
* never a fraction of the old-space cap — that cap is exactly what a non-heap
|
|
421
|
+
* burst outruns.
|
|
422
|
+
*/
|
|
423
|
+
footprintRecycleBytes?: number;
|
|
424
|
+
/**
|
|
425
|
+
* Resident footprint (rss) in BYTES at or above which the footprint tier
|
|
426
|
+
* HARD-EXITS on a single observation (synchronous fd-1/fd-2 write + exit)
|
|
427
|
+
* instead of waiting for a pass boundary a fast burst would outrun. Default
|
|
428
|
+
* 4864 MB — above the cooperative budget and still ~172 MB below the 5036 MB
|
|
429
|
+
* pre-empt line, so even the fastest observed burst (1142 MB/s) hard-exits
|
|
430
|
+
* before the desktop backstop fires.
|
|
431
|
+
*/
|
|
432
|
+
footprintHardExitBytes?: number;
|
|
374
433
|
}
|
|
375
434
|
/**
|
|
376
435
|
* Owns the sampling state machine. It keeps the baseline and latest sample, the
|
|
@@ -408,6 +467,9 @@ export declare class RunnerHeapTelemetry {
|
|
|
408
467
|
private readonly hardExitFraction;
|
|
409
468
|
private readonly latchHardExitMs;
|
|
410
469
|
private readonly latchHardExitObservations;
|
|
470
|
+
private readonly footprintRecycleEnabled;
|
|
471
|
+
private readonly footprintRecycleBytes;
|
|
472
|
+
private readonly footprintHardExitBytes;
|
|
411
473
|
private baseline;
|
|
412
474
|
private latest;
|
|
413
475
|
private pressureSignalled;
|
|
@@ -428,6 +490,8 @@ export declare class RunnerHeapTelemetry {
|
|
|
428
490
|
/** Observations seen since the cooperative latch armed (drives latch_timeout). */
|
|
429
491
|
private postLatchObservations;
|
|
430
492
|
constructor(options: RunnerHeapTelemetryOptions);
|
|
493
|
+
/** Whether the resident-footprint tier is active (both switches on). */
|
|
494
|
+
private footprintActive;
|
|
431
495
|
/**
|
|
432
496
|
* The one denominator every fraction is computed against: the declared
|
|
433
497
|
* `--max-old-space-size` when known (it is the real V8 ceiling the aborts
|
|
@@ -474,6 +538,12 @@ export declare class RunnerHeapTelemetry {
|
|
|
474
538
|
* change from the shipped live-tier logic.
|
|
475
539
|
*/
|
|
476
540
|
observeMajorGc(): GovernorVerdict;
|
|
541
|
+
/**
|
|
542
|
+
* The shipped post-GC live/emergency/hard tiers, byte-for-byte. Extracted from
|
|
543
|
+
* {@link observeMajorGc} so the footprint tier can run after it without altering
|
|
544
|
+
* a single heap-tier trigger, reason, or fraction. Only called post-guard.
|
|
545
|
+
*/
|
|
546
|
+
private observeMajorGcHeapTiers;
|
|
477
547
|
/**
|
|
478
548
|
* The loop-top / work-driven BACKSTOP against timer starvation (the observed
|
|
479
549
|
* 11-minute sampler hole). Reads the instantaneous heap and runs the
|
|
@@ -484,14 +554,46 @@ export declare class RunnerHeapTelemetry {
|
|
|
484
554
|
*/
|
|
485
555
|
evaluate(): GovernorVerdict;
|
|
486
556
|
/**
|
|
487
|
-
* The shared instantaneous
|
|
488
|
-
* work-driven checkpoint all reach it).
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
557
|
+
* The shared instantaneous pipeline (interval tick, loop-top, and the
|
|
558
|
+
* work-driven checkpoint all reach it). The heap tiers run FIRST and unchanged,
|
|
559
|
+
* then — only if they were silent — the resident-footprint tier may add a
|
|
560
|
+
* verdict. Keeping that order is what guarantees the footprint tier never
|
|
561
|
+
* suppresses, delays, or re-denominates a heap verdict. The full sample is built
|
|
492
562
|
* only at a verdict, via `buildVerdictSample`.
|
|
493
563
|
*/
|
|
494
564
|
private observeInstant;
|
|
565
|
+
/**
|
|
566
|
+
* The shipped instantaneous heap tiers, byte-for-byte. Order: T4 hard
|
|
567
|
+
* (hard-fraction, then an aged-out latch) → T3 emergency (single observation,
|
|
568
|
+
* bypasses window+floor) → T2 pinned (instantaneous fraction sustained across
|
|
569
|
+
* the pinned window past the uptime floor, with any dip resetting the anchor).
|
|
570
|
+
* Extracted from {@link observeInstant} so the footprint tier can run after it
|
|
571
|
+
* without changing a single heap trigger. Only called post-guard.
|
|
572
|
+
*/
|
|
573
|
+
private observeInstantHeapTiers;
|
|
574
|
+
/**
|
|
575
|
+
* The RESIDENT-FOOTPRINT tier. Governed by the process's own rss (an absolute
|
|
576
|
+
* BYTE budget), not a fraction of the V8 old-space cap — that cap is exactly
|
|
577
|
+
* what a non-heap (external/ArrayBuffer) burst outruns while the heap stays
|
|
578
|
+
* quiet, so no heap-denominated tier can see it. It fires on a SINGLE qualifying
|
|
579
|
+
* observation (production bursts run 83-1142 MB/s, faster than any sustain
|
|
580
|
+
* window), and it only ADDS a verdict: the caller runs it after the heap tiers,
|
|
581
|
+
* and the shared one-shot latches keep at most one recycle and one hard exit per
|
|
582
|
+
* session. Two thresholds, hard first:
|
|
583
|
+
* - rss >= footprintHardExitBytes → hard exit (trigger `"footprint"`, reason
|
|
584
|
+
* `"hard_fraction"`): abort/pre-empt-adjacent, take the synchronous write +
|
|
585
|
+
* exit path even if a cooperative latch is already pending.
|
|
586
|
+
* - rss >= footprintRecycleBytes → cooperative latch (trigger `"footprint"`),
|
|
587
|
+
* which the watch loop honours at the next pass boundary.
|
|
588
|
+
* Any non-finite/non-positive rss, or either switch off, degrades to silence.
|
|
589
|
+
*/
|
|
590
|
+
private checkFootprint;
|
|
591
|
+
/**
|
|
592
|
+
* Return `sample` with its `rssBytes` replaced by the value that actually
|
|
593
|
+
* crossed the footprint budget, so the emitted record can never claim an rss
|
|
594
|
+
* that disagrees with the verdict it triggered.
|
|
595
|
+
*/
|
|
596
|
+
private withCheckedRss;
|
|
495
597
|
/**
|
|
496
598
|
* T4 hard-exit evaluation, run at EVERY observation point. Fires at most once
|
|
497
599
|
* per session (independent of the cooperative latch), on either arm:
|
|
@@ -506,7 +608,14 @@ export declare class RunnerHeapTelemetry {
|
|
|
506
608
|
private buildSample;
|
|
507
609
|
/** Arm the one cooperative latch (from any tier) and build its verdict. */
|
|
508
610
|
private armCooperativeLatch;
|
|
509
|
-
/**
|
|
611
|
+
/**
|
|
612
|
+
* Arm the one hard exit and build its verdict (`hard_fraction`/`latch_timeout`).
|
|
613
|
+
* `triggerOverride` lets the footprint tier stamp its own trigger on a hard exit
|
|
614
|
+
* that fires with no prior cooperative latch; without it the trigger falls back
|
|
615
|
+
* to the latched tier (a footprint latch that ages out already carries
|
|
616
|
+
* `"footprint"` via {@link latchedTrigger}), else the instantaneous
|
|
617
|
+
* `"emergency"` family — exact shipped behaviour for the heap tiers.
|
|
618
|
+
*/
|
|
510
619
|
private armHardExit;
|
|
511
620
|
private buildRecord;
|
|
512
621
|
private detectPressure;
|
|
@@ -671,6 +780,11 @@ export declare const DEFAULT_HEAP_PINNED_SUSTAIN_MS = 20000;
|
|
|
671
780
|
export declare const DEFAULT_HEAP_HARD_EXIT_FRACTION = 0.955;
|
|
672
781
|
export declare const DEFAULT_HEAP_RECYCLE_LATCH_HARD_EXIT_MS = 60000;
|
|
673
782
|
export declare const DEFAULT_HEAP_RECYCLE_LATCH_HARD_EXIT_OBSERVATIONS = 240;
|
|
783
|
+
export declare const HEAP_FOOTPRINT_RECYCLE_ENABLED_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_RECYCLE_ENABLED";
|
|
784
|
+
export declare const HEAP_FOOTPRINT_RECYCLE_MB_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_RECYCLE_MB";
|
|
785
|
+
export declare const HEAP_FOOTPRINT_HARD_EXIT_MB_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_HARD_EXIT_MB";
|
|
786
|
+
export declare const DEFAULT_HEAP_FOOTPRINT_RECYCLE_BYTES: number;
|
|
787
|
+
export declare const DEFAULT_HEAP_FOOTPRINT_HARD_EXIT_BYTES: number;
|
|
674
788
|
/**
|
|
675
789
|
* Parse the sampling-interval env knob (whole milliseconds). Rejects the ENTIRE
|
|
676
790
|
* string: a value like "60s" must fall back to the default, not silently parse
|
|
@@ -745,6 +859,28 @@ export declare function resolveHeapHardExitFraction(raw: string | undefined): nu
|
|
|
745
859
|
* or negative value falls back to the 60-second default.
|
|
746
860
|
*/
|
|
747
861
|
export declare function resolveHeapRecycleLatchHardExitMs(raw: string | undefined): number;
|
|
862
|
+
/**
|
|
863
|
+
* The footprint-tier kill switch, mirroring {@link resolveHeapRecycleEnabled}:
|
|
864
|
+
* ON by default, disabled ONLY by an explicit whole-string off value ("0",
|
|
865
|
+
* "false", "no", "off", case-insensitive). Any other value — including garbage —
|
|
866
|
+
* keeps the tier armed, so a typo can never silently disable footprint protection.
|
|
867
|
+
* It is independent of the global recycle kill switch: either one alone silences
|
|
868
|
+
* the footprint tier.
|
|
869
|
+
*/
|
|
870
|
+
export declare function resolveHeapFootprintRecycleEnabled(raw: string | undefined): boolean;
|
|
871
|
+
/**
|
|
872
|
+
* Parse the footprint cooperative-recycle budget (whole MB → bytes). Rejects the
|
|
873
|
+
* ENTIRE string (e.g. "4096x" or "4gb" falls back), never a numeric prefix, and
|
|
874
|
+
* a zero/negative/garbage value degrades to the 4096 MB default — an unparsable
|
|
875
|
+
* footprint value can never silently lower the budget or disable the tier.
|
|
876
|
+
*/
|
|
877
|
+
export declare function resolveHeapFootprintRecycleBytes(raw: string | undefined): number;
|
|
878
|
+
/**
|
|
879
|
+
* Parse the footprint hard-exit budget (whole MB → bytes), same whole-string,
|
|
880
|
+
* fail-soft contract as {@link resolveHeapFootprintRecycleBytes}; falls back to
|
|
881
|
+
* the 4864 MB default on anything unparsable.
|
|
882
|
+
*/
|
|
883
|
+
export declare function resolveHeapFootprintHardExitBytes(raw: string | undefined): number;
|
|
748
884
|
/**
|
|
749
885
|
* Resolve the declared V8 old-space ceiling (bytes) the runner is actually
|
|
750
886
|
* running under, mirroring how hq-desktop-app hands it to the npx-spawned
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-runner-heap-telemetry.d.ts","sourceRoot":"","sources":["../../src/bin/sync-runner-heap-telemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAIH,gEAAgE;AAChE,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;IAC/C,WAAW,EAAE,MAAM,kBAAkB,CAAC;IACtC,gEAAgE;IAChE,cAAc,EAAE,MAAM,MAAM,CAAC;CAC9B;AAED,gFAAgF;AAChF,MAAM,MAAM,YAAY,GAAG,MAAM,MAAM,CAAC;AAUxC,MAAM,WAAW,UAAU;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GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ1E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAM3E;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMjF;AAED;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAInF;AAED;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGhF;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGjF;AA8CD;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,MAAM,GAAG,IAAI,CAUf;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,EAAE;IAClC,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;CAChD,GAAG,WAAW,CAMd"}
|
|
@@ -189,6 +189,9 @@ export function heapRecycleCloudProperties(record, counters) {
|
|
|
189
189
|
recycle_hard_exit_floor_permille_count: toPermille(record.hardExitFraction),
|
|
190
190
|
recycle_emergency_trigger_count: record.trigger === "emergency" ? 1 : 0,
|
|
191
191
|
recycle_pinned_trigger_count: record.trigger === "pinned" ? 1 : 0,
|
|
192
|
+
recycle_footprint_trigger_count: record.trigger === "footprint" ? 1 : 0,
|
|
193
|
+
recycle_footprint_recycle_floor_bytes: record.footprintRecycleBytes,
|
|
194
|
+
recycle_footprint_hard_exit_floor_bytes: record.footprintHardExitBytes,
|
|
192
195
|
recycle_latch_timeout_count: record.reason === "latch_timeout" ? 1 : 0,
|
|
193
196
|
recycle_hard_fraction_count: record.reason === "hard_fraction" ? 1 : 0,
|
|
194
197
|
recycle_post_latch_observations_count: record.postLatchObservations,
|
|
@@ -247,6 +250,12 @@ const DEFAULT_RECYCLE_PINNED_SUSTAIN_WINDOW_MS = 20_000;
|
|
|
247
250
|
const DEFAULT_HARD_EXIT_FRACTION = 0.955;
|
|
248
251
|
const DEFAULT_LATCH_HARD_EXIT_MS = 60_000;
|
|
249
252
|
const DEFAULT_LATCH_HARD_EXIT_OBSERVATIONS = 240;
|
|
253
|
+
/** One MB in bytes — the unit the resident-footprint budgets are expressed in. */
|
|
254
|
+
const FOOTPRINT_MB_IN_BYTES = 1024 * 1024;
|
|
255
|
+
/** Cooperative footprint recycle budget: 4096 MB of the runner's OWN rss. */
|
|
256
|
+
const DEFAULT_FOOTPRINT_RECYCLE_BYTES = 4096 * FOOTPRINT_MB_IN_BYTES;
|
|
257
|
+
/** Footprint hard-exit budget: 4864 MB, still below the 5036 MB pre-empt line. */
|
|
258
|
+
const DEFAULT_FOOTPRINT_HARD_EXIT_BYTES = 4864 * FOOTPRINT_MB_IN_BYTES;
|
|
250
259
|
const NO_VERDICT = Object.freeze({ recycle: null, hardExit: null });
|
|
251
260
|
export class RunnerHeapTelemetry {
|
|
252
261
|
readers;
|
|
@@ -265,6 +274,9 @@ export class RunnerHeapTelemetry {
|
|
|
265
274
|
hardExitFraction;
|
|
266
275
|
latchHardExitMs;
|
|
267
276
|
latchHardExitObservations;
|
|
277
|
+
footprintRecycleEnabled;
|
|
278
|
+
footprintRecycleBytes;
|
|
279
|
+
footprintHardExitBytes;
|
|
268
280
|
baseline = null;
|
|
269
281
|
latest = null;
|
|
270
282
|
pressureSignalled = false;
|
|
@@ -326,6 +338,21 @@ export class RunnerHeapTelemetry {
|
|
|
326
338
|
Number.isFinite(latchObs) && latchObs >= 1
|
|
327
339
|
? Math.trunc(latchObs)
|
|
328
340
|
: DEFAULT_LATCH_HARD_EXIT_OBSERVATIONS;
|
|
341
|
+
this.footprintRecycleEnabled = options.footprintRecycleEnabled ?? true;
|
|
342
|
+
const footprintRecycle = options.footprintRecycleBytes;
|
|
343
|
+
this.footprintRecycleBytes =
|
|
344
|
+
typeof footprintRecycle === "number" && Number.isFinite(footprintRecycle) && footprintRecycle > 0
|
|
345
|
+
? Math.trunc(footprintRecycle)
|
|
346
|
+
: DEFAULT_FOOTPRINT_RECYCLE_BYTES;
|
|
347
|
+
const footprintHard = options.footprintHardExitBytes;
|
|
348
|
+
this.footprintHardExitBytes =
|
|
349
|
+
typeof footprintHard === "number" && Number.isFinite(footprintHard) && footprintHard > 0
|
|
350
|
+
? Math.trunc(footprintHard)
|
|
351
|
+
: DEFAULT_FOOTPRINT_HARD_EXIT_BYTES;
|
|
352
|
+
}
|
|
353
|
+
/** Whether the resident-footprint tier is active (both switches on). */
|
|
354
|
+
footprintActive() {
|
|
355
|
+
return this.recycleEnabled && this.footprintRecycleEnabled;
|
|
329
356
|
}
|
|
330
357
|
/**
|
|
331
358
|
* The one denominator every fraction is computed against: the declared
|
|
@@ -360,7 +387,8 @@ export class RunnerHeapTelemetry {
|
|
|
360
387
|
sample() {
|
|
361
388
|
const sample = this.buildSample();
|
|
362
389
|
const pressure = this.detectPressure(sample);
|
|
363
|
-
const { recycle, hardExit } = this.observeInstant(sample.usedHeapBytes, sample.heapLimitBytes, sample.
|
|
390
|
+
const { recycle, hardExit } = this.observeInstant(sample.usedHeapBytes, sample.heapLimitBytes, () => sample.rssBytes, // already read for this sample; no extra memoryUsage()
|
|
391
|
+
sample.uptimeMs, () => sample);
|
|
364
392
|
return { sample, pressure, recycle, hardExit };
|
|
365
393
|
}
|
|
366
394
|
/**
|
|
@@ -383,6 +411,24 @@ export class RunnerHeapTelemetry {
|
|
|
383
411
|
observeMajorGc() {
|
|
384
412
|
if (!this.recycleEnabled)
|
|
385
413
|
return NO_VERDICT;
|
|
414
|
+
// The heap tiers run FIRST and keep their exact shipped behaviour; the
|
|
415
|
+
// footprint tier may only ADD a verdict where they were silent.
|
|
416
|
+
const heap = this.observeMajorGcHeapTiers();
|
|
417
|
+
if (heap.recycle || heap.hardExit)
|
|
418
|
+
return heap;
|
|
419
|
+
// The post-GC path owns a resident-footprint check too: a non-heap burst
|
|
420
|
+
// leaves the live floor quiet, so without this the governor would stay silent
|
|
421
|
+
// on the very path that fires most reliably under memory pressure. rss is read
|
|
422
|
+
// lazily inside checkFootprint (only when the tier is active), so a disabled
|
|
423
|
+
// tier or a throwing reader never disturbs the post-GC heap tiers above.
|
|
424
|
+
return this.checkFootprint(() => finiteNumber(this.readers.memoryUsage().rss), () => this.buildSample());
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* The shipped post-GC live/emergency/hard tiers, byte-for-byte. Extracted from
|
|
428
|
+
* {@link observeMajorGc} so the footprint tier can run after it without altering
|
|
429
|
+
* a single heap-tier trigger, reason, or fraction. Only called post-guard.
|
|
430
|
+
*/
|
|
431
|
+
observeMajorGcHeapTiers() {
|
|
386
432
|
const stats = this.readers.getHeapStatistics();
|
|
387
433
|
const heapLimitBytes = finiteNumber(stats.heap_size_limit);
|
|
388
434
|
const effective = this.effectiveLimit(heapLimitBytes);
|
|
@@ -436,19 +482,38 @@ export class RunnerHeapTelemetry {
|
|
|
436
482
|
const heapLimitBytes = finiteNumber(stats.heap_size_limit);
|
|
437
483
|
const usedHeapBytes = finiteNumber(stats.used_heap_size);
|
|
438
484
|
const uptimeMs = this.uptimeNow();
|
|
439
|
-
|
|
485
|
+
// rss is read lazily (only if the footprint tier is active and the heap tiers
|
|
486
|
+
// are silent), so a disabled tier reads exactly what base read, and a throwing
|
|
487
|
+
// rss reader can never pre-empt the heap tiers on this loop-top path.
|
|
488
|
+
return this.observeInstant(usedHeapBytes, heapLimitBytes, () => finiteNumber(this.readers.memoryUsage().rss), uptimeMs, () => this.buildSample());
|
|
440
489
|
}
|
|
441
490
|
/**
|
|
442
|
-
* The shared instantaneous
|
|
443
|
-
* work-driven checkpoint all reach it).
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
491
|
+
* The shared instantaneous pipeline (interval tick, loop-top, and the
|
|
492
|
+
* work-driven checkpoint all reach it). The heap tiers run FIRST and unchanged,
|
|
493
|
+
* then — only if they were silent — the resident-footprint tier may add a
|
|
494
|
+
* verdict. Keeping that order is what guarantees the footprint tier never
|
|
495
|
+
* suppresses, delays, or re-denominates a heap verdict. The full sample is built
|
|
447
496
|
* only at a verdict, via `buildVerdictSample`.
|
|
448
497
|
*/
|
|
449
|
-
observeInstant(usedHeapBytes, heapLimitBytes, uptimeMs, buildVerdictSample) {
|
|
498
|
+
observeInstant(usedHeapBytes, heapLimitBytes, readRss, uptimeMs, buildVerdictSample) {
|
|
450
499
|
if (!this.recycleEnabled)
|
|
451
500
|
return NO_VERDICT;
|
|
501
|
+
const heap = this.observeInstantHeapTiers(usedHeapBytes, heapLimitBytes, uptimeMs, buildVerdictSample);
|
|
502
|
+
if (heap.recycle || heap.hardExit)
|
|
503
|
+
return heap;
|
|
504
|
+
// `readRss` is a thunk, invoked only inside checkFootprint AFTER the heap
|
|
505
|
+
// tiers have run and only when the footprint tier is active.
|
|
506
|
+
return this.checkFootprint(readRss, buildVerdictSample);
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* The shipped instantaneous heap tiers, byte-for-byte. Order: T4 hard
|
|
510
|
+
* (hard-fraction, then an aged-out latch) → T3 emergency (single observation,
|
|
511
|
+
* bypasses window+floor) → T2 pinned (instantaneous fraction sustained across
|
|
512
|
+
* the pinned window past the uptime floor, with any dip resetting the anchor).
|
|
513
|
+
* Extracted from {@link observeInstant} so the footprint tier can run after it
|
|
514
|
+
* without changing a single heap trigger. Only called post-guard.
|
|
515
|
+
*/
|
|
516
|
+
observeInstantHeapTiers(usedHeapBytes, heapLimitBytes, uptimeMs, buildVerdictSample) {
|
|
452
517
|
const effective = this.effectiveLimit(heapLimitBytes);
|
|
453
518
|
if (effective <= 0)
|
|
454
519
|
return NO_VERDICT;
|
|
@@ -486,6 +551,59 @@ export class RunnerHeapTelemetry {
|
|
|
486
551
|
hardExit: null,
|
|
487
552
|
};
|
|
488
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* The RESIDENT-FOOTPRINT tier. Governed by the process's own rss (an absolute
|
|
556
|
+
* BYTE budget), not a fraction of the V8 old-space cap — that cap is exactly
|
|
557
|
+
* what a non-heap (external/ArrayBuffer) burst outruns while the heap stays
|
|
558
|
+
* quiet, so no heap-denominated tier can see it. It fires on a SINGLE qualifying
|
|
559
|
+
* observation (production bursts run 83-1142 MB/s, faster than any sustain
|
|
560
|
+
* window), and it only ADDS a verdict: the caller runs it after the heap tiers,
|
|
561
|
+
* and the shared one-shot latches keep at most one recycle and one hard exit per
|
|
562
|
+
* session. Two thresholds, hard first:
|
|
563
|
+
* - rss >= footprintHardExitBytes → hard exit (trigger `"footprint"`, reason
|
|
564
|
+
* `"hard_fraction"`): abort/pre-empt-adjacent, take the synchronous write +
|
|
565
|
+
* exit path even if a cooperative latch is already pending.
|
|
566
|
+
* - rss >= footprintRecycleBytes → cooperative latch (trigger `"footprint"`),
|
|
567
|
+
* which the watch loop honours at the next pass boundary.
|
|
568
|
+
* Any non-finite/non-positive rss, or either switch off, degrades to silence.
|
|
569
|
+
*/
|
|
570
|
+
checkFootprint(readRss, buildVerdictSample) {
|
|
571
|
+
// Guard BEFORE touching rss: when the tier is off (its own switch or the
|
|
572
|
+
// global one) the rss read never happens, so the kill switch restores the
|
|
573
|
+
// exact prior observation path and a throwing rss reader can never starve the
|
|
574
|
+
// heap tiers — they have already run and returned before we get here.
|
|
575
|
+
if (!this.footprintActive())
|
|
576
|
+
return NO_VERDICT;
|
|
577
|
+
const rssBytes = readRss();
|
|
578
|
+
if (!Number.isFinite(rssBytes) || rssBytes <= 0)
|
|
579
|
+
return NO_VERDICT;
|
|
580
|
+
// Stamp the CHECKED rss onto the verdict record. The decision reads rss once
|
|
581
|
+
// (O(1)); the verdict sample is built a hair later and re-reads memoryUsage(),
|
|
582
|
+
// so on a fast climb the record could otherwise disagree with — even fall
|
|
583
|
+
// below — the value that actually crossed the budget. Stamping keeps the
|
|
584
|
+
// durable diagnostic self-consistent (buildRecord derives the growth delta
|
|
585
|
+
// from the stamped value).
|
|
586
|
+
const build = () => this.withCheckedRss(buildVerdictSample(), rssBytes);
|
|
587
|
+
// Hard exit takes precedence and fires at most once per session, even when a
|
|
588
|
+
// cooperative latch is already pending — the process is leaving now.
|
|
589
|
+
if (!this.hardExitSignalled && rssBytes >= this.footprintHardExitBytes) {
|
|
590
|
+
return { recycle: null, hardExit: this.armHardExit(build(), "hard_fraction", "footprint") };
|
|
591
|
+
}
|
|
592
|
+
if (this.recycleSignalled)
|
|
593
|
+
return NO_VERDICT;
|
|
594
|
+
if (rssBytes >= this.footprintRecycleBytes) {
|
|
595
|
+
return { recycle: this.armCooperativeLatch("footprint", 0, build), hardExit: null };
|
|
596
|
+
}
|
|
597
|
+
return NO_VERDICT;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Return `sample` with its `rssBytes` replaced by the value that actually
|
|
601
|
+
* crossed the footprint budget, so the emitted record can never claim an rss
|
|
602
|
+
* that disagrees with the verdict it triggered.
|
|
603
|
+
*/
|
|
604
|
+
withCheckedRss(sample, rssBytes) {
|
|
605
|
+
return sample.rssBytes === rssBytes ? sample : { ...sample, rssBytes };
|
|
606
|
+
}
|
|
489
607
|
/**
|
|
490
608
|
* T4 hard-exit evaluation, run at EVERY observation point. Fires at most once
|
|
491
609
|
* per session (independent of the cooperative latch), on either arm:
|
|
@@ -536,10 +654,17 @@ export class RunnerHeapTelemetry {
|
|
|
536
654
|
}
|
|
537
655
|
return this.buildRecord(sample, trigger, "cooperative", observedSustainMs);
|
|
538
656
|
}
|
|
539
|
-
/**
|
|
540
|
-
|
|
657
|
+
/**
|
|
658
|
+
* Arm the one hard exit and build its verdict (`hard_fraction`/`latch_timeout`).
|
|
659
|
+
* `triggerOverride` lets the footprint tier stamp its own trigger on a hard exit
|
|
660
|
+
* that fires with no prior cooperative latch; without it the trigger falls back
|
|
661
|
+
* to the latched tier (a footprint latch that ages out already carries
|
|
662
|
+
* `"footprint"` via {@link latchedTrigger}), else the instantaneous
|
|
663
|
+
* `"emergency"` family — exact shipped behaviour for the heap tiers.
|
|
664
|
+
*/
|
|
665
|
+
armHardExit(sample, reason, triggerOverride) {
|
|
541
666
|
this.hardExitSignalled = true;
|
|
542
|
-
const trigger = this.latchedTrigger ?? "emergency";
|
|
667
|
+
const trigger = triggerOverride ?? this.latchedTrigger ?? "emergency";
|
|
543
668
|
return this.buildRecord(sample, trigger, reason, 0);
|
|
544
669
|
}
|
|
545
670
|
buildRecord(sample, trigger, reason, observedSustainMs) {
|
|
@@ -560,6 +685,8 @@ export class RunnerHeapTelemetry {
|
|
|
560
685
|
pinnedFraction: this.pinnedFraction,
|
|
561
686
|
emergencyFraction: this.recycleEmergencyFraction,
|
|
562
687
|
hardExitFraction: this.hardExitFraction,
|
|
688
|
+
footprintRecycleBytes: this.footprintActive() ? this.footprintRecycleBytes : 0,
|
|
689
|
+
footprintHardExitBytes: this.footprintActive() ? this.footprintHardExitBytes : 0,
|
|
563
690
|
sustainWindowMs: this.recycleSustainWindowMs,
|
|
564
691
|
observedSustainMs,
|
|
565
692
|
minUptimeMs: this.recycleMinUptimeMs,
|
|
@@ -938,6 +1065,11 @@ export const DEFAULT_HEAP_PINNED_SUSTAIN_MS = DEFAULT_RECYCLE_PINNED_SUSTAIN_WIN
|
|
|
938
1065
|
export const DEFAULT_HEAP_HARD_EXIT_FRACTION = DEFAULT_HARD_EXIT_FRACTION;
|
|
939
1066
|
export const DEFAULT_HEAP_RECYCLE_LATCH_HARD_EXIT_MS = DEFAULT_LATCH_HARD_EXIT_MS;
|
|
940
1067
|
export const DEFAULT_HEAP_RECYCLE_LATCH_HARD_EXIT_OBSERVATIONS = DEFAULT_LATCH_HARD_EXIT_OBSERVATIONS;
|
|
1068
|
+
export const HEAP_FOOTPRINT_RECYCLE_ENABLED_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_RECYCLE_ENABLED";
|
|
1069
|
+
export const HEAP_FOOTPRINT_RECYCLE_MB_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_RECYCLE_MB";
|
|
1070
|
+
export const HEAP_FOOTPRINT_HARD_EXIT_MB_ENV = "HQ_SYNC_RUNNER_FOOTPRINT_HARD_EXIT_MB";
|
|
1071
|
+
export const DEFAULT_HEAP_FOOTPRINT_RECYCLE_BYTES = DEFAULT_FOOTPRINT_RECYCLE_BYTES;
|
|
1072
|
+
export const DEFAULT_HEAP_FOOTPRINT_HARD_EXIT_BYTES = DEFAULT_FOOTPRINT_HARD_EXIT_BYTES;
|
|
941
1073
|
/**
|
|
942
1074
|
* Parse the sampling-interval env knob (whole milliseconds). Rejects the ENTIRE
|
|
943
1075
|
* string: a value like "60s" must fall back to the default, not silently parse
|
|
@@ -1111,6 +1243,41 @@ export function resolveHeapRecycleLatchHardExitMs(raw) {
|
|
|
1111
1243
|
const value = Number.parseInt(trimmed, 10);
|
|
1112
1244
|
return Number.isFinite(value) && value >= 0 ? value : DEFAULT_LATCH_HARD_EXIT_MS;
|
|
1113
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* The footprint-tier kill switch, mirroring {@link resolveHeapRecycleEnabled}:
|
|
1248
|
+
* ON by default, disabled ONLY by an explicit whole-string off value ("0",
|
|
1249
|
+
* "false", "no", "off", case-insensitive). Any other value — including garbage —
|
|
1250
|
+
* keeps the tier armed, so a typo can never silently disable footprint protection.
|
|
1251
|
+
* It is independent of the global recycle kill switch: either one alone silences
|
|
1252
|
+
* the footprint tier.
|
|
1253
|
+
*/
|
|
1254
|
+
export function resolveHeapFootprintRecycleEnabled(raw) {
|
|
1255
|
+
if (raw === undefined)
|
|
1256
|
+
return true;
|
|
1257
|
+
const trimmed = raw.trim().toLowerCase();
|
|
1258
|
+
return !(trimmed === "0" || trimmed === "false" || trimmed === "no" || trimmed === "off");
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* Parse the footprint cooperative-recycle budget (whole MB → bytes). Rejects the
|
|
1262
|
+
* ENTIRE string (e.g. "4096x" or "4gb" falls back), never a numeric prefix, and
|
|
1263
|
+
* a zero/negative/garbage value degrades to the 4096 MB default — an unparsable
|
|
1264
|
+
* footprint value can never silently lower the budget or disable the tier.
|
|
1265
|
+
*/
|
|
1266
|
+
export function resolveHeapFootprintRecycleBytes(raw) {
|
|
1267
|
+
if (raw === undefined)
|
|
1268
|
+
return DEFAULT_FOOTPRINT_RECYCLE_BYTES;
|
|
1269
|
+
return wholeMbToBytes(raw) ?? DEFAULT_FOOTPRINT_RECYCLE_BYTES;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Parse the footprint hard-exit budget (whole MB → bytes), same whole-string,
|
|
1273
|
+
* fail-soft contract as {@link resolveHeapFootprintRecycleBytes}; falls back to
|
|
1274
|
+
* the 4864 MB default on anything unparsable.
|
|
1275
|
+
*/
|
|
1276
|
+
export function resolveHeapFootprintHardExitBytes(raw) {
|
|
1277
|
+
if (raw === undefined)
|
|
1278
|
+
return DEFAULT_FOOTPRINT_HARD_EXIT_BYTES;
|
|
1279
|
+
return wholeMbToBytes(raw) ?? DEFAULT_FOOTPRINT_HARD_EXIT_BYTES;
|
|
1280
|
+
}
|
|
1114
1281
|
const MAX_OLD_SPACE_FLAG = /^--max[-_]old[-_]space[-_]size$/;
|
|
1115
1282
|
/** A whole positive integer of MB → bytes, else null (whole-string only). */
|
|
1116
1283
|
function wholeMbToBytes(raw) {
|