Skip to content

Add retries to remote calls, add Guard dependency - #733

Merged
satyakigh merged 5 commits into
mainfrom
misc
Nov 25, 2026
Merged

satyakigh merged 5 commits into
mainfrom
misc

Conversation

@satyakigh

@satyakigh satyakigh commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the checked-in CloudFormation Guard JavaScript and WASM package with @aws/cloudformation-guard@3.4.0 from npm.
  • Externalize the Guard runtime in production bundles while keeping its JavaScript and WASM files under the package's node_modules directory.
  • Add bounded retries to file and JSON downloads. Every failure is retried up to 3 times, and the original error is rethrown after retries are exhausted.
  • Improve production bundle filtering so test and build artifacts are excluded without treating package names such as spec or example as ignored directories.
  • Update the SBOM and third-party attribution for the npm Guard package.
  • Remove the obsolete vendored Guard maintenance step and root-level Guard WASM publication check.

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

@satyakigh
satyakigh requested a review from a team as a code owner November 25, 2026 20:23
@github-code-quality

github-code-quality Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/vitest

main c43b29b misc f0ff1bd +/-
92% 92% 0%
View coverage of the 1 most impacted file.
File main c43b29b misc f0ff1bd +/-
src/utils/RemoteDownload.ts 0% 85% +85%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated November 25, 2026 21:25 UTC

@satyakigh
satyakigh merged commit 92f047e into main Nov 25, 2026
9 checks passed
@satyakigh
satyakigh deleted the misc branch November 25, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant