Files
gemini-cli/packages/cli/src/ui/hooks
Jerop Kipruto 463797730e Ensure telemetry events are flushed immediately (#1344)
The previous implementation used `flushIfNeeded` to batch most telemetry events, but it was not reliably sending them, leading to data loss. Notably, the `startSession` event, which already used `flushToClearcut`, was working correctly, indicating an issue with the batching logic itself.

This change replaces all calls to `flushIfNeeded` with `flushToClearcut` to align all event logging with the working `startSession` implementation and ensure that events are sent immediately. This prioritizes the reliability of data collection over network efficiency.

This is a temporary solution to prevent further data loss. The underlying issue with the batching mechanism in `flushIfNeeded` should be investigated and fixed in the future, at which point this change can be reverted.
2025-06-23 22:05:02 +00:00
..
2025-06-20 10:46:41 -07:00
2025-06-11 15:33:09 -04:00
2025-06-11 23:40:13 +00:00
2025-05-07 12:57:19 -07:00
2025-05-13 11:24:04 -07:00