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(core/serverGroup): Correct 'simple scaling' heuristic #7385

Merged
merged 4 commits into from
Oct 2, 2019
Merged

fix(core/serverGroup): Correct 'simple scaling' heuristic #7385

merged 4 commits into from
Oct 2, 2019

Conversation

danopia
Copy link
Contributor

@danopia danopia commented Sep 11, 2019

This was seemingly introduced from 6630f9b ( original aws-specific line, new generalized line )

The regression is that the "Capacity" section always considers the scaling mode to be "simple", and doesn't show the actual min/max capacity numbers, only Desired. Selecting the "Resize Server Group" function still displays correct numbers in its dialog, as shown below.

Screen Shot 2019-09-11 at 10 25 34 AM

Noticed using an AWS account.

This was seemingly introduced from 6630f9b

The regression is that the "Capacity" section always considers the scaling mode to be "simple", and doesn't show the actual min/max capacity numbers, only Desired.

Noticed using an AWS account.
@danopia
Copy link
Contributor Author

danopia commented Sep 18, 2019

I built this branch into an artifact and gave it to Halyard. Looks good from here:

Screen Shot 2019-09-18 at 2 51 36 PM

@spinnaker/reviewers

@avram
Copy link
Contributor

avram commented Sep 18, 2019

@spinnakerbot add-label provider/aws

@spinnakerbot
Copy link
Contributor

Sorry! "provider/aws" is not a label yet, and I don't create labels to avoid spam.

@ethanfrogers
Copy link
Contributor

@christopherthielen PTAL

@kevinawoo
Copy link
Member

hey hey @danopia and @avram would you be able to write a test so hopefully no one regresses it again 😞

@kevinawoo kevinawoo merged commit ee18eb0 into spinnaker:master Oct 2, 2019
Jammy-Louie pushed a commit to pivotal/deck that referenced this pull request Oct 2, 2019
…7385)

* fix(core/serverGroup): Correct 'simple scaling' heuristic

This was seemingly introduced from 6630f9b

The regression is that the "Capacity" section always considers the scaling mode to be "simple", and doesn't show the actual min/max capacity numbers, only Desired.

Noticed using an AWS account.

* fix(core/serverGroup): Adding test for capacity details
erikmunson pushed a commit to erikmunson/deck that referenced this pull request Oct 4, 2019
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (spinnaker#7488)
7d91de6 fix(pipeline): triggers were not reverting in the ui (spinnaker#7485)
5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (spinnaker#7487)
3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (spinnaker#7481)
523c6bb fix(triggers): fix a few minor issues with manual execution triggers (spinnaker#7484)
0d0caa9 fix(monitored deploy): properly initialize defaults (spinnaker#7473)
dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (spinnaker#7476)
6cd7e9d refactor(pipeline): Reactify the copy stage modal (spinnaker#7453)
5867de1 feat(precondition): add custom message to precondition (spinnaker#7448)
f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (spinnaker#7475)
ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (spinnaker#7385)
30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (spinnaker#7471)
f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (spinnaker#7467)
erikmunson pushed a commit that referenced this pull request Oct 4, 2019
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (#7488)
7d91de6 fix(pipeline): triggers were not reverting in the ui (#7485)
5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (#7487)
3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (#7481)
523c6bb fix(triggers): fix a few minor issues with manual execution triggers (#7484)
0d0caa9 fix(monitored deploy): properly initialize defaults (#7473)
dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (#7476)
6cd7e9d refactor(pipeline): Reactify the copy stage modal (#7453)
5867de1 feat(precondition): add custom message to precondition (#7448)
f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (#7475)
ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (#7385)
30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (#7471)
f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (#7467)
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
…7385)

* fix(core/serverGroup): Correct 'simple scaling' heuristic

This was seemingly introduced from 6630f9b

The regression is that the "Capacity" section always considers the scaling mode to be "simple", and doesn't show the actual min/max capacity numbers, only Desired.

Noticed using an AWS account.

* fix(core/serverGroup): Adding test for capacity details
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
a5f192e feat(core/presentation): Add helper functions for generating categorized validation messages (spinnaker#7488)
7d91de6 fix(pipeline): triggers were not reverting in the ui (spinnaker#7485)
5c3fcc7 refactor(core/help): Migrate HelpContext to react hooks style (spinnaker#7487)
3c08b38 feat(core/presentation): Migrate ValidationMessage to new CSS styles (spinnaker#7481)
523c6bb fix(triggers): fix a few minor issues with manual execution triggers (spinnaker#7484)
0d0caa9 fix(monitored deploy): properly initialize defaults (spinnaker#7473)
dc2a74b feat(core/presentation): Put margin between StandardFieldLayout's input and validation (spinnaker#7476)
6cd7e9d refactor(pipeline): Reactify the copy stage modal (spinnaker#7453)
5867de1 feat(precondition): add custom message to precondition (spinnaker#7448)
f121b71 fix(artifacts/bitbucket): Update the help key to the correct reference to bitbucket (spinnaker#7475)
ee18eb0 fix(core/serverGroup): Correct 'simple scaling' heuristic (spinnaker#7385)
30c7f2c fix(core/utils): Support traversing keys which contain dots in them using array notation (spinnaker#7471)
f2790a7 feat(core/presentation): Begin adding support for error categories in validation API (spinnaker#7467)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants