Skip to content

Count only jobs that ran when saying where a run ran - #4

Merged
codephilip merged 1 commit into
mainfrom
fix/skipped-jobs-not-hosted
Dec 2, 2026
Merged

codephilip merged 1 commit into
mainfrom
fix/skipped-jobs-not-hosted

Conversation

@codephilip

Copy link
Copy Markdown
Owner

Seen on forge.lab: QuizOS staging run for #283 showed mixed 10/12 and appeared under both the Self-hosted and GitHub tabs. All 7 jobs that ran were on ci1; the two "GitHub" ones were Release gate (ubuntu-latest) and Deploy (no labels), both skipped, so they never reached any runner.

  • build_snapshot: counted = jobs that weren't skipped; self_hosted counts only those.
  • UI badge and tab filters use counted (falling back to all jobs for older snapshots).

Tests: tests/test_where.py (both fail before the fix). All 25 pass.

Skipped jobs reach no runner, but their labels (ubuntu-latest, or none)
counted them as GitHub-hosted, so a fully self-hosted run showed as
'mixed' and appeared under both the Self-hosted and GitHub tabs.
@codephilip
codephilip merged commit 622e81e into main Dec 2, 2026
@codephilip
codephilip deleted the fix/skipped-jobs-not-hosted branch December 2, 2026 18:09
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