Skip to content

ci(benchmarks): publish dashboards on v* tags (fix never-publishing gate)#102

Merged
jack-champagne merged 1 commit into
mainfrom
benchmarks/publish-on-tags
Jun 8, 2026
Merged

ci(benchmarks): publish dashboards on v* tags (fix never-publishing gate)#102
jack-champagne merged 1 commit into
mainfrom
benchmarks/publish-on-tags

Conversation

@jack-champagne

Copy link
Copy Markdown
Member

Fixes the mutually-exclusive trigger/gate that left /bench, /bench-alloc, /bench-convergence empty. Trigger is v* tags + PRs; gate was refs/heads/main → never true. Now gated on startsWith(github.ref,'refs/tags/v') (per-release publishing, the chosen policy). Workflow-only change.

🤖 Generated with Claude Code

The three benchmark workflows trigger only on `push: tags:['v*']` + pull_request
+ workflow_dispatch (never on push to main), but save-data-file / auto-push were
gated to `github.ref == 'refs/heads/main'`. Those conditions are mutually
exclusive, so the gh-pages series was NEVER published — /bench, /bench-alloc and
/bench-convergence stayed empty (zero github-action-benchmark commits on
gh-pages, confirmed).

Gate on tag refs instead (`startsWith(github.ref, 'refs/tags/v')`), matching the
actual trigger: each release tag appends one data point; PR runs still render a
comparison comment without polluting the series. Per-release rather than
per-commit, by design (avoids running the heavy suites on every main merge).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jack-champagne jack-champagne merged commit 7adc3d5 into main Jun 8, 2026
@jack-champagne jack-champagne deleted the benchmarks/publish-on-tags branch June 8, 2026 16:08
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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