WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@prestonvasquez
Copy link
Member

GODRIVER-3659

Naive implementation of #2235

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements an opt-in setting to await minimum pool size population before running tests in the unified test runner. The change replaces a boolean flag with a configurable timeout duration in milliseconds, allowing tests to wait for connection pools to reach minPoolSize across all servers before proceeding.

Key Changes:

  • Replaced AwaitMinPoolSize boolean flag with AwaitMinPoolSizeMS timeout configuration
  • Enhanced connection tracking to monitor ready connections per server address
  • Added event history reset capability after pool population is complete

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
internal/integration/unified/entity.go Updated entity options to use millisecond-based timeout instead of boolean flag; reformatted code structure
internal/integration/unified/client_entity.go Implemented per-server connection tracking, moved and enhanced pool size waiting logic with configurable timeout, added event history reset

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@prestonvasquez prestonvasquez added the review-priority-normal Medium Priority PR for Review: within 1 business day label Dec 5, 2025
@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

No changes found!

@prestonvasquez prestonvasquez force-pushed the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch from e9a03c9 to fce4695 Compare December 5, 2025 23:09
@mongodb-drivers-pr-bot
Copy link
Contributor

mongodb-drivers-pr-bot bot commented Dec 5, 2025

🧪 Performance Results

Commit SHA: 8a0716c

There were no significant changes to the performance to report for version 69336dd537d7280007e86322.

For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch.

@prestonvasquez prestonvasquez force-pushed the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch 2 times, most recently from 9fe075a to 19124b5 Compare December 5, 2025 23:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@prestonvasquez prestonvasquez force-pushed the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch from 5e3207c to 399718c Compare December 5, 2025 23:34
@github-actions github-actions bot added dependencies Pull requests that update a dependency file documentation Pull requests that update documentation or examples labels Dec 5, 2025
@prestonvasquez prestonvasquez force-pushed the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch from 399718c to 5e3207c Compare December 5, 2025 23:35
@prestonvasquez prestonvasquez force-pushed the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch from 5e3207c to 8a0716c Compare December 5, 2025 23:42
@prestonvasquez prestonvasquez added ci/cd and removed ci/cd dependencies Pull requests that update a dependency file documentation Pull requests that update documentation or examples labels Dec 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

@prestonvasquez prestonvasquez merged commit d28cb15 into mongodb:master Dec 12, 2025
32 of 38 checks passed
@prestonvasquez prestonvasquez deleted the cicd/godriver-3659-support-awaitMinPoolSizeMS-in-unified-spec-runner branch December 12, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd review-priority-normal Medium Priority PR for Review: within 1 business day

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants