openclaw/src/logging
Peter Steinberger dd707b02b4
fix: scale Gateway RSS diagnostics to runtime limits (#124914)
* fix(logging): scale RSS pressure to runtime limits

Derive Gateway RSS warning and critical thresholds from the smaller of the effective V8 heap and OS process limit. This preserves heap and rapid-growth pressure detection while avoiding routine false alerts on large heaps.

* test(logging): narrow optional heap fixture

* fix(logging): bound process memory sentinels

* test(logging): pin Bun physical memory fixture
2026-08-16 19:11:47 -07:00
..
test-helpers
config.test.ts
config.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
console-capture.test.ts fix(logging): stop double-writing root log records (#123936) 2026-08-14 19:54:39 -07:00
console-timestamp.test.ts
console.ts fix(logging): stop double-writing root log records (#123936) 2026-08-14 19:54:39 -07:00
diagnostic-argument-churn-activity.ts
diagnostic-embedded-run-index.ts
diagnostic-log-events.test.ts
diagnostic-memory.test.ts fix: scale Gateway RSS diagnostics to runtime limits (#124914) 2026-08-16 19:11:47 -07:00
diagnostic-memory.ts fix: scale Gateway RSS diagnostics to runtime limits (#124914) 2026-08-16 19:11:47 -07:00
diagnostic-payload.ts refactor: consolidate coercion ownership (#122692) 2026-08-12 09:25:28 -07:00
diagnostic-phase.test.ts fix(diagnostics): bound recent phase attribution (#119625) 2026-08-05 10:14:33 -06:00
diagnostic-phase.ts fix(diagnostics): bound recent phase attribution (#119625) 2026-08-05 10:14:33 -06:00
diagnostic-repeated-request-activity.ts fix: recover repeated model requests without progress 2026-08-07 18:42:57 -05:00
diagnostic-run-activity-recovery.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
diagnostic-run-activity-snapshot.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
diagnostic-run-activity.test-support.ts fix(agents): centralize abort and progress authority 2026-08-07 18:42:57 -05:00
diagnostic-run-activity.test.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
diagnostic-run-activity.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
diagnostic-runtime.ts
diagnostic-session-attention.test.ts
diagnostic-session-attention.ts fix: recover repeated model requests without progress 2026-08-07 18:42:57 -05:00
diagnostic-session-context.test.ts fix(diagnostics): read active assistant context from canonical SQLite sessions (#117945) 2026-08-02 04:02:34 -07:00
diagnostic-session-context.ts fix(diagnostics): read active assistant context from canonical SQLite sessions (#117945) 2026-08-02 04:02:34 -07:00
diagnostic-session-recovery-coordinator.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
diagnostic-session-recovery.ts
diagnostic-session-state.ts refactor: burn wrapper shadowing baseline entries (#122040) 2026-08-11 08:24:03 -07:00
diagnostic-stability-bundle.test.ts
diagnostic-stability-bundle.ts refactor: consolidate coercion ownership (#122692) 2026-08-12 09:25:28 -07:00
diagnostic-stability.test.ts fix(logging): parse diagnostics.stability limit/sinceSeq as strict decimal (#120446) 2026-08-12 20:31:06 +03:00
diagnostic-stability.ts fix(logging): parse diagnostics.stability limit/sinceSeq as strict decimal (#120446) 2026-08-12 20:31:06 +03:00
diagnostic-stuck-session-recovery.integration.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
diagnostic-stuck-session-recovery.runtime.test.ts fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog (#122265) 2026-08-12 17:42:48 -07:00
diagnostic-stuck-session-recovery.runtime.ts fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog (#122265) 2026-08-12 17:42:48 -07:00
diagnostic-support-bundle.test.ts fix(logging): publish diagnostics ZIP through staged atomic overwrite (#122130) 2026-08-11 14:12:39 -07:00
diagnostic-support-bundle.ts fix(logging): publish diagnostics ZIP through staged atomic overwrite (#122130) 2026-08-11 14:12:39 -07:00
diagnostic-support-export.test.ts fix(diagnostics): read active assistant context from canonical SQLite sessions (#117945) 2026-08-02 04:02:34 -07:00
diagnostic-support-export.ts refactor: consolidate coercion contracts (#122458) 2026-08-11 23:26:37 -07:00
diagnostic-support-log-redaction.ts refactor: consolidate coercion ownership (#122299) 2026-08-11 17:14:53 -07:00
diagnostic-support-redaction.ts refactor: consolidate coercion ownership (#122299) 2026-08-11 17:14:53 -07:00
diagnostic.test-support.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
diagnostic.test.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
diagnostic.ts fix: honor provider timeouts during stuck-session recovery (#123877) 2026-08-16 18:18:29 -07:00
env-log-level.ts
json-console-line.ts
level-filter.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
levels.test.ts test(core): trim duplicate strict-subset assertions (#124090) 2026-08-15 00:52:34 -07:00
levels.ts
log-file-path.test.ts
log-file-path.ts
log-file-shared.ts
log-file-size-cap.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
log-tail-redaction.test.ts refactor: finish shared test helper migrations (#120996) 2026-08-09 06:00:06 -07:00
log-tail.test.ts fix(logs): report line-limit truncation (#123358) 2026-08-13 16:57:26 -07:00
log-tail.ts fix(logs): report line-limit truncation (#123358) 2026-08-13 16:57:26 -07:00
log-test-helpers.ts
logger-env.test.ts
logger-file-transport.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger-file-transport.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger-hostname-state.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger-redaction-behavior.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger-settings-internal.ts
logger-settings.test.ts
logger-timestamp.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger-transport.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger.browser-import.test.ts
logger.test-support.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
logger.ts feat(lint): enforce import ordering and deduplication (#124730) 2026-08-16 11:44:52 -07:00
message-lifecycle.test.ts
message-lifecycle.ts
node-require.ts
parse-log-line.test.ts fix(ui): preserve advanced cron delivery settings when cloning (#117909) 2026-08-02 02:13:38 -07:00
parse-log-line.ts fix(ui): preserve advanced cron delivery settings when cloning (#117909) 2026-08-02 02:13:38 -07:00
redact-bounded.ts
redact-identifier.ts refactor: eliminate final export name collisions (#122083) 2026-08-11 11:18:24 -07:00
redact-internal-state.ts
redact-internal.ts
redact-patterns.ts fix(ui): eliminate core contract drift (#117817) 2026-08-01 22:10:22 -07:00
redact-token-ordering.test.ts
redact.test-support.ts
redact.test.ts Optimize OpenAI turn latency and simplify reuse (#121687) 2026-08-10 16:23:06 -07:00
redact.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
secret-redaction-registry.test-support.ts
secret-redaction-registry.ts refactor: canonicalize cache mechanics (#118262) 2026-08-02 19:33:13 -07:00
state.test.ts
state.ts refactor(logging): remove dead console config fallback (#121776) 2026-08-10 17:52:32 -07:00
subsystem.test.ts refactor: retire due compat-ledger surfaces (context-engine host params, deactivate alias, logging internals) (#121845) 2026-08-12 12:41:27 -07:00
subsystem.ts refactor(types): remove chained assertions in runtime boundaries (#124082) 2026-08-15 01:03:26 -07:00
timestamps.test.ts
timestamps.ts
types.ts