Skip to content

GODRIVER-3989 Add a drivers-evergreen-tools submodule with a pinned revision.#2466

Merged
qingyang-hu merged 10 commits into
mongodb:masterfrom
matthewdale:godriver3989-pin-det
Jul 14, 2026
Merged

GODRIVER-3989 Add a drivers-evergreen-tools submodule with a pinned revision.#2466
qingyang-hu merged 10 commits into
mongodb:masterfrom
matthewdale:godriver3989-pin-det

Conversation

@matthewdale

@matthewdale matthewdale commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

GODRIVER-3989

Summary

  • Add a drivers-evergreen-tools submodule to .evergreen/drivers-evergreen-tools
    • The current dependabot config will update the new submodule with no changes.
  • Update .evergreen/setup-system.sh to clone drivers-evergreen-tools based on the submodule revision.
    • Using the submodule directory directly causes failures on Windows for some unknown reason.
  • Update go.mod with an ignore directive for the ./.evergreen dir to force gofumpt to ignore Go code in the drivers-evergreen-tools submodule.
  • Update the etc/check_licenses.sh script to ignore directories starting with "."

Background & Motivation

We want to pin the version of drivers-evergreen-tools so that test failures are isolated to code changes whenever possible, not changes in drivers-evergreen-tools.

@github-actions github-actions Bot added the review-priority-normal Medium Priority PR for Review: within 1 business day label Jul 8, 2026
@matthewdale matthewdale force-pushed the godriver3989-pin-det branch from a7b8b1f to ed3cfbe Compare July 8, 2026 07:01
@mongodb-drivers-pr-bot

Copy link
Copy Markdown
Contributor

API Change Report

No changes found!

@mongodb-drivers-pr-bot

mongodb-drivers-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🧪 Performance Results

Commit SHA: dd47122

The following benchmark tests for version 6a55a91da17eec0007ffdf99 had statistically significant changes (i.e., |z-score| > 1.96):

Benchmark Measurement % Change Patch Value Stable Region H-Score Z-Score
BenchmarkSmallDocInsertOne ops_per_second_min -53.1642 677.0737 Avg: 1445.6343
Med: 1476.5727
Stdev: 245.9759
0.8281 -3.1245
BenchmarkBSONFlatDocumentDecoding ops_per_second_min -44.2133 1247.7105 Avg: 2236.5723
Med: 2372.0065
Stdev: 451.1306
0.7729 -2.1920
BenchmarkBSONFullDocumentDecoding ops_per_second_min -25.9956 1484.0803 Avg: 2005.3953
Med: 2042.8439
Stdev: 228.6091
0.7977 -2.2804

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

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 9, 2026
@matthewdale matthewdale marked this pull request as ready for review July 9, 2026 22:04
@matthewdale matthewdale requested a review from a team as a code owner July 9, 2026 22:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 pins drivers-evergreen-tools by adding it as a git submodule under .evergreen/ and updates supporting scripts/config so CI tooling uses that pinned revision and repo-wide tooling doesn’t get tripped up by the submodule.

Changes:

  • Add drivers-evergreen-tools as a new submodule at .evergreen/drivers-evergreen-tools.
  • Update .evergreen/setup-system.sh to clone drivers-evergreen-tools at the submodule’s pinned revision.
  • Update license-checking to ignore hidden directories; attempt to update module behavior to ignore .evergreen (needs adjustment).

Reviewed changes

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

File Description
go.mod Attempts to add an ignore directive for .evergreen (currently invalid for go.mod and won’t affect gofumpt traversal).
etc/check_license.sh Updates find invocation to ignore hidden directories when discovering .go files.
.gitmodules Registers the new .evergreen/drivers-evergreen-tools submodule.
.evergreen/setup-system.sh Clones drivers-evergreen-tools and checks out the pinned submodule revision.

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

Comment thread .evergreen/setup-system.sh
Comment thread etc/check_license.sh Outdated
Comment thread .evergreen/setup-system.sh
Comment thread go.mod
@matthewdale matthewdale added ci/cd and removed dependencies Pull requests that update a dependency file labels Jul 10, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 11, 2026
@matthewdale matthewdale requested a review from qingyang-hu July 11, 2026 02:55
@qingyang-hu qingyang-hu enabled auto-merge (squash) July 13, 2026 13:09

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like we need to bump to mongodb/libmongocrypt@c2f80a7 to fix the cmake version issue.

@qingyang-hu qingyang-hu merged commit cded61c into mongodb:master Jul 14, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd dependencies Pull requests that update a dependency file 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.

3 participants