Skip to content

Fix GitHub Actions queue collector completion gaps - #472

Merged
trask merged 1 commit into
mainfrom
trask-fix-collector-completion-gaps
Oct 15, 2026
Merged

trask merged 1 commit into
mainfrom
trask-fix-collector-completion-gaps

Conversation

@trask

@trask trask commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Finalize completed workflow runs blocked only by runnerless jobs or stale queued statuses. Like in_progress, queued jobs still need both a terminal conclusion and a completion timestamp.

Collection summaries now report exclusions for retained work:

{"exclusions":{"runnerless_jobs":3,"runnerless_runs":1,"negative_queue_jobs":2}}

Runnerless jobs no longer block assigned siblings. Entirely runnerless completed runs finalize without records, while assigned jobs missing completion evidence still keep the whole run pending.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 64d32fdf-1825-4d3f-8f47-63bafb80a01a
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-15 15:58 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified, and regression tests cover the changed completion and exclusion behavior.

0 open findings

What changed in this PR

Fixes completion handling in the GitHub Actions queue collector while preserving pagination and checkpoint behavior.

Changes:

  • Excludes runnerless jobs before checking completion and accepts stale queued statuses with terminal evidence.
  • Reports exclusion counts across live collection, backfill, and pending retries.
  • Adds regression tests and documents the updated behavior.
File Description
github-actions-queue/​README.md Documents completion rules and exclusion counts.
.github/​scripts/​github-actions-queue/​test_collect.py Tests completion evidence, pagination, and checkpoint-aware counts.
.github/​scripts/​github-actions-queue/​collect.py Updates completion filtering and exclusion accounting.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@trask
trask marked this pull request as ready for review October 14, 2026 22:02
@trask
trask requested a review from a team as a code owner October 14, 2026 22:02
@trask
trask requested a review from codeboten October 14, 2026 22:02
@trask
trask merged commit f7e1fff into main Oct 15, 2026
8 checks passed
@trask
trask deleted the trask-fix-collector-completion-gaps branch October 15, 2026 15:56
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.

3 participants