Skip to content

Disable performance tests on pull requests#540

Merged
timgraham merged 1 commit into
mongodb:mainfrom
timgraham:disable-performance-tests
Jun 2, 2026
Merged

Disable performance tests on pull requests#540
timgraham merged 1 commit into
mongodb:mainfrom
timgraham:disable-performance-tests

Conversation

@timgraham
Copy link
Copy Markdown
Collaborator

@timgraham timgraham commented May 27, 2026

This approach isn't ideal because it won't allow the tests to be triggered on a PR manually (for example, when new benchmarks are added). Instead, we might follow the "pr" tag approach that the mongodb-python-driver Evergreen config uses.

However, I think we should revisit this later if that solution seems justified. Temporarily reverting this patch in a PR branch may work to check the performance tests there if need be. Evergreen shows we waste $0.30 each time this job runs on a PR since the results aren't used. For comparison, running the non-performance tests costs about $0.20 total.

@timgraham
Copy link
Copy Markdown
Collaborator Author

This approach isn't correct because it won't allow the tests to be triggered on a PR manually (for example, when new performance benchmarks are added). Instead, we might follow the "pr" tag approach that the mongodb-python-driver evergreen config uses.

@timgraham timgraham closed this May 27, 2026
@timgraham
Copy link
Copy Markdown
Collaborator Author

timgraham commented May 30, 2026

I think we should merge this and revisit it later if a more elegant solution seems justified. I've updated the commit message and PR description with my rationale.

@timgraham timgraham reopened this May 30, 2026
@timgraham timgraham force-pushed the disable-performance-tests branch from 3547c90 to b26ad85 Compare May 30, 2026 01:35
This approach isn't ideal because it won't allow the tests to be
triggered on a PR manually (for example, when new benchmarks are added).
Instead, we might follow the "pr" tag approach that the
mongodb-python-driver Evergreen config uses.

However, I think we should revisit this later if that solution seems
justified. Temporarily reverting this patch in a PR branch may work to
check the performance tests there if need be. Evergreen shows ~$0.30
is wasted when this job runs on a PR since the results aren't used.
@timgraham timgraham force-pushed the disable-performance-tests branch from b26ad85 to ac81d20 Compare May 30, 2026 14:05
@timgraham timgraham requested a review from aclark4life June 1, 2026 22:07
@timgraham timgraham merged commit 742c97b into mongodb:main Jun 2, 2026
16 checks passed
@timgraham timgraham deleted the disable-performance-tests branch June 2, 2026 10:50
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