Skip to content

feat(summary): auto-enable All Tests section for small runs#137

Merged
maximn merged 1 commit into
mainfrom
feat/show-all-tests-auto
May 31, 2026
Merged

feat(summary): auto-enable All Tests section for small runs#137
maximn merged 1 commit into
mainfrom
feat/show-all-tests-auto

Conversation

@maximn
Copy link
Copy Markdown
Contributor

@maximn maximn commented May 31, 2026

Summary

Improves the All Tests section in the CI job summary. The show-all-tests input now defaults to auto, which renders the section automatically for small runs — no config change needed on consumer workflows. Also ships three UX improvements to how tests are presented within each suite.

Changes

  • show-all-tests: auto (new default) — renders All Tests when total ≤ 200, or ≤ 1000 with a single suite. true/false still force the behaviour explicitly.
  • Per-suite stats in the collapsible header — shows ✅ P · ❌ F · ⏭️ K · ⏱️ duration instead of a raw count, giving triage signal without expanding.
  • Default-open suites — suites with any failure/skip, or with ≤ 25 tests, render <details open> so relevant info is immediately visible.
  • Tests sorted within each suitefailed → errored → skipped → passed, tiebroken by duration desc; broken/slow tests surface at the top.

Test plan

  • pnpm typecheck — clean
  • pnpm lint — clean
  • pnpm test — 707 tests pass (25 files)
  • Trigger a small single-suite workflow (e.g. maximn/google-maps) and confirm All Tests renders without show-all-tests: true in the workflow file
  • Trigger a large multi-suite run and confirm the section is suppressed

Switch show-all-tests default from false to auto. In auto mode the
section renders when total ≤ 200, or when there is a single suite
and total ≤ 1000 — covering the common "one DLL / one package" shape
without any config change on the consumer side.

Also improves the All Tests UX:
- Suite header shows per-bucket counts and duration instead of raw total
- Suites with any failure/skip, or ≤ 25 tests, render open by default
- Tests within each suite sorted failed → errored → skipped → passed,
  tiebroken by duration desc so slow/broken tests surface at the top
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 31, 2026

@maximn maximn merged commit 93dba8d into main May 31, 2026
7 checks passed
@maximn maximn deleted the feat/show-all-tests-auto branch May 31, 2026 11:55
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