Skip to main content

CI observability: questions, evidence and drilldowns

Admin → Infrastructure → CI uses the existing chart primitives and one shared range, pool, listener, suite and outcome scope for job-derived panels and attempts. Selecting a time bucket narrows that scope; selecting a histogram bin exposes the underlying attempt IDs. Every chart has exact values and keyboard alternatives. The attempt waterfall links back to Actions and separates job creation-to-start from execution. It does not assert dependencies or a critical path.

Research and design rationale

Datadog CI pipeline visibility organizes investigation around build frequency, failures, duration and stage-time trends, then drilldown to executions. That informs the first row: observed throughput/outcomes beside cohort-specific delay/runtime p50/p95 and sample counts. Buildkite’s waterfall separates waiting, dispatch and execution. Actions observations here do not expose all those boundaries. We therefore show creation-to-start delay, which can include dependencies and scheduling, rather than inventing runner queue wait or critical-path evidence. Grafana’s dashboard guidance uses rate/errors/duration for execution experience and utilization/saturation/errors for physical resources. The next panels show observed queue and active slot counts, capacity provenance, physical-host CPU/load, swap/pressure and battery/AC, then verified test volume/cache provenance and explicitly configured cost estimates. Device-wide telemetry is not attributed to whichever suite happens to be selected.

Metric contracts

  • Attempts are keyed by run ID, attempt and job ID. Repeated polls cannot increase throughput or test volume; reruns remain separate attempts.
  • Outcomes are bucketed by completion timestamp. Cache-hit attempts have their own stacked segment and never count again as freshly executed test volume.
  • Test pass/fail/skip volume requires matched JUnit and verified current-task cache-miss/bypass evidence. Reports with unknown provenance remain identifiable without becoming asserted test execution.
  • Latency percentiles are nearest-rank percentiles of direct attempt samples, grouped by pool, exact shard/workload and cache provenance. They are not averages of percentiles. Frontend distributions preserve shard identity. Unknown runner warmth, differing revisions and hardware prevent controlled-speedup claims.
  • Runtime/cost allocation clips each job interval to the selected window. Ongoing jobs stop at their last observation. Estimated rates are administrator supplied; absent rates or measurement coverage remain unavailable. These are not bills, total ownership costs or measured savings.
  • Poll history is sampled inventory, not reconstructed from final job statuses. Each bucket retains its latest actual sample and count; any partial poll keeps the bucket marked partial. Missing observations are gaps, never interpolated.
  • The office Mac is one physical host with zero or more configured listeners. A heartbeat proves host telemetry only; it never proves each listener online. Listener statuses, running jobs and queue counts are separate from CPU/RAM/power. Shared host counters are stored and graphed once.
  • CI_MONITOR_MAC_RUNNER_NAMES explicitly maps the physical Mac’s listener roster. Unconfigured capacity is unknown, not one or four. A configured slot count is labeled with its source/time, not presented as measured hardware capability. Historical slot percentages require contemporaneous capacity observations; changing today’s roster never rewrites an old denominator. Sampled occupancy ratios are not continuous wall-time utilization.

Bounds and activation

History is limited to the shared 1h/24h/7d/30d presets and at most 240 sparse SQL buckets. Job inventory remains capped at 10,000 attempts; latency cohorts are capped at 64 and a selected waterfall at 200 jobs, with visible truncation notices. Poll workload groups are capped at 64, with explicit partial coverage. Heartbeats retain 30 days and job/poll observations 90 days while collection runs. Historical poll samples start only after activation; existing jobs do not fabricate old queue depth, listener state or telemetry. Production activation remains pending. No capacity trials, runner registration, routing changes, Mac installation, merge or deployment are part of this update. The development preview keeps real GitHub snapshot data in a local server file, not a shipped fixture. Its optional illustrative hardware/poll-history mode is prominently labeled synthetic, including its capacity transitions and gaps.