GeezerVison is showing github.com — Activate nightly workflow for random and stress tests by kdeldycke · Pull Request #3500 · pallets/click
Conversation
kdeldycke
commented
May 22, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
In #3139 we added stress tests and in #3151 we added randomization and parallel tests.
We decided to not activate them by default in #3151 (comment) and rely on contributors diligence to run them by hand to catch regressions. In practice nobody does. I even often forget to run them on my own during my sessions, only focused on the task at hand.
I'd like to re-assess this decision in light of regressions that could have been caught if these test were active. See the following PRs:
Also why even support parallel tests if we don't exercice them regularly? (ref: #2899)
Currently these tests adds ~15 minutes run-time. If you find this too long and invasive, I propose a compromise and run them nightly. But my preference would be to run them as part of the standard CI to incentivize contributors. And reduce surprises and and follow-up fixes.
Given the reversal in policy this change imply, I'm aiming for the next 8.5.0 minor release. I'm opening this PR as a way to discuss the best strategy forward.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kdeldycke reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I think we were overly cautious just running these tests nightly as in the end they only take 5 minutes, not 15: https://github.com/pallets/click/actions/runs/26496766042/usage . To me the cost-benefit is excellent to trigger on every PR: a 5 minute wait is nothing in comparison to the effort and synchronization time required to fix leaky issues from non-core maintainers. But I will let that decision for later.
Thanks @Rowlando13 for the merge!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
test runner
CliRunner and Click's test utilities feature
tests
Click's own test suite and CI workflows
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|