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

fix: Set default deployment and sandbox values for platforms for first-time user scenarios #1085

Open
wants to merge 21 commits into
base: release-3.3.5
Choose a base branch
from

Conversation

paulhazen
Copy link
Collaborator

@paulhazen paulhazen commented Jan 16, 2025

This PR addresses an issue discovered during the testing of the upcoming release - wherein first-time users would have difficulty properly setting the Deployment information for the platform of their choice.

With this change - when a deployment is set for the first time (by defining a DeploymentId and a SandboxId in EOS Plugin -> EOS Configuration) - that deployment will be selected for each of the platform configurations.

Prior to this change it was possible to get into a state where the deployment set for the platform configuration would be incompletely defined. It was not initially caught because emphasis was placed on testing the most common use scenario - where a user already had deployment values defined. Testing for the release revealed the gap in testing that occluded the first-time user scenario. Such testing is now complete, and this PR addresses the identified shortcomings.

#EOS-2355

@paulhazen paulhazen added fix PR contains a fix. tracked This issue has a corresponding task in our internal bug tracking system release labels Jan 16, 2025
@paulhazen paulhazen self-assigned this Jan 16, 2025
…members, and add ToString method to aid in better logging.
…PlatformConfig for a given PlatformManager.Platform value.
…ts the deployment information for all available platforms when a deployment is defined for the first time in ProductConfig.
…an properly be overidden in deriving classes.
…n edits being made to platformconfigs - and properly update the user interface to reflect the changes.
…thin ProductConfig to properly associate the first sandbox and deployments added.
}
}

protected override void OnWriteCompleted()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Within this PR, this is the meat of the change. All other changes are in service of accomplishing what this function accomplishes. It would be sensible to review the PR starting by reading this function.

@paulhazen paulhazen marked this pull request as ready for review January 17, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix PR contains a fix. release tracked This issue has a corresponding task in our internal bug tracking system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant