Skip to content

chore: upgrade cloudfront js runtime#2

Merged
byF merged 1 commit into
mainlinefrom
chore/upgrade-cloudfront-js-runtime
Jul 7, 2026
Merged

chore: upgrade cloudfront js runtime#2
byF merged 1 commit into
mainlinefrom
chore/upgrade-cloudfront-js-runtime

Conversation

@byF

@byF byF commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • Upgrade generated static-site CloudFront Function runtime from cloudfront-js-1.0 to cloudfront-js-2.0.
  • Update static-site CloudFormation snapshots for the intentional runtime change.
  • Add a regression test to ensure rendered static-site templates use runtime 2.0 while preserving the existing one-line handler source.

Verification

  • go test ./internal/pkg/deploy/cloudformation/stack -run 'TestStaticSite'
  • go test -tags=localintegration ./internal/pkg/deploy/cloudformation/stack -run 'TestStaticSiteService_TemplateAndParamsGeneration'

Disclaimer

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.

@byF byF marked this pull request as ready for review July 7, 2026 17:05
@byF byF merged commit 0ca3296 into mainline Jul 7, 2026
20 checks passed
@byF byF deleted the chore/upgrade-cloudfront-js-runtime branch July 7, 2026 17:08
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