Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(NODE-6390): Add timeoutMS support to auto encryption #4265

Draft
wants to merge 61 commits into
base: NODE-6090
Choose a base branch
from

Conversation

aditi-khare-mongoDB
Copy link
Contributor

@aditi-khare-mongoDB aditi-khare-mongoDB commented Oct 2, 2024

Description

Auto encryption encrypt and decrypt helpers now respect timeoutMS.

What is changing?

  • Added timeoutContext to stateMachine.execute call in AutoEncrypter.encrypt/decrypt
  • Unit tests for AutoEncrypter.encrypt/decrypt respecting timeoutMS
  • Unit tests for CryptoConnection.command respecting timeoutMS
Is there new documentation needed for these changes?

No

What is the motivation for this change?

CSOT

Release Highlight

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

W-A-James and others added 30 commits September 12, 2024 13:43
lint

fix

prose test 2
@aditi-khare-mongoDB aditi-khare-mongoDB changed the base branch from main to NODE-6090 October 2, 2024 21:30
@aditi-khare-mongoDB aditi-khare-mongoDB changed the base branch from NODE-6090 to NODE-6389 October 2, 2024 21:30
@aditi-khare-mongoDB aditi-khare-mongoDB changed the title feat(NODE-6390): Add timeoutMS support to AutoEncrypter and CryptoConnection feat(NODE-6390): Add timeoutMS support to auto encryption Oct 2, 2024
temp

temp

ready
Base automatically changed from NODE-6389 to NODE-6090 October 7, 2024 18:37
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