Skip to content

fix(cli): hotswap properly uses cached template diff when hotswap template is same as current CloudFormation template - #1819

Open
ShadowCat567 wants to merge 4 commits into
mainfrom
hotswap-fixes
Open

fix(cli): hotswap properly uses cached template diff when hotswap template is same as current CloudFormation template #1819
ShadowCat567 wants to merge 4 commits into
mainfrom
hotswap-fixes

Conversation

@ShadowCat567

@ShadowCat567 ShadowCat567 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

When making multiple hotswap deployments in a row, hotswap should compare between the template currently being deployed and the last hotswap template. This happens properly most of the time, however when a change is made that would cause the template being hotswapped to be the same as the template in CloudFormation, canSkipDeploy was not checking the cached hotswap template and did not register that a change could be deployed via hotswap.
Updates the behavior of canSkipDeploy so it checks the hotswap cache if we are deploying with hotswap and does not skip the hotswap deployment if the cached hotswap template and the template currently being deployed differ.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants