Skip to content

Conversation

@mongodb-php-bot
Copy link
Collaborator

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

Commits

Resolving conflicts

To resolve any conflicts, check out the temporary branch and run the following command:
git merge 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.1

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

@mongodb-php-bot mongodb-php-bot requested a review from a team as a code owner December 18, 2025 10:33
@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
6809 1 6808 1860
View the full list of 8 ❄️ flaky test(s)
MongoDB.Tests.SpecTests.Crud.Prose13_BulkWriteUnsupportedForAutoEncryptionTest::testErrorIfAutoEncryptionIsConfigured

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.0148s run time
MongoDB\Tests\SpecTests\Crud\Prose13_BulkWriteUnsupportedForAutoEncryptionTest::testErrorIfAutoEncryptionIsConfigured
InvalidArgumentException was not thrown

.../SpecTests/Crud/Prose13_BulkWriteUnsupportedForAutoEncryptionTest.php:35
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/implicit sessions default causal consistency: afterClusterTime is not sent on retried read in implicit session when readConcern level is snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.692s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/implicit sessions default causal consistency: afterClusterTime is not sent on retried read in implicit session when readConcern level is snapshot"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #148118 (
-    0 => MongoDB\Model\BSONDocument Object #148172 (
-        '_id' => 1,
-        'x' => 'snapshot',
-    ),
-)
+MongoDB\Model\BSONArray Object #148159 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Aggregate operation with snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.0945s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Aggregate operation with snapshot"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #149215 (
-    0 => MongoDB\Model\BSONDocument Object #149205 (
-        '_id' => 1,
-        'x' => 11,
-    ),
-)
+MongoDB\Model\BSONArray Object #149197 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Distinct operation with snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.0956s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Distinct operation with snapshot"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #149162 (
-    0 => 11,
-)
+MongoDB\Model\BSONArray Object #149164 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Find operation with snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.0915s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Find operation with snapshot"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #150047 (
-    0 => MongoDB\Model\BSONDocument Object #150032 (
-        '_id' => 1,
-        'x' => 11,
-    ),
-)
+MongoDB\Model\BSONArray Object #148852 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Mixed operation with snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.12s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Mixed operation with snapshot"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #149301 (
-    0 => MongoDB\Model\BSONDocument Object #149292 (
-        '_id' => 1,
-        'x' => 11,
-    ),
-)
+MongoDB\Model\BSONArray Object #149265 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Write commands with snapshot session do not affect snapshot reads"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.115s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: Write commands with snapshot session do not affect snapshot reads"
Failed asserting that expected value matches actual value.
$actual count is 0, expected 1
--- Expected
+++ Actual
@@ @@
-MongoDB\Model\BSONArray Object #149332 (
-    0 => MongoDB\Model\BSONDocument Object #149311 (
-        '_id' => 1,
-        'x' => 11,
-    ),
-)
+MongoDB\Model\BSONArray Object #149327 ()

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275
MongoDB.Tests.UnifiedSpecTests.UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: countDocuments operation with snapshot"

Flake rate in main: 9.09% (Passed 30 times, Failed 3 times)

Stack Traces | 0.11s run time
MongoDB\Tests\UnifiedSpecTests\UnifiedSpecTest::testSessions with data set "sessions/snapshot-sessions: countDocuments operation with snapshot"
Failed asserting that expected value matches actual value.
Failed asserting that 0 matches expected 2.
--- Expected
+++ Actual
@@ @@
-2
+0

.../UnifiedSpecTests/Constraint/Matches.php:112
.../tests/UnifiedSpecTests/ExpectedResult.php:48
.../tests/UnifiedSpecTests/Operation.php:164
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:213
.../tests/UnifiedSpecTests/UnifiedTestRunner.php:105
.../tests/UnifiedSpecTests/UnifiedSpecTest.php:275

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-php-bot mongodb-php-bot merged commit f573511 into v2.x Dec 18, 2025
42 of 54 checks passed
@mongodb-php-bot mongodb-php-bot deleted the merge-v2.1-into-v2.x-1766053984824 branch December 18, 2025 10:52
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.

5 participants