Skip to content

uncomment ECS circuit breaker#666

Merged
saanobhaai merged 8 commits into
devfrom
1883-ecs-circuit-breaker
May 29, 2026
Merged

uncomment ECS circuit breaker#666
saanobhaai merged 8 commits into
devfrom
1883-ecs-circuit-breaker

Conversation

@ms280690
Copy link
Copy Markdown
Collaborator

@ms280690 ms280690 commented Apr 2, 2026

https://trello.com/c/Ruklqx62

❯ cdk diff dev-mermaid-api-django
Including dependency stacks: mermaid-api-infra-common, dev-mermaid-static-site
[Warning at /dev-mermaid-api-django/SummaryCacheService] 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 https://github.com/aws/aws-cdk/issues/31705 [ack: @aws-cdk/aws-ecs:minHealthyPercent]
[Warning at /dev-mermaid-api-django/ApiService] 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 https://github.com/aws/aws-cdk/issues/31705 [ack: @aws-cdk/aws-ecs:minHealthyPercent]
[Warning at /dev-mermaid-api-django/General/Worker/QueueProcessingService] 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 https://github.com/aws/aws-cdk/issues/31705 [ack: @aws-cdk/aws-ecs:minHealthyPercent]
[Warning at /dev-mermaid-api-django/ImageProcess/Worker/QueueProcessingService] 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 https://github.com/aws/aws-cdk/issues/31705 [ack: @aws-cdk/aws-ecs:minHealthyPercent]
start: Building mermaid-api-infra-common Template
success: Built mermaid-api-infra-common Template
start: Publishing mermaid-api-infra-common Template (554812291621-us-east-1-7290bc73)
success: Published mermaid-api-infra-common Template (554812291621-us-east-1-7290bc73)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --method=template to use a less accurate but faster template-only diff)

Stack mermaid-api-infra-common
There were no differences

start: Building dev-mermaid-static-site Template
success: Built dev-mermaid-static-site Template
start: Publishing dev-mermaid-static-site Template (554812291621-us-east-1-7145afab)
success: Published dev-mermaid-static-site Template (554812291621-us-east-1-7145afab)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --method=template to use a less accurate but faster template-only diff)

Stack dev-mermaid-static-site
There were no differences

start: Building dev-mermaid-api-django Template
success: Built dev-mermaid-api-django Template
start: Publishing dev-mermaid-api-django Template (554812291621-us-east-1-588635ab)
success: Published dev-mermaid-api-django Template (554812291621-us-east-1-588635ab)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --method=template to use a less accurate but faster template-only diff)

Stack dev-mermaid-api-django
Resources
[~] AWS::ECS::TaskDefinition ScheduledBackupTaskDef ScheduledBackupTaskDef48789D5A replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -130,7 +130,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:c447a5f74abb15b471d9c01f542f62eb596c9cf9d7fcd639ece736d4eccd5149"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:aa857a565ac37489e9310183429410f506e23e12ce9845b4840c7f18df4173da"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::TaskDefinition SummaryCacheTaskDef SummaryCacheTaskDefFAAC683D replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -130,7 +130,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:c447a5f74abb15b471d9c01f542f62eb596c9cf9d7fcd639ece736d4eccd5149"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:aa857a565ac37489e9310183429410f506e23e12ce9845b4840c7f18df4173da"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service SummaryCacheService/Service SummaryCacheService62034AF5
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition ApiTaskDefinition ApiTaskDefinition51EA709E replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -125,7 +125,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:c447a5f74abb15b471d9c01f542f62eb596c9cf9d7fcd639ece736d4eccd5149"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:aa857a565ac37489e9310183429410f506e23e12ce9845b4840c7f18df4173da"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service ApiService/Service ApiServiceC9037CF0
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition General/Worker/QueueProcessingTaskDef GeneralWorkerQueueProcessingTaskDef1C2A1522 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -137,7 +137,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:c447a5f74abb15b471d9c01f542f62eb596c9cf9d7fcd639ece736d4eccd5149"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:aa857a565ac37489e9310183429410f506e23e12ce9845b4840c7f18df4173da"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::TaskDefinition ImageProcess/Worker/QueueProcessingTaskDef ImageProcessWorkerQueueProcessingTaskDefACA5B138 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -137,7 +137,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:c447a5f74abb15b471d9c01f542f62eb596c9cf9d7fcd639ece736d4eccd5149"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:aa857a565ac37489e9310183429410f506e23e12ce9845b4840c7f18df4173da"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",



✨  Number of stacks with differences: 1

Summary by CodeRabbit

  • Infrastructure
    • Enabled deployment circuit breaking and automatic rollback across core ECS services, including API, summary cache, and queue-processing worker. This improves deployment reliability by detecting failed deployments and reverting changes to maintain system stability.

Signed-off-by: ms280690 <mehul@sparkgeo.com>
@ms280690 ms280690 self-assigned this Apr 2, 2026
@ms280690 ms280690 added the enhancement New feature or request label Apr 2, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 2, 2026

Warning

Review limit reached

@saanobhaai, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 58 minutes and 23 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cbcb08ae-6e06-487b-bf24-e99a383b4a6d

📥 Commits

Reviewing files that changed from the base of the PR and between b714678 and 49837b4.

📒 Files selected for processing (2)
  • iac/stacks/api.py
  • iac/stacks/constructs/worker.py
📝 Walkthrough

Walkthrough

ECS deployment circuit breaker was enabled (DeploymentCircuitBreaker enable=True, rollback=True) for ECS services in iac/stacks/api.py and iac/stacks/constructs/worker.py. No other control flow or task definitions were modified.

Changes

Cohort / File(s) Summary
ECS Circuit Breaker Configuration
iac/stacks/api.py, iac/stacks/constructs/worker.py
Enabled ecs.DeploymentCircuitBreaker(enable=True, rollback=True) on ECS services by replacing previously commented-out settings, activating deployment circuit breaking and automatic rollback on failures.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Suggested reviewers

  • michaelconnor00
  • gridcell
  • saanobhaai
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'uncomment ECS circuit breaker' directly and accurately summarizes the main change: uncommenting ECS deployment circuit breaker settings across multiple service definitions.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 1883-ecs-circuit-breaker

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables the ECS deployment circuit breaker on the CDK-defined ECS services in iac/stacks/api.py, allowing failed deployments to automatically trigger rollbacks for improved deployment safety in the Mermaid API infrastructure stack.

Changes:

  • Enabled ecs.DeploymentCircuitBreaker(enable=True, rollback=True) for the SummaryCacheService ECS service.
  • Enabled ecs.DeploymentCircuitBreaker(enable=True, rollback=True) for the ApiService ECS service.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
iac/stacks/api.py (1)

337-364: Consider enabling circuit breaker for QueueWorker services for consistency.

ApiService and SummaryCacheService now have deployment circuit breakers enabled, but the QueueWorker construct (used for "General" and "ImageProcess" workers) still has circuit_breaker commented out in iac/stacks/constructs/worker.py:61. This means worker services will remain in a broken state on deployment failure while API services auto-rollback.

If the inconsistency is intentional (e.g., different rollback strategies for queue workers), consider documenting the rationale. Otherwise, enabling circuit breakers for workers would provide uniform deployment resilience.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@iac/stacks/api.py` around lines 337 - 364, The QueueWorker instances
("worker" and "image_worker") are missing deployment circuit breaker
configuration; update the QueueWorker instantiation for both "General" and
"ImageProcess" to enable the circuit breaker by passing the appropriate
circuit_breaker/deployment_circuit_breaker argument (matching the construct's
parameter name used in worker.py where it's currently commented out, e.g.,
circuit_breaker=True or
deployment_circuit_breaker=ecs.DeploymentCircuitBreaker(enabled=True)); ensure
both QueueWorker calls include this argument so worker services auto-rollback
consistently with ApiService and SummaryCacheService.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@iac/stacks/api.py`:
- Around line 337-364: The QueueWorker instances ("worker" and "image_worker")
are missing deployment circuit breaker configuration; update the QueueWorker
instantiation for both "General" and "ImageProcess" to enable the circuit
breaker by passing the appropriate circuit_breaker/deployment_circuit_breaker
argument (matching the construct's parameter name used in worker.py where it's
currently commented out, e.g., circuit_breaker=True or
deployment_circuit_breaker=ecs.DeploymentCircuitBreaker(enabled=True)); ensure
both QueueWorker calls include this argument so worker services auto-rollback
consistently with ApiService and SummaryCacheService.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ebbd44a0-9a2e-4564-8955-9d51e32443c0

📥 Commits

Reviewing files that changed from the base of the PR and between 623f34c and 984dbc7.

📒 Files selected for processing (1)
  • iac/stacks/api.py

@michaelconnor00
Copy link
Copy Markdown
Collaborator

michaelconnor00 commented Apr 23, 2026

Please move the CDK diff to a comment.

When I originally added this, it caused an issue with deployment, which is why it was commented out. I am a little disappointed I did not leave a comment as reference, and I can't find an old Trello ticket for it.

After merging to dev, we will need to run a test to verify. The test should:

  • add a breaking change to one of the containers so it will not start.
  • monitor to verify that the circuit breaker eventually stops the deployment and rollback.

I have a vague memory that the issue was that the ECS containers did not have a health checks and the circuit breaker relys on failed health checks.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

cdk-nag report

No unsuppressed errors.


See iac/nag_suppressions.py to add suppressions for accepted risks.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

cdk diff ✅ Success

Show Output
start: Building GithubAccess Template
success: Built GithubAccess Template
start: Publishing GithubAccess Template (554812291621-us-east-1-403885e2)
success: Published GithubAccess Template (554812291621-us-east-1-403885e2)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack GithubAccess
There were no differences

start: Building mermaid-api-infra-common Template
success: Built mermaid-api-infra-common Template
start: Publishing mermaid-api-infra-common Template (554812291621-us-east-1-37993ba8)
success: Published mermaid-api-infra-common Template (554812291621-us-east-1-37993ba8)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack mermaid-api-infra-common
There were no differences

start: Building dev-mermaid-static-site Template
success: Built dev-mermaid-static-site Template
start: Publishing dev-mermaid-static-site Template (554812291621-us-east-1-705b66ee)
success: Published dev-mermaid-static-site Template (554812291621-us-east-1-705b66ee)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack dev-mermaid-static-site
There were no differences

start: Building dev-mermaid-api-django Template
success: Built dev-mermaid-api-django Template
start: Publishing dev-mermaid-api-django Template (554812291621-us-east-1-a42e3973)
success: Published dev-mermaid-api-django Template (554812291621-us-east-1-a42e3973)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack dev-mermaid-api-django
Resources
[~] AWS::ECS::TaskDefinition ScheduledBackupTaskDef ScheduledBackupTaskDef48789D5A replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -147,7 +147,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:8274c8c3006067dd8787a9494ac751c481d7667719824de4575b4fe3ec13e826"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::TaskDefinition SummaryCacheTaskDef SummaryCacheTaskDefFAAC683D replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -151,7 +151,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:8274c8c3006067dd8787a9494ac751c481d7667719824de4575b4fe3ec13e826"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service SummaryCacheService/Service SummaryCacheService62034AF5
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition ApiTaskDefinition ApiTaskDefinition51EA709E replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -145,7 +145,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:8274c8c3006067dd8787a9494ac751c481d7667719824de4575b4fe3ec13e826"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service ApiService/Service ApiServiceC9037CF0
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition General/Worker/QueueProcessingTaskDef GeneralWorkerQueueProcessingTaskDef1C2A1522 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -158,7 +158,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:8274c8c3006067dd8787a9494ac751c481d7667719824de4575b4fe3ec13e826"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service General/Worker/QueueProcessingService/Service GeneralWorkerQueueProcessingService2ABCF4FE
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition ImageProcess/Worker/QueueProcessingTaskDef ImageProcessWorkerQueueProcessingTaskDefACA5B138 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -158,7 +158,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:8274c8c3006067dd8787a9494ac751c481d7667719824de4575b4fe3ec13e826"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service ImageProcess/Worker/QueueProcessingService/Service ImageProcessWorkerQueueProcessingServiceABC33BC0
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController
     └─ {"Type":"ECS"}


start: Building dev-mermaid-sagemaker Template
success: Built dev-mermaid-sagemaker Template
start: Publishing dev-mermaid-sagemaker Template (554812291621-us-east-1-32848cce)
success: Published dev-mermaid-sagemaker Template (554812291621-us-east-1-32848cce)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack dev-mermaid-sagemaker
There were no differences

start: Building prod-mermaid-static-site Template
success: Built prod-mermaid-static-site Template
start: Publishing prod-mermaid-static-site Template (554812291621-us-east-1-b2d960b0)
success: Published prod-mermaid-static-site Template (554812291621-us-east-1-b2d960b0)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Stack prod-mermaid-static-site
There were no differences

start: Building prod-mermaid-api-django Template
success: Built prod-mermaid-api-django Template
start: Publishing prod-mermaid-api-django Template (554812291621-us-east-1-cbf7906b)
success: Published prod-mermaid-api-django Template (554812291621-us-east-1-cbf7906b)
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)

Could not create a change set, will base the diff on template differences (run again with -v to see the reason)

Stack prod-mermaid-api-django
Resources
[~] AWS::ECS::TaskDefinition ScheduledBackupTaskDef ScheduledBackupTaskDef48789D5A replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -147,7 +147,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:6b29d0eafcaf70661a1786f5420df28a9889a26c47c2970f929f2aee639cc2f3"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::TaskDefinition SummaryCacheTaskDef SummaryCacheTaskDefFAAC683D replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -151,7 +151,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:6b29d0eafcaf70661a1786f5420df28a9889a26c47c2970f929f2aee639cc2f3"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service SummaryCacheService/Service SummaryCacheService62034AF5 replace
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController (requires replacement)
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition ApiTaskDefinition ApiTaskDefinition51EA709E replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -145,7 +145,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:6b29d0eafcaf70661a1786f5420df28a9889a26c47c2970f929f2aee639cc2f3"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service ApiService/Service ApiServiceC9037CF0 replace
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController (requires replacement)
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition General/Worker/QueueProcessingTaskDef GeneralWorkerQueueProcessingTaskDef1C2A1522 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -158,7 +158,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:6b29d0eafcaf70661a1786f5420df28a9889a26c47c2970f929f2aee639cc2f3"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service General/Worker/QueueProcessingService/Service GeneralWorkerQueueProcessingService2ABCF4FE replace
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController (requires replacement)
     └─ {"Type":"ECS"}
[~] AWS::ECS::TaskDefinition ImageProcess/Worker/QueueProcessingTaskDef ImageProcessWorkerQueueProcessingTaskDefACA5B138 replace
 └─ [~] ContainerDefinitions (requires replacement)
     └─ @@ -158,7 +158,7 @@
        [ ] ],
        [ ] "Essential": true,
        [ ] "Image": {
        [-]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:6b29d0eafcaf70661a1786f5420df28a9889a26c47c2970f929f2aee639cc2f3"
        [+]   "Fn::Sub": "554812291621.dkr.ecr.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-container-assets-554812291621-us-east-1:309e68a7c481529e1cf3045c5a589a301c2493815d56e77e7aed9bf479e47432"
        [ ] },
        [ ] "LogConfiguration": {
        [ ]   "LogDriver": "awslogs",
[~] AWS::ECS::Service ImageProcess/Worker/QueueProcessingService/Service ImageProcessWorkerQueueProcessingServiceABC33BC0 replace
 ├─ [~] DeploymentConfiguration
 │   └─ [+] Added: .DeploymentCircuitBreaker
 └─ [+] DeploymentController (requires replacement)
     └─ {"Type":"ECS"}



✨  Number of stacks with differences: 2


Workflow: pr

Copy link
Copy Markdown
Collaborator

@michaelconnor00 michaelconnor00 left a comment

Choose a reason for hiding this comment

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

Merge this one last and run the tests suggested in the comments.

@saanobhaai saanobhaai merged commit e731bfb into dev May 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants