qwen-code/packages/cli/src
Jerop Kipruto b443b5e800
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
..
config refactor: rename disableDataCollection to dataCollectionEnabled (#1319) 2025-06-23 21:19:40 +00:00
ui Ensure telemetry events are flushed immediately (#1344) 2025-06-23 22:05:02 +00:00
utils Make checkpoints configurable in settings.json (#1251) 2025-06-20 00:39:15 -04:00
gemini.test.tsx Auto-update notifications (#1110) 2025-06-17 15:24:07 +00:00
gemini.tsx Clearcut logging - initial implementation (#1274) 2025-06-22 14:26:48 +00:00
nonInteractiveCli.test.ts Add error messaging for 429 errors (#1316) 2025-06-23 21:30:13 +00:00
nonInteractiveCli.ts Add error messaging for 429 errors (#1316) 2025-06-23 21:30:13 +00:00