Skip to content

Switch CodSpeed benchmarks to OIDC authentication and add badge#3

Open
avalanche-staging[bot] wants to merge 1 commit intomainfrom
codspeed-wizard-1776377008416
Open

Switch CodSpeed benchmarks to OIDC authentication and add badge#3
avalanche-staging[bot] wants to merge 1 commit intomainfrom
codspeed-wizard-1776377008416

Conversation

@avalanche-staging
Copy link
Copy Markdown

Summary

This PR migrates the CodSpeed benchmarks workflow from token-based authentication to OpenID Connect (OIDC) authentication and adds a CodSpeed performance badge to the README.

Changes

Workflow (.github/workflows/benchmarks.yml):

  • Added id-token: write permission to enable OIDC authentication with CodSpeed, replacing the previous secrets.CODSPEED_TOKEN approach. OIDC is more secure and doesn't require managing repository secrets.
  • Added workflow_dispatch trigger to allow CodSpeed to trigger backtest performance analysis for generating initial baseline data.
  • Removed the token parameter from the CodSpeed action step (no longer needed with OIDC).

README (README.md):

  • Added the CodSpeed performance badge alongside existing project badges.

Next steps

  • Ensure the CodSpeed GitHub App is installed on this repository for OIDC authentication to work.
  • After merging, CodSpeed can use workflow_dispatch to trigger backtests and build initial performance baselines.

@avalanche-staging
Copy link
Copy Markdown
Author

avalanche-staging Bot commented Apr 16, 2026

Congrats! CodSpeed is installed 🎉

🆕 142 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks


ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Open in CodSpeed

@avalanche-staging avalanche-staging Bot marked this pull request as ready for review April 16, 2026 22:24
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/cp/cp-mv-enotsup-xattr. tests/cp/cp-mv-enotsup-xattr is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/csplit/csplit-io-err. tests/csplit/csplit-io-err is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail/retry. tests/tail/retry is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)

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.

0 participants