| feat(telemetry): durable-sync LoginSuccess on login paths with fallback
- Add TelemetryError::QueueBusy for try_lock contention.
- Add Telemetry::track_durable_sync() for sync call paths (TUI login).
- Add Telemetry::track_durable() async variant for daemon handlers.
- Change three login-success sites (oauth, api_auth, api_codingplan) to
use durable enqueue + force_roll, falling back to non-blocking track()
if the queue is busy or unavailable.
- Extract records_for_event() helper and add a unit test verifying the
sync durable path writes login_success with correct payload.
| 14 小时前 |