What
- A new
uploadHoldMarkersetting (gatetengu_ccr_upload_hold_marker, off by default) controls whether the upload-hold telemetry below is included at all. - When enabled, worker event uploads sent to
/worker/eventsand/worker/internal-eventsattach anupload_holdobject with details such asheld,flush_reason,held_count,hold_age_ms,inflight_retry_count,hold_rule, andpost_index. - The upload queue now tracks per-lane counters (posts, rows, max rows per post, failed posts, dropped rows, and more), and fires a new
ccr_upload_draintelemetry event with lane, trigger, held events/time, posts, rows, failed posts, dropped rows, and drain duration whenever a batch finishes draining.
Why
This gives better visibility into how CCR (Claude Code Remote, the cloud runner) batches and delays event uploads, which helps diagnose upload backlogs or data loss, without changing behavior while the gate stays off.