You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PYTHON-6112 Use a stable set of tasks and and coverage in Evergreen - #3127
Pins Evergreen PR tasks to fixed Python boundaries (min Python with min-deps, max Python and one free-threaded Python) instead of rotating them.
Runs every PR task with COVERAGE=1 on the newest stable version of the server, and leaves mainline batch coverage on the full rotation (every CPython across all server versions, including the latest nightly).
Unit tests assert the rules; the generate-config pre-commit hook regenerates the config.
Also fixes the AWS ECS variant's leaked pr tag.
Test Plan
New unit tests: pytest .evergreen/scripts/test_generate_config.py -m "".
Evergreen PR tests.
Checklist
Checklist for Author
Did you update the changelog (if necessary)? Not needed; the change affects Evergreen configuration, docs, and its test script, not the driver.
Is there test coverage?
Is any followup work tracked in a JIRA ticket? If so, add link(s). No followup work.
Checklist for Reviewer
Does the title of the PR reference a JIRA Ticket?
Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
Is all relevant documentation (README or docstring) updated?
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The generated tasks still lose parts of the batch rotation and nightly coverage, and some PR-tagged tasks do not meet the stated pinning or coverage rules.
Document pytest and pytest-asyncio test dependencies
.evergreen/scripts/test_generate_config.py:5
The test now requires pytest (and the hook installs pytest and pytest-asyncio), but this docstring still lists only shrub.py and pyyaml. Update the dependency list so developers following the documented standalone command know what must be installed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
PYTHON-6112
Changes in this PR
COVERAGE=1on the newest stable version of the server, and leaves mainline batch coverage on the full rotation (every CPython across all server versions, including the latest nightly).generate-configpre-commit hook regenerates the config.prtag.Test Plan
pytest .evergreen/scripts/test_generate_config.py -m "".Checklist
Checklist for Author
Checklist for Reviewer