Skip to content

Fix CodSpeed path filters - #1091

Merged
ofek merged 1 commit into
mainfrom
fix-codspeed-paths
Jun 20, 2026
Merged

ofek merged 1 commit into
mainfrom
fix-codspeed-paths

Conversation

@ofek

@ofek ofek commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Make the CodSpeed pull request path filters recursive for source, profiling test, and benchmark files.
  • Include the CodSpeed workflow file itself so future workflow edits exercise the workflow.

Root cause

#1085 added path filters to avoid running CodSpeed on unrelated changes, but patterns like src/*, tests/prof/*, and benchmarks only match direct root-level paths. They do not match files such as src/msgspec/structs.py or tests/prof/perf/test_structs.py, so performance-related PRs like #1005 can skip the benchmark workflow entirely.

Validation

git diff --check -- .github/workflows/codspeed.yml
go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/codspeed.yml

@codspeed

codspeed Bot commented Jun 20, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 252 untouched benchmarks


Comparing fix-codspeed-paths (724fc18) with main (70f3601)

Open in CodSpeed

@ofek
ofek marked this pull request as ready for review June 20, 2026 20:05
@ofek

ofek commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

@provinzkraut I noticed this because I clicked the button to update the branch of #1005 so that we could see the new micro benchmarks but they didn't run.

@ofek
ofek added this pull request to the merge queue Jun 20, 2026
Merged via the queue into main with commit 7945d4b Jun 20, 2026
27 checks passed
@ofek
ofek deleted the fix-codspeed-paths branch June 20, 2026 20:14
@provinzkraut

Copy link
Copy Markdown
Member

Thanks for the patch @ofek!

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.

2 participants