You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add multi-architecture canary support (ARM64 Lambda)
Expand the smithy-rs canary to deploy and run ARM64 (aarch64) Lambda
functions in addition to x86_64, catching architecture-specific runtime
bugs like the crc-fast 1.4 SIGILL incident before merge.
Changes:
- Add --architecture flag to canary runner (run.rs), wire through to
Lambda creation with .architectures() and arch-aware runtime selection
(provided.al2 for x86_64, provided.al2023 for aarch64)
- Add architecture-suffixed Lambda function names to prevent collisions
when both canaries run in parallel
- Accept architecture as 5th arg in run-canary script
- Skip cross-compilation tool when building natively on ARM
- Reduce hash truncation in bundle names (24->16 chars) to leave
headroom for architecture suffix within Lambda 64-char name limit
- Add canary-arm CI job that runs directly on ubuntu-24.04-arm without
Docker (the existing Docker build image is x86_64-only in ECR)
- Existing x86_64 canary is unchanged
Supersedes #4428. Addresses #4380.
0 commit comments