Skip to content

fix(ci): exclude performance tests from release workflow#184

Merged
jrob5756 merged 1 commit into
mainfrom
fix/release-exclude-performance-tests
May 13, 2026
Merged

fix(ci): exclude performance tests from release workflow#184
jrob5756 merged 1 commit into
mainfrom
fix/release-exclude-performance-tests

Conversation

@jrob5756
Copy link
Copy Markdown
Collaborator

The release workflow ran pytest -m "not real_api", which still picked up tests/test_performance.py (entire module is marked pytestmark = pytest.mark.performance). These tests assert wall-clock thresholds — most notably test_config_load_time at <100ms — that routinely flake on shared GitHub Actions runners. Observed on the v0.1.15 release run 25826854283:

Attempt Measured Threshold
1 0.127s 0.100s
2 (rerun) 0.145s 0.100s

ci.yml:115 already excludes them via -m "not real_api and not performance" with an inline comment spelling out exactly this concern. This PR brings release.yml into parity.

Diff

- run: uv run pytest -m "not real_api"
+ run: uv run pytest -m "not real_api and not performance"

Follow-up

After merge: delete the v0.1.15 tag and re-tag the new main HEAD so the release workflow re-runs against the fixed config.

The release workflow ran `pytest -m "not real_api"`, which still
included `test_performance.py` (marked module-level
`pytestmark = pytest.mark.performance`). These tests assert wall-clock
thresholds — most notably `test_config_load_time` at <100ms — that
routinely flake on shared GitHub Actions runners (observed at 0.127s
and 0.145s on consecutive runs of the v0.1.15 release).

`ci.yml` already excludes them via `-m "not real_api and not performance"`
with an inline comment explaining the rationale. Bring `release.yml`
into parity so tagged releases are not gated on flaky timing tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jrob5756 jrob5756 merged commit a119c83 into main May 13, 2026
9 checks passed
@jrob5756 jrob5756 deleted the fix/release-exclude-performance-tests branch May 13, 2026 22:11
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