Skip to content

Conversation

@blva
Copy link
Collaborator

@blva blva commented Jun 11, 2025

Proposed changes

Jira ticket: CLOUDP-323575

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

Further comments

@blva blva marked this pull request as ready for review June 11, 2025 15:24
@blva blva requested review from a team as code owners June 11, 2025 15:24
@github-actions github-actions bot added the need-doc-review Improvements or additions to documentation, will be reviewed by the docs team label Jun 11, 2025
@github-actions
Copy link
Contributor

Coverage Report 📈

Branch Commit Coverage
CLOUDP-302696-clusters-iss-epic 8eea38d 25.2%
CLOUDP-323575 f7171c3 25.4%
Difference .2%

@github-actions
Copy link
Contributor

APIx Bot :bowtie:: a message has been sent to Docs Slack channel 🚀.

Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

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

LGTM

depends_on:
- name: atlas_clusters_flags_e2e
variant: "e2e_atlas_clusters"
patch_optional: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this field patch_optional new? 😮

Copy link
Collaborator

Choose a reason for hiding this comment

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

for other curiour rewiers

patch_optional - boolean (default: false). If true the dependency will only exist when the depended on task is present in the version at the time the dependent task is created. The depended on task will not be automatically pulled in to the version. This means that, despite the name of the field, patch_optional makes the dependency optional for all versions, not just patches.

:copyable: false

# Deploy a three-member sharded cluster with independent shard scaling mode named myRS in GCP for the project with the ID 5e2211c17a3e5a48f5497de3:
atlas cluster create myRS --projectId 5e2211c17a3e5a48f5497de3 --provider GCP --region EASTERN_US --members 3 --tier M10 --mdbVersion 5.0 --diskSizeGB 10 --autoScalingMode independentShardScaling
Copy link
Collaborator

Choose a reason for hiding this comment

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

[Not-blocking] do we plan to provide an alias like ISS for the flag? independentShardScaling is quite long and easy to misspell

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nice point, I'll check w/ Jonny! Did we ever provide alias for flags in the past?

}
}

func removeReadOnlyAttributesLatest(out *atlasv2.ClusterDescription20240805) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does latest mean in this context? SDK? could you add a comment to clarify?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, we are using latest everywhere to indicate the latest cluster definition, I can add! thx

return cluster, nil
}

func (opts *CreateOpts) RunDedicatedClusterLatest() error {
Copy link
Collaborator

Choose a reason for hiding this comment

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

same about latest

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks! I'll add in my follow-up PR since this is minor

@blva blva merged commit 2e015f7 into CLOUDP-302696-clusters-iss-epic Jun 12, 2025
21 checks passed
@blva blva deleted the CLOUDP-323575 branch June 12, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

need-doc-review Improvements or additions to documentation, will be reviewed by the docs team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants