Repository navigation
Open
Labels
enhancementNew feature or request
Description
Retain a local view of active and recently completed ordinary-CI jobs using the existing scale-set listener. Current controller status publishes aggregate runner counts but does not retain the job metadata already available in authenticated start/completion events.
The pinned client supplies owner/repository, display name, workflow run ID, runner identity, queue/assignment/finish times, and completion result. Use an allowlisted subset. Record locally observed lifecycle states and timings without creating a second competing scale-set consumer.
Acceptance:
- Record job identity, display name, repository, workflow run ID, runner association, observed start/completion, result, and source timestamps.
- Keep private job metadata in a separately approved protected store, distinct from anonymous capacity samples and status-report v1.
- Bound storage by age, record count, record size, and total bytes, including during prolonged idle periods. Define retention in the approved contract.
- Recover across controller/service restarts; tolerate duplicate, late, out-of-order, and missing events. Missing completion remains unknown.
- Distinguish recovered runners whose job association is unavailable. A container exit alone does not prove a GitHub job result.
- Identify the source of queued/demand counts. Do not claim a complete fleet queue from one scale set or use this observation history to alter scaling.
- Provide a GitHub run link from validated metadata. Exact job links and numeric REST job IDs require verified correlation; do not assume the scale-set string JobID is the REST identifier.
- Show run attempt, task, and shard only when evidence establishes them. Do not invent details by parsing arbitrary names.
- Observer storage errors, corruption, exhausted observer storage, or observer failure must fail independently without changing runner lifecycle. Bound observer storage and preserve existing host disk admission and maintenance gates; host-wide resource exhaustion can still affect CI.
- Optional GitHub API enrichment requires a separate least-privilege access decision; no broader project access is needed for the initial local history.
Depends on #117. Used by #121 and #120. Related to #50, whose telemetry must remain anonymous.
References: pinned client types and GitHub workflow job API.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
Nickfost commentedon Oct 13, 2026
Design contract update from PR #126, head
9c312e935339731f7c64cb99cd58f65224486b15: retain up to seven days/5,000 records privately, but expose a bounded 4 MiB browser projection with nonterminal jobs first and explicit retained/exported/omitted counts. Full job-export write attempts are limited to once per 60 seconds, including retry/restart recovery; lightweight liveness stays at 30 seconds. Pending job/coverage updates make retained running activity unknown until the matching export catches up. Private record/event writes must be incremental. Measure filesystem/private-store overhead in implementation acceptance. This remains proposed design, with no runtime or host activation.