Skip to content

Merge v1.21 into v2.3 - #1962

Merged
mongodb-php-bot merged 2 commits into
v2.3from
merge-v1.21-into-v2.3-1787062213200
Aug 19, 2026
Merged

Merge v1.21 into v2.3#1962
mongodb-php-bot merged 2 commits into
v2.3from
merge-v1.21-into-v2.3-1787062213200

Conversation

@mongodb-php-bot

Copy link
Copy Markdown
Collaborator

Merge new changes from v1.21 into v2.3.

Commits

Resolving conflicts

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

Ignoring changes

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

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

Enable 2 new features when creating merge-up PR:

- Add "merge-up" label
- Assign the approver of the merged pull request

Backport rector fixes and drivers-evergreen-tools update in order to make the CI pass
@evergreen-ci-prod

Copy link
Copy Markdown

There is an existing patch(es) for this commit SHA:

Please note that the status that is posted is not in the context of this PR but rather the (latest) existing patch and that may affect some tests that may depend on the particular PR. If your tests do not rely on any PR-specific values (like base or head branch name) then your tests will report the same status. If you would like a patch to run in the context of this PR and abort the other(s), comment 'evergreen retry'.

Comment thread .github/workflows/merge-up.yml
@codecov-commenter

codecov-commenter commented Aug 18, 2026

Copy link
Copy Markdown

❌ 38 Tests Failed:

Tests completed Failed Passed Skipped
5917 38 5879 1099
View the full list of 41 ❄️ flaky test(s)
MongoDB.Tests.Operation.WatchFunctionalTest::testResumeAfterOption with data set "Codec"

Flake rate in main: 4.82% (Passed 79 times, Failed 4 times)

Stack Traces | 2.13s run time
MongoDB\Tests\Operation\WatchFunctionalTest::testResumeAfterOption with data set "Codec"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'{ "_data" : "826A85C9EB000000032B042C0100296E5A1004FAAFA4AB23A047898785DF2D35AC92B0463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F6964002B02000004" }'
+'{ "_data" : "826A85C9EB000000032B0429296E1404" }'

.../src/tests/TestCase.php:108
.../tests/Operation/WatchFunctionalTest.php:868
MongoDB.Tests.Operation.WatchFunctionalTest::testResumeAfterOption with data set "No codec"

Flake rate in main: 4.26% (Passed 45 times, Failed 2 times)

Stack Traces | 2.14s run time
MongoDB\Tests\Operation\WatchFunctionalTest::testResumeAfterOption with data set "No codec"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'{ "_data" : "826A883D9D000000012B042C0100296E5A1004B22E69952F3E4545A53578710F9AFCB5463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F6964002B02000004" }'
+'{ "_data" : "826A883D9D000000012B0429296E1404" }'

.../src/tests/TestCase.php:108
.../tests/Operation/WatchFunctionalTest.php:868
MongoDB.Tests.Operation.WatchFunctionalTest::testRewindExtractsResumeTokenAndNextResumes with data set "No codec"

Flake rate in main: 8.33% (Passed 11 times, Failed 1 times)

Stack Traces | 2.13s run time
MongoDB\Tests\Operation\WatchFunctionalTest::testRewindExtractsResumeTokenAndNextResumes with data set "No codec"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'{ "_data" : "826A85CAD0000000032B042C0100296E5A100424396763570B4595A01AE532FBB6F345463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F6964002B02000004" }'
+'{ "_data" : "826A85CAD0000000032B0429296E1404" }'

.../src/tests/TestCase.php:108
.../tests/Operation/WatchFunctionalTest.php:814
MongoDB.Tests.Operation.WatchFunctionalTest::testStartAfterOption with data set "Codec"

Flake rate in main: 6.90% (Passed 27 times, Failed 2 times)

Stack Traces | 2.14s run time
MongoDB\Tests\Operation\WatchFunctionalTest::testStartAfterOption with data set "Codec"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'{ "_data" : "826A85C8FC000000032B042C0100296E5A1004DCF35A08B45243DA85030C86A1A591B2463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F6964002B02000004" }'
+'{ "_data" : "826A85C8FC000000032B0429296E1404" }'

.../src/tests/TestCase.php:108
.../tests/Operation/WatchFunctionalTest.php:916
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Date"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.255s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:188
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "DoubleNoPrecision"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.244s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "DoubleNoPrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoubleNoPrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:188
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "DoublePrecision"

Flake rate in main: 13.74% (Passed 113 times, Failed 18 times)

Stack Traces | 0.239s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:188
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Int"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.238s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:188
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Long"

Flake rate in main: 5.00% (Passed 19 times, Failed 1 times)

Stack Traces | 0.241s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase1_CanDecryptAPayload with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:188
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Date"

Flake rate in main: 11.76% (Passed 15 times, Failed 2 times)

Stack Traces | 0.233s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:219
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "DoubleNoPrecision"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.261s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "DoubleNoPrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoubleNoPrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:219
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "DoublePrecision"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.234s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:219
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Int"

Flake rate in main: 11.11% (Passed 48 times, Failed 6 times)

Stack Traces | 0.241s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:219
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Long"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.237s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase2_CanFindEncryptedRangeAndReturnTheMaximum with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:219
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Date"

