[chore] Retire threshold_tests#643
Conversation
…ts` where appropriate. Also collapse CI setup from 3 to 1 runner.
Consolidated Tests Results 2026-06-15 - 07:46:52Test ResultsDetails
test-reporter: Run #2706
🎉 All tests passed!TestsView All Tests
🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 |
There was a problem hiding this comment.
Pull request overview
This PR removes the bespoke threshold_tests feature flag from the kms-core-client crate and CI, replacing it with the workspace-wide slow_tests convention to gate only the heaviest threshold integration tests while simplifying CI sharding.
Changes:
- Renamed/retired
threshold_testsinkms-core-clientand replaced it withslow_tests. - Updated core-client integration test gating (
#[cfg(feature = "slow_tests")]/cfg_attr(..., ignore)) and refreshed related docs. - Simplified CI for core-client threshold tests from multiple partitions/jobs to a single job that runs with
--features slow_tests.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| core-client/tests/README.md | Updates local test commands and feature-flag documentation to reflect slow_tests. |
| core-client/tests/integration/integration_test.rs | Moves heavy tests/helpers to slow_tests gating and removes threshold_tests conditionals. |
| core-client/Cargo.toml | Replaces the threshold_tests feature with slow_tests and updates feature documentation. |
| .github/workflows/parallel-testing.yml | Collapses core-client threshold CI from multiple partitions to a single slow_tests job. |
| .github/workflows/main.yml | Switches the nightly core-client job to build/run with slow_tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Consolidated Tests Results 2026-06-15 - 16:08:38Test ResultsDetails
test-reporter: Run #2723
🎉 All tests passed!TestsView All Tests
🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 |
Consolidated Tests Results 2026-06-16 - 13:08:48Test ResultsDetails
test-reporter: Run #2732
🎉 All tests passed!TestsView All Tests
🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 |
Before this PR the
core-clienthad a bespokethreshold_testsfeature to determin which integration tests to run. This PR retires that feature and, after measuring test run times, replaces it withslow_testsfor tests that are effectively slow.The number of tests that run for each PR has increased a little bit. At the same time the number of CI jobs decreases from 4 to 1. The slowest test is
test_threshold_insecureby a very large margin, so 4 nextest processes is enough to parallelize that.Part of https://github.com/zama-ai/kms-internal/issues/3017
Local test timings used to decide which tests are "slow":