Skip to content

Conversation

@philasmar
Copy link
Contributor

Description of changes:
Add min health percent to Fargate recipes to address the CDK warning:
[Warning at /NET8Web1/Recipe/AppFargateService] minHealthyPercent has not been configured so the default value of 50% is used. The number of running tasks will decrease below the desired count during deployments etc. See aws/aws-cdk#31705 [ack: @aws-cdk/aws-ecs:minHealthyPercent]

CDK defaults this value to 50, though CloudFormation defaults to 100 https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-minimumhealthypercent.

I stuck with 100 as the default to provide users with the behavior they would expect.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@philasmar philasmar requested review from GarrettBeatty and normj June 5, 2025 14:26
@philasmar philasmar added the Release Not Needed Add this label if a PR does not need to be released. label Jun 5, 2025
@codecov
Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feature/net8-upgrade@4bbabf6). Learn more about missing BASE report.

Additional details and impacted files
@@                   Coverage Diff                   @@
##             feature/net8-upgrade     #947   +/-   ##
=======================================================
  Coverage                        ?   62.15%           
=======================================================
  Files                           ?      294           
  Lines                           ?    10784           
  Branches                        ?     1612           
=======================================================
  Hits                            ?     6703           
  Misses                          ?     3485           
  Partials                        ?      596           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@philasmar philasmar force-pushed the asmarp/add-min-healthy-percent branch from efa23e3 to c80b4c3 Compare June 9, 2025 13:01
@philasmar philasmar merged commit f9675d1 into feature/net8-upgrade Jun 10, 2025
10 of 12 checks passed
@philasmar philasmar deleted the asmarp/add-min-healthy-percent branch June 10, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release Not Needed Add this label if a PR does not need to be released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants