Skip to content

PYTHON-5286 Create server version variants #2270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 10, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Apr 9, 2025

Passing build: https://spruce.mongodb.com/version/67f6939592c71a0007a6c40a/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Before: 567 tasks across 9 build variants (we had No C in two places).
After: 153 tasks across 9 build variants,

I also disabled coverage on PyPy, which seems to have reduced its flakiness. The only consistent failure is the one fixed by #2268.

I decided to reduce the matrix by only testing all Python versions on sharded_cluster, and then sprinkling the python versions across the other topologies and auth/ssl combinations.

image image

I'll update the default PR tasks after merging.

@blink1073 blink1073 requested a review from NoahStapp April 9, 2025 02:21
@blink1073
Copy link
Member Author

Coverage failure is expected since none of the old tasks were run as part of the PR build.

task_types.append((python, topology))
for python, topology in task_types:
tags = ["server-version"]
if topology == "standalone":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any concern with a potential auth/ssl bug only showing up on a specific topology?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, I'll re-request review once the build passes.

@blink1073 blink1073 requested a review from NoahStapp April 9, 2025 17:33
NoahStapp
NoahStapp previously approved these changes Apr 9, 2025
@blink1073
Copy link
Member Author

evergreen retry

1 similar comment
@blink1073
Copy link
Member Author

evergreen retry

@blink1073
Copy link
Member Author

Hmm, that's too many to run with a PR, I'll need to add more tags.

@blink1073
Copy link
Member Author

evergreen retry

3 similar comments
@blink1073
Copy link
Member Author

evergreen retry

@blink1073
Copy link
Member Author

evergreen retry

@blink1073
Copy link
Member Author

evergreen retry

@blink1073
Copy link
Member Author

evergreen retry

1 similar comment
@blink1073
Copy link
Member Author

evergreen retry

@blink1073 blink1073 requested a review from NoahStapp April 10, 2025 00:31
@blink1073
Copy link
Member Author

Okay I got the PR tasks working as expected, including coverage.

@blink1073 blink1073 merged commit 5b42ed8 into mongodb:master Apr 10, 2025
42 of 44 checks passed
@blink1073 blink1073 deleted the PYTHON-5286 branch April 10, 2025 14:31
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.

2 participants