Flake rate in main: 26.57% (Passed 105 times, Failed 38 times)

Stack Traces | 0.23s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:254
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "DoubleNoPrecision"

Flake rate in main: 14.43% (Passed 83 times, Failed 14 times)

Stack Traces | 0.229s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "DoubleNoPrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoubleNoPrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:254
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "DoublePrecision"

Flake rate in main: 16.30% (Passed 77 times, Failed 15 times)

Stack Traces | 0.236s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:254
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Int"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.248s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:254
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Long"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.245s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase3_CanFindEncryptedRangeAndReturnTheMinimum with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:254
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Date"

Flake rate in main: 14.43% (Passed 83 times, Failed 14 times)

Stack Traces | 0.247s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:288
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "DoubleNoPrecision"

Flake rate in main: 14.06% (Passed 55 times, Failed 9 times)

Stack Traces | 0.244s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "DoubleNoPrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoubleNoPrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:288
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "DoublePrecision"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.249s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:288
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Int"

Flake rate in main: 14.52% (Passed 53 times, Failed 9 times)

Stack Traces | 0.235s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:288
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Long"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.24s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase4_CanFindEncryptedRangeWithAnOpenRangeQuery with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:288
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Date"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.235s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:313
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "DoubleNoPrecision"

Flake rate in main: 12.82% (Passed 34 times, Failed 5 times)

Stack Traces | 0.254s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "DoubleNoPrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoubleNoPrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:313
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "DoublePrecision"

Flake rate in main: 13.55% (Passed 134 times, Failed 21 times)

Stack Traces | 0.236s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:313
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Int"

Flake rate in main: 7.86% (Passed 129 times, Failed 11 times)

Stack Traces | 0.231s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:313
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Long"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.24s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase5_CanRunAnAggregationExpressionInsideExpr with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:313
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Date"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.234s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:347
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "DoublePrecision"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.229s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:347
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Int"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.225s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:347
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Long"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.247s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase6_EncryptingADocumentGreaterThanTheMaximumErrors with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:347
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Date"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.239s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:371
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "DoublePrecision"

Flake rate in main: 5.00% (Passed 19 times, Failed 1 times)

Stack Traces | 0.242s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "DoublePrecision"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDoublePrecision' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:371
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Int"

Flake rate in main: 28.57% (Passed 5 times, Failed 2 times)

Stack Traces | 0.25s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:371
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Long"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.233s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase7_EncryptingAValueOfADifferentTypeErrors with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:371
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Date"

Flake rate in main: 11.11% (Passed 8 times, Failed 1 times)

Stack Traces | 0.255s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Date"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedDate' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:395
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Int"

Flake rate in main: 19.35% (Passed 75 times, Failed 18 times)

Stack Traces | 0.259s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Int"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedInt' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:395
MongoDB.Tests.SpecTests.ClientSideEncryption.Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Long"

Flake rate in main: 17.22% (Passed 173 times, Failed 36 times)

Stack Traces | 0.244s run time
MongoDB\Tests\SpecTests\ClientSideEncryption\Prose22_RangeExplicitEncryptionTest::testCase8_SettingPrecisionErrorsIfTheTypeIsNotDoubleOrDecimal128 with data set "Long"
MongoDB\Driver\Exception\BulkWriteException: trimFactor 6 in payload for field 'encryptedLong' does not match collection's configured trimFactor 1

.../src/Operation/InsertMany.php:134
.../src/src/Collection.php:857
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:105
.../SpecTests/ClientSideEncryption/Prose22_RangeExplicitEncryptionTest.php:395
MongoDB.Tests.SpecTests.ClientSideEncryptionSpecTest::testExplicitEncryption with data set "Case 2: can insert encrypted indexed and find with non-zero contention"

Flake rate in main: 17.24% (Passed 48 times, Failed 10 times)

Stack Traces | 0.245s run time
MongoDB\Tests\SpecTests\ClientSideEncryptionSpecTest::testExplicitEncryption with data set "Case 2: can insert encrypted indexed and find with non-zero contention"
MongoDB\Driver\Exception\BulkWriteException: contentionFactor 10 in payload for field 'encryptedIndexed' exceeds collection's configured contention 0

.../src/Operation/InsertOne.php:114
.../src/src/Collection.php:877
.../tests/SpecTests/ClientSideEncryptionSpecTest.php:1410
.../tests/SpecTests/ClientSideEncryptionSpecTest.php:1363

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

@GromNaN
GromNaN force-pushed the merge-v1.21-into-v2.3-1787062213200 branch 2 times, most recently from a9773ca to ac3ae69 Compare August 19, 2026 14:26
# Conflicts:
#	.github/workflows/merge-up.yml
#	rector.php
#	tests/Model/IndexInfoFunctionalTest.php
@GromNaN
GromNaN force-pushed the merge-v1.21-into-v2.3-1787062213200 branch from ac3ae69 to 29ce890 Compare August 19, 2026 14:39
@mongodb-php-bot
mongodb-php-bot merged commit 0e85af5 into v2.3 Aug 19, 2026
35 checks passed
@mongodb-php-bot
mongodb-php-bot deleted the merge-v1.21-into-v2.3-1787062213200 branch August 19, 2026 15:07
This was referenced Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants