Skip to content

Fix the last-release benchmark workflow running zero benchmarks - #11590

Open
itzzdev09 wants to merge 1 commit into
pydata:mainfrom
itzzdev09:ci/benchmarks-last-release-env
Open

itzzdev09 wants to merge 1 commit into
pydata:mainfrom
itzzdev09:ci/benchmarks-last-release-env

Conversation

@itzzdev09

Copy link
Copy Markdown

Closes #11533

The Benchmark compare last release workflow has been finishing green in ~30s without running a single benchmark.

asv_bench/asv.conf.json moved to "environment_type": "rattler" in #10866, and py-rattler was added to ci/requirements/environment-benchmark.yml. This workflow builds its environment from ci/requirements/environment.yml, which never got py-rattler, so asv exits with:

· Unknown environment type 'rattler'. Allowed values based on existing plugins are ['existing', 'conda', 'uv', 'virtualenv'].
· No environments selected

That failure is invisible because the run step pipes asv continuous ... | sed ... | tee benchmarks.log without pipefail, and the only gate is a grep for Traceback \|failed\|PERFORMANCE DECREASED, which an environment-construction failure never matches.

This switches the workflow to environment-benchmark.yml (matching benchmarks.yml), renames the environment accordingly, adds python-build to create-args as benchmarks.yml already does, and sets pipefail so a failing asv run fails the job instead of being swallowed by tee.

asv.conf.json uses the rattler environment type, whose plugin (py-rattler)
is only in environment-benchmark.yml, so this workflow ran zero benchmarks.
Also set pipefail so an asv failure is no longer hidden by the tee pipeline.

Closes pydata#11533

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Automation Github bots, testing workflows, release automation label Sep 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Automation Github bots, testing workflows, release automation

Projects

None yet

1 participant