Skip to content

Conversation

@jremy42
Copy link
Contributor

@jremy42 jremy42 commented Dec 2, 2025

close #3337

@codecov-commenter
Copy link

codecov-commenter commented Dec 2, 2025

Codecov Report

❌ Patch coverage is 0% with 126 lines in your changes missing coverage. Please review.
✅ Project coverage is 1.67%. Comparing base (f826d8c) to head (89dae1d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ervices/mongodb/action_instance_snapshot_action.go 0.00% 125 Missing ⚠️
provider/framework.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #3494      +/-   ##
=========================================
- Coverage    1.67%   1.67%   -0.01%     
=========================================
  Files         428     429       +1     
  Lines       46746   46872     +126     
=========================================
  Hits          785     785              
- Misses      45873   45999     +126     
  Partials       88      88              

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

@jremy42 jremy42 force-pushed the feat/mongodb-instance-snapshot-action branch 17 times, most recently from 263c8dd to 8432199 Compare December 3, 2025 15:36
@jremy42 jremy42 marked this pull request as ready for review December 3, 2025 17:27
@jremy42 jremy42 requested a review from remyleone as a code owner December 3, 2025 17:27
Required: true,
Description: "MongoDB instance ID to snapshot. Can be a plain UUID or a regional ID.",
Validators: []validator.String{
stringvalidator.LengthAtLeast(1),
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this validator is very helpful. It should be either removed or replaced with a proper validator that can check for a localized/unlocalized id


snapshotName := data.Name.ValueString()
if snapshotName == "" {
snapshotName = "tf-mongodb-snapshot"
Copy link
Member

Choose a reason for hiding this comment

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

could you add action also here to have more context in this default value?

@jremy42 jremy42 force-pushed the feat/mongodb-instance-snapshot-action branch from da5f24c to 6075b7d Compare December 11, 2025 14:02
@jremy42 jremy42 force-pushed the feat/mongodb-instance-snapshot-action branch from 10a205b to 6c9bf36 Compare December 12, 2025 10:40
@remyleone remyleone added this pull request to the merge queue Dec 18, 2025
Merged via the queue into master with commit 9ed26b7 Dec 18, 2025
92 checks passed
@remyleone remyleone deleted the feat/mongodb-instance-snapshot-action branch December 18, 2025 10:12
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.

Add support for actions in mongodb

4 participants