Skip to content

Commit 7acc87a

Browse files
Jibolaclaude
andcommitted
Merge upstream/backpressure
Resolve merge conflicts by taking upstream versions, which represent the refined evolution of local prototype backpressure work. Co-Authored-By: Claude Code <[email protected]>
2 parents 27785ae + 3f64de3 commit 7acc87a

423 files changed

Lines changed: 89863 additions & 8328 deletions

File tree

Some content is hidden

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

.codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# do not notify until at least 100 builds have been uploaded from the CI pipeline
2+
# you can also set after_n_builds on comments independently
3+
comment:
4+
after_n_builds: 100

.evergreen/combine-coverage.sh

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@
55

66
set -eu
77

8-
. .evergreen/utils.sh
8+
# Set up the virtual env.
9+
. .evergreen/scripts/setup-dev-env.sh
10+
uv sync --group coverage
11+
source .venv/bin/activate
912

10-
if [ -z "${PYTHON_BINARY:-}" ]; then
11-
PYTHON_BINARY=$(find_python3)
12-
fi
13-
14-
createvirtualenv "$PYTHON_BINARY" covenv
15-
# Keep in sync with run-tests.sh
16-
# coverage >=5 is needed for relative_files=true.
17-
pip install -q "coverage[toml]>=5,<=7.5"
18-
19-
pip list
2013
ls -la coverage/
2114

22-
python -m coverage combine coverage/coverage.*
23-
python -m coverage html -d htmlcov
15+
coverage combine coverage/coverage.*
16+
coverage html -d htmlcov

.evergreen/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ post:
3838
# Disabled, causing timeouts
3939
# - func: "upload working dir"
4040
- func: "teardown system"
41+
- func: "upload codecov"
4142
- func: "upload coverage"
4243
- func: "upload mo artifacts"
4344
- func: "upload test results"

.evergreen/generated_configs/functions.yml

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ functions:
101101
- AUTH
102102
- SSL
103103
- ORCHESTRATION_FILE
104-
- PYTHON_BINARY
105-
- PYTHON_VERSION
104+
- UV_PYTHON
105+
- TOOLCHAIN_VERSION
106106
- STORAGE_ENGINE
107107
- REQUIRE_API_VERSION
108108
- DRIVERS_TOOLS
@@ -134,10 +134,10 @@ functions:
134134
- AWS_SECRET_ACCESS_KEY
135135
- AWS_SESSION_TOKEN
136136
- COVERAGE
137-
- PYTHON_BINARY
137+
- UV_PYTHON
138138
- LIBMONGOCRYPT_URL
139139
- MONGODB_URI
140-
- PYTHON_VERSION
140+
- TOOLCHAIN_VERSION
141141
- DISABLE_TEST_COMMANDS
142142
- GREEN_FRAMEWORK
143143
- NO_EXT
@@ -151,6 +151,7 @@ functions:
151151
- VERSION
152152
- IS_WIN32
153153
- REQUIRE_FIPS
154+
- TEST_MIN_DEPS
154155
type: test
155156
- command: subprocess.exec
156157
params:
@@ -238,6 +239,40 @@ functions:
238239
working_dir: src
239240
type: test
240241

242+
# Test numpy
243+
test numpy:
244+
- command: subprocess.exec
245+
params:
246+
binary: bash
247+
args:
248+
- .evergreen/just.sh
249+
- test-numpy
250+
working_dir: src
251+
include_expansions_in_env:
252+
- TOOLCHAIN_VERSION
253+
- COVERAGE
254+
type: test
255+
256+
# Upload coverage codecov
257+
upload codecov:
258+
- command: subprocess.exec
259+
params:
260+
binary: bash
261+
args:
262+
- .evergreen/scripts/upload-codecov.sh
263+
working_dir: src
264+
include_expansions_in_env:
265+
- CODECOV_TOKEN
266+
- build_variant
267+
- task_name
268+
- github_commit
269+
- github_pr_number
270+
- github_pr_head_branch
271+
- github_author
272+
- requester
273+
- branch_name
274+
type: test
275+
241276
# Upload coverage
242277
upload coverage:
243278
- command: ec2.assume_role

0 commit comments

Comments
 (0)