Skip to content

RUBY-3600 Skip aggregate $out test in retryable writes spec on serverless#3051

Merged
jamis merged 1 commit into
mongodb:masterfrom
jamis:3600-skip-aggregate-out-test
May 27, 2026
Merged

RUBY-3600 Skip aggregate $out test in retryable writes spec on serverless#3051
jamis merged 1 commit into
mongodb:masterfrom
jamis:3600-skip-aggregate-out-test

Conversation

@jamis
Copy link
Copy Markdown
Contributor

@jamis jamis commented May 26, 2026

  • Syncs the retryable writes unified spec tests with specifications commit ce9b56b
  • Adds aggregate-out-merge.yml, which tests that aggregate with $out/$merge does not set txnNumber
  • The $out test carries a serverless: forbid requirement since $out is not supported on serverless

Test plan

  • Run bundle exec rspec spec/spec_tests/retryable_writes_unified_spec.rb against a local replica set and confirm 0 failures

…rless

Sync the retryable writes unified spec tests with specifications commit
ce9b56ba3ed76cb4ebca9d4b760260548007dce6, which adds aggregate-out-merge.yml.
The \$out test carries a serverless: forbid requirement since \$out is not
supported on serverless.
@jamis jamis requested a review from a team as a code owner May 26, 2026 19:27
@jamis jamis requested review from comandeo-mongo and Copilot May 26, 2026 19:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new retryable-writes unified spec test to ensure aggregate with $out / $merge does not include txnNumber in the command, aligning the driver’s behavior with the updated unified test specifications.

Changes:

  • Added aggregate-out-merge.yml unified spec test file covering $out and $merge pipelines.
  • Marked the $out test with serverless: forbid because $out is unsupported on serverless.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamis jamis merged commit 2beb800 into mongodb:master May 27, 2026
222 of 223 checks passed
@jamis jamis deleted the 3600-skip-aggregate-out-test branch May 27, 2026 15:26
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.

3 participants