Skip to content

Merge v2.3 into v2.x#2015

Merged
mongodb-drivers-pr-bot[bot] merged 1 commit intov2.xfrom
merge-v2.3-into-v2.x-1777979821758
May 5, 2026
Merged

Merge v2.3 into v2.x#2015
mongodb-drivers-pr-bot[bot] merged 1 commit intov2.xfrom
merge-v2.3-into-v2.x-1777979821758

Conversation

@mongodb-drivers-pr-bot
Copy link
Copy Markdown
Contributor

Merge new changes from v2.3 into v2.x.

Commits

Resolving conflicts

To resolve any conflicts, check out the temporary branch and run the following command:
git merge v2.x -m "Resolve conflicts in v2.x"

Ignoring changes

To ignore from the remote branch, first reset the temporary branch to v2.x and manually merge using the `ours` merge strategy:
git reset --hard v2.x
git merge --strategy=ours v2.3 -m "Ignore changes from v2.3"

Then, push the temporary branch to upate the pull request.

…ne vs. in-tree, in-source vs. out-of-source) (#2014)

* PHPC-2647: Write generated config headers to extension build directory

Use PHP_EXT_BUILDDIR as the base for all AC_CONFIG_FILES paths so that
generated config headers (common-config.h, bson/config.h, mongoc-config.h,
etc.) are written to the extension's build directory rather than its source
directory, keeping the source tree clean for out-of-source builds.

Add PHP_MONGODB_ADD_BUILD_INCLUDE to php_mongodb.m4 as the counterpart to
PHP_MONGODB_ADD_INCLUDE: it adds a compiler include path relative to the
extension build directory (PHP_EXT_BUILDDIR), which is needed so the
compiler can find the generated config headers regardless of whether the
build is in-source or out-of-source.

Call PHP_MONGODB_ADD_BUILD_INCLUDE for each directory that receives a
generated header via AC_CONFIG_FILES: common/src, libbson/src/bson,
libmongoc/src/mongoc, and conditionally zlib-1.3.1 and libmongocrypt/src.

* Test both in-source and out-of-source for in-tree builds

* Correctly expand build directory before adding as include

* Fail on unsupported modes

* Fix comment to match matrix value (in-source, not from-source)
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot Bot requested a review from a team as a code owner May 5, 2026 11:17
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot Bot requested review from GromNaN and removed request for a team May 5, 2026 11:17
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot Bot enabled auto-merge May 5, 2026 11:17
@codecov-commenter
Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
2096 1 2095 149
View the top 1 failed test(s) by shortest run time
::tests/manager/manager-executeCommand_error-003.phpt (MongoDB\Driver\Manager::executeCommand() connection error)
Stack Traces | 0.0193s run time
001- OK: Got MongoDB\Driver\Exception\ConnectionTimeoutException
002- No suitable servers found (`serverSelectionTryOnce` set): %s
003- ===DONE===
001+ .../src/mongoc/mongoc-rpc.c:428 mcd_rpc_message_ingress(): Unreachable code reached: unexpected OP_QUERY ingress
002+ Aborted
003+ 
004+ Termsig=6

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot Bot merged commit f3f6a5c into v2.x May 5, 2026
79 of 80 checks passed
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot Bot deleted the merge-v2.3-into-v2.x-1777979821758 branch May 5, 2026 12:59
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