Skip to content

ongoing: optional telemetry.capture completeness evidence - #32

Draft
jadoonf wants to merge 1 commit into
mainfrom
devin/1794449723-capture-telemetry
Draft

jadoonf wants to merge 1 commit into
mainfrom
devin/1794449723-capture-telemetry

Conversation

@jadoonf

@jadoonf jadoonf commented Nov 12, 2026

Copy link
Copy Markdown

Summary

Adds an optional Telemetry.Capture (data.telemetry.capture) to ongoing.Profile, so Jibril can report capture completeness (ENG-1615) and control-plane can decode it. Without this field, Profile unmarshalling drops the object at ingest. The field spec comes from garnet-org/runtime-review-testbed#206.

capture: {
  events_lost, events_dropped, drain_discarded, attach_failures: nonnegative int
  ready_before_workload: bool
}

drain_discarded counts both the shutdown drain and profile truncation at the size cap.

  • All fields are pointers, so a field that is absent stays distinguishable from a zero value. Profiles without capture decode the same as before.
  • Decoding is tolerant. A malformed value (negative, fractional, string or null) is kept and marked invalid, and it never makes the whole profile fail to decode. Consumers treat malformed values as best-effort.
  • Clone and marshal round-trip the field.

This is a draft: it needs no tag or merge yet. Control-plane pins this commit as a pseudo-version for CI only.

Link to Devin session: https://app.devin.ai/sessions/e8f3abf737d24664a3a7f0bee2b39cc1
Open in Devin Desktop: https://app.devin.ai/desktop/session/e8f3abf737d24664a3a7f0bee2b39cc1?variant=devin
Requested by: @jadoonf

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant