kimi-code/packages/telemetry/src
7Sageer 2065ae4615
fix(telemetry): gate unsafe numeric telemetry values (#1478)
- Drop numeric telemetry properties whose absolute value exceeds Number.MAX_SAFE_INTEGER before enqueue, and reject them again during payload assembly as a backstop.

- Omit constrained_memory_bytes when process.constrainedMemory() is not a safe non-negative integer so Linux no-cgroup sentinels do not overflow int64 parsing downstream.

- Add telemetry tests for unsafe numeric properties and constrained_memory_bytes filtering.
2026-07-07 20:32:02 +08:00
..
bootstrap.ts feat(telemetry): add system metrics collection (#1435) 2026-07-06 21:54:12 +08:00
client.ts feat(telemetry): add system metrics collection (#1435) 2026-07-06 21:54:12 +08:00
crash.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
index.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
remote.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
sink.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
systemMetrics.ts fix(telemetry): gate unsafe numeric telemetry values (#1478) 2026-07-07 20:32:02 +08:00
transport.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
types.ts fix(telemetry): gate unsafe numeric telemetry values (#1478) 2026-07-07 20:32:02 +08:00