Skip to content

Commit 2c98aec

Browse files
Resolve merge conflicts
2 parents 5bbd39f + bd8b13d commit 2c98aec

File tree

256 files changed

+7786
-4605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+7786
-4605
lines changed

.evergreen/config.yml

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ functions:
195195

196196
run-tests:
197197
- command: subprocess.exec
198-
type: test
199198
params:
200199
binary: bash
201200
env:
@@ -216,6 +215,7 @@ functions:
216215
args: [*task-runner, setup-test]
217216
- command: subprocess.exec
218217
type: test
218+
retry_on_failure: true
219219
params:
220220
binary: bash
221221
args: [*task-runner, "${DEFAULT_TASK}" ]
@@ -231,28 +231,6 @@ functions:
231231
HEAD_SHA: "${github_commit}"
232232
args: [*task-runner, api-report]
233233

234-
"add PR labels":
235-
- command: subprocess.exec
236-
type: test
237-
params:
238-
binary: bash
239-
add_expansions_to_env: true
240-
env:
241-
COMMIT: "${github_commit}"
242-
PR_TASK: apply-labels
243-
args: [*task-runner, pr-task]
244-
245-
"add PR reviewer":
246-
- command: subprocess.exec
247-
type: test
248-
params:
249-
binary: bash
250-
add_expansions_to_env: true
251-
env:
252-
COMMIT: "${github_commit}"
253-
PR_TASK: assign-reviewer
254-
args: [*task-runner, pr-task]
255-
256234
"backport pr":
257235
- command: subprocess.exec
258236
type: test
@@ -297,12 +275,24 @@ functions:
297275
echo "Response Body: $response_body"
298276
echo "HTTP Status: $http_status"
299277
278+
send-perf-pr-comment:
279+
- command: subprocess.exec
280+
type: test
281+
params:
282+
binary: bash
283+
add_expansions_to_env: true
284+
env:
285+
VERSION_ID: ${version_id}
286+
BASE_SHA: "${revision}"
287+
HEAD_SHA: "${github_commit}"
288+
include_expansions_in_env: [PERF_URI_PRIVATE_ENDPOINT]
289+
args: [*task-runner, perf-pr-comment]
290+
300291
run-enterprise-auth-tests:
301292
- command: ec2.assume_role
302293
params:
303294
role_arn: "${aws_test_secrets_role}"
304295
- command: subprocess.exec
305-
type: test
306296
params:
307297
binary: bash
308298
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -311,6 +301,7 @@ functions:
311301
args: [*task-runner, setup-test]
312302
- command: subprocess.exec
313303
type: test
304+
retry_on_failure: true
314305
params:
315306
binary: bash
316307
args: [*task-runner, --silent, evg-test-enterprise-auth]
@@ -320,7 +311,6 @@ functions:
320311
params:
321312
role_arn: "${aws_test_secrets_role}"
322313
- command: subprocess.exec
323-
type: test
324314
params:
325315
binary: bash
326316
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -329,6 +319,7 @@ functions:
329319
args: [*task-runner, setup-test]
330320
- command: subprocess.exec
331321
type: test
322+
retry_on_failure: true
332323
params:
333324
binary: bash
334325
args: [*task-runner, --silent, evg-test-enterprise-auth]
@@ -338,7 +329,6 @@ functions:
338329
params:
339330
role_arn: "${aws_test_secrets_role}"
340331
- command: subprocess.exec
341-
type: test
342332
params:
343333
binary: bash
344334
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -347,13 +337,13 @@ functions:
347337
args: [*task-runner, setup-test]
348338
- command: subprocess.exec
349339
type: test
340+
retry_on_failure: true
350341
params:
351342
binary: bash
352343
args: [*task-runner, test-atlas-connect]
353344

354345
run-ocsp-test:
355346
- command: subprocess.exec
356-
type: test
357347
params:
358348
binary: bash
359349
env:
@@ -364,14 +354,14 @@ functions:
364354
args: [*task-runner, setup-test]
365355
- command: subprocess.exec
366356
type: test
357+
retry_on_failure: true
367358
params:
368359
binary: bash
369360
include_expansions_in_env: [OCSP_TLS_SHOULD_SUCCEED]
370361
args: [*task-runner, evg-test-ocsp]
371362

372363
run-versioned-api-test:
373364
- command: subprocess.exec
374-
type: test
375365
params:
376366
binary: bash
377367
env:
@@ -381,13 +371,13 @@ functions:
381371
args: [*task-runner, setup-test]
382372
- command: subprocess.exec
383373
type: test
374+
retry_on_failure: true
384375
params:
385376
binary: bash
386377
args: [*task-runner, evg-test-versioned-api]
387378

388379
run-load-balancer-tests:
389380
- command: subprocess.exec
390-
type: test
391381
params:
392382
binary: bash
393383
include_expansions_in_env: [SINGLE_MONGOS_LB_URI, MULTI_MONGOS_LB_URI, AUTH, SSL, MONGO_GO_DRIVER_COMPRESSOR]
@@ -396,13 +386,13 @@ functions:
396386
args: [*task-runner, setup-test]
397387
- command: subprocess.exec
398388
type: test
389+
retry_on_failure: true
399390
params:
400391
binary: bash
401392
args: [*task-runner, evg-test-load-balancers]
402393

403394
run-atlas-data-lake-test:
404395
- command: subprocess.exec
405-
type: test
406396
params:
407397
binary: "bash"
408398
env:
@@ -413,6 +403,7 @@ functions:
413403
args: [*task-runner, setup-test]
414404
- command: subprocess.exec
415405
type: test
406+
retry_on_failure: true
416407
params:
417408
binary: "bash"
418409
args: [*task-runner, evg-test-atlas-data-lake]
@@ -595,7 +586,6 @@ functions:
595586

596587
run-kms-tls-test:
597588
- command: subprocess.exec
598-
type: test
599589
params:
600590
binary: "bash"
601591
env:
@@ -605,14 +595,14 @@ functions:
605595
args: [*task-runner, setup-test]
606596
- command: subprocess.exec
607597
type: test
598+
retry_on_failure: true
608599
params:
609600
binary: "bash"
610601
include_expansions_in_env: [KMS_TLS_TESTCASE]
611602
args: [*task-runner, evg-test-kms]
612603

613604
run-kmip-tests:
614605
- command: subprocess.exec
615-
type: test
616606
params:
617607
binary: "bash"
618608
env:
@@ -622,6 +612,7 @@ functions:
622612
args: [*task-runner, setup-test]
623613
- command: subprocess.exec
624614
type: test
615+
retry_on_failure: true
625616
params:
626617
binary: "bash"
627618
env:
@@ -630,7 +621,6 @@ functions:
630621

631622
run-retry-kms-requests:
632623
- command: subprocess.exec
633-
type: test
634624
params:
635625
binary: "bash"
636626
env:
@@ -640,6 +630,7 @@ functions:
640630
args: [*task-runner, setup-test]
641631
- command: subprocess.exec
642632
type: test
633+
retry_on_failure: true
643634
params:
644635
binary: "bash"
645636
env:
@@ -670,12 +661,18 @@ tasks:
670661
binary: bash
671662
args: [*task-runner, check-fmt, check-license, check-modules, lint]
672663

664+
- name: govulncheck
665+
tags: ["static-analysis"]
666+
commands:
667+
- command: subprocess.exec
668+
params:
669+
binary: bash
670+
args: [*task-runner, govulncheck]
671+
673672
- name: pull-request-helpers
674673
allowed_requesters: ["patch", "github_pr"]
675674
commands:
676675
- func: assume-test-secrets-ec2-role
677-
- func: "add PR reviewer"
678-
- func: "add PR labels"
679676
- func: "create-api-report"
680677

681678
- name: backport-pr
@@ -698,7 +695,9 @@ tasks:
698695
params:
699696
binary: bash
700697
args: [*task-runner, driver-benchmark]
698+
- func: assume-test-secrets-ec2-role
701699
- func: send-perf-data
700+
- func: send-perf-pr-comment
702701

703702
- name: test-standalone-noauth-nossl
704703
tags: ["test", "standalone"]
@@ -2111,8 +2110,9 @@ task_groups:
21112110
params:
21122111
working_dir: src/go.mongodb.org/mongo-driver
21132112
binary: bash
2114-
add_expansions_to_env: true
2113+
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
21152114
env:
2115+
MONGODB_VERSION: ${VERSION}
21162116
LAMBDA_STACK_NAME: dbx-go-lambda
21172117
args:
21182118
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh
@@ -2137,12 +2137,14 @@ task_groups:
21372137
- name: test-search-index-task-group
21382138
setup_group:
21392139
- func: setup-system
2140+
- func: assume-test-secrets-ec2-role
21402141
- command: subprocess.exec
21412142
params:
21422143
working_dir: src/go.mongodb.org/mongo-driver
21432144
binary: bash
2145+
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
21442146
env:
2145-
MONGODB_VERSION: "7.0"
2147+
MONGODB_VERSION: ${VERSION}
21462148
LAMBDA_STACK_NAME: dbx-go-lambda
21472149
args:
21482150
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh

.github/labeler.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
2-
priority-3-low:
1+
review-priority-normal:
32
- changed-files:
43
- any-glob-to-any-file: '*'
54

65
documentation:
76
- changed-files:
8-
- any-glob-to-any-file:
7+
- any-glob-to-any-file:
98
- docs/**
109
- examples/**
1110

1211
dependencies:
1312
- changed-files:
14-
- any-glob-to-any-file:
13+
- any-glob-to-any-file:
1514
- go.mod

.github/release.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@ changelog:
22
exclude:
33
labels:
44
- ignore-for-release
5+
- github_actions
56
- submodules
67
authors:
78
- mongodb-drivers-pr-bot
89
categories:
9-
- title: Breaking Changes 🛠
10+
- title: ⚠️ Breaking Changes
1011
labels:
11-
- breaking-change
12-
- title: New Features
12+
- breaking
13+
- title: New Features
1314
labels:
1415
- enhancement
15-
- title: Fixed
16+
- feature
17+
- title: 🐛 Fixed
1618
labels:
1719
- bug
18-
- fixed
19-
- title: Other Changes
20+
- title: 📦 Dependency Updates
21+
labels:
22+
- dependencies
23+
- title: 📝 Other Changes
2024
labels:
2125
- "*"

.github/reviewers.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/check-labels.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Label Checker
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- synchronize
7+
- reopened
8+
- labeled
9+
- unlabeled
10+
11+
jobs:
12+
check_labels:
13+
name: Check labels
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: docker://agilepathway/pull-request-label-checker:latest
17+
with:
18+
one_of: bug,feature,enhancement,documentation,dependencies
19+
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "v1", "cloud-*", "master", "release/*" ]
5+
branches:
6+
- "v1"
7+
- "cloud-*"
8+
- "master"
9+
- "release/*"
10+
- "feature/*"
611
pull_request:
7-
branches: [ "v1", "cloud-*", "master", "release/*" ]
12+
branches:
13+
- "v1"
14+
- "cloud-*"
15+
- "master"
16+
- "release/*"
17+
- "feature/*"
818
schedule:
919
- cron: '36 17 * * 0'
1020
workflow_call:
@@ -24,7 +34,7 @@ jobs:
2434

2535
steps:
2636
- name: Checkout repository
27-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
2838

2939
# Initializes the CodeQL tools for scanning.
3040
- name: Initialize CodeQL

.github/workflows/labeler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)