Skip to content

Conversation

@alcaeus
Copy link
Member

@alcaeus alcaeus commented Dec 18, 2025

This fixes failing tests related to QE support for bulk writes (PHPLIB-1712) as well as those related to the cluster time gossiping for single-threaded connections (PHPC-2655). Note that while we may fully support QE in bulk writes, this is tested using recently added encryption support in the unified test format which we have not implemented yet (PHPLIB-1630).

@alcaeus alcaeus requested a review from a team as a code owner December 18, 2025 12:24
@alcaeus alcaeus requested review from Copilot and paulinevos and removed request for Copilot December 18, 2025 12:24
@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.72%. Comparing base (004a3c0) to head (c69fcdc).
⚠️ Report is 2 commits behind head on v2.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               v2.x    #1815   +/-   ##
=========================================
  Coverage     87.72%   87.72%           
  Complexity     3195     3195           
=========================================
  Files           424      424           
  Lines          6296     6296           
=========================================
  Hits           5523     5523           
  Misses          773      773           
Flag Coverage Δ
6.0-replica_set 85.70% <ø> (ø)
6.0-server 81.70% <ø> (ø)
6.0-sharded_cluster 85.29% <ø> (ø)
8.0-replica_set 87.64% <ø> (ø)
8.0-server 82.54% <ø> (ø)
8.0-sharded_cluster 87.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines +77 to +83
'sessions/snapshot-sessions: Find operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/snapshot-sessions: Distinct operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/snapshot-sessions: Aggregate operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/snapshot-sessions: countDocuments operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/snapshot-sessions: Mixed operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/snapshot-sessions: Write commands with snapshot session do not affect snapshot reads' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
'sessions/implicit sessions default causal consistency: afterClusterTime is not sent on retried read in implicit session when readConcern level is snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you have to skip this tests now, without updating the specifications submodule.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch pulls in the newer extension version, which brings in libmongoc 2.2.1. An issue (CDRIVER-6173) breaks cluster time gossiping for single-threaded connections, breaking these tests.

@alcaeus alcaeus merged commit 8eb0501 into mongodb:v2.x Dec 18, 2025
33 checks passed
@alcaeus alcaeus deleted the fix-build branch December 18, 2025 13:45
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.

4 participants