Skip to content

Read SPIDER breakdown badges from its per-tier test counts#41

Open
timlichtenberg wants to merge 1 commit into
mainfrom
tl/spider-tier-badges
Open

Read SPIDER breakdown badges from its per-tier test counts#41
timlichtenberg wants to merge 1 commit into
mainfrom
tl/spider-tier-badges

Conversation

@timlichtenberg

Copy link
Copy Markdown
Member

What this does: Points the SPIDER unit and integration badges on the validation page at SPIDER's new per-tier test-count files, so the breakdown shows the real tier counts (19 unit, 3 integration) instead of the fast and nightly suite counts that stood in for them.

Why: SPIDER now publishes tests-unit.json, tests-smoke.json, and tests-integration.json on its badges branch, so the stand-in mapping is no longer needed.

Changes:

  • data/test_counts.yml: SPIDER markers read tests-unit.json and tests-integration.json.

  • src/pages/validation.astro: the two breakdown badge links point at the per-tier JSON files.

Testing: Curl-verified all three per-tier endpoints and both GitHub blob links, regenerated the badges (unit renders 19, integration 3, total unchanged at 64), and ran a full site build.

SPIDER now publishes tests-unit.json, tests-smoke.json, and tests-integration.json on its badges branch, so the unit and integration badges on the validation page can read the real per-tier counts (19 unit, 3 integration) instead of borrowing the fast and nightly suite counts as stand-ins. The badge links now point at the per-tier JSON files as well. Total stays 64; regenerating the badges confirms the new figures render.
@timlichtenberg timlichtenberg requested a review from a team as a code owner July 12, 2026 21:11
@nichollsh

Copy link
Copy Markdown
Member

@timlichtenberg do you want me to review this one? I am fine with these (mostly aesthetic/expositional) changes being merged directly.

@timlichtenberg

Copy link
Copy Markdown
Member Author

No that's fine. I am still dealing with that you are added automatically added to all PRs basically. Not sure what to do about this.

@maraattia

maraattia commented Jul 13, 2026

Copy link
Copy Markdown

All website maintainers (including me) are automatically notified I think, I don't think we can do much about it. I guess if you need an actual review, you'd have to tag us explicitly.

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