Skip to content

Test crc fast 1.4#4446

Open
vcjana wants to merge 15 commits intomainfrom
test-crc-fast-1.4
Open

Test crc fast 1.4#4446
vcjana wants to merge 15 commits intomainfrom
test-crc-fast-1.4

Conversation

@vcjana
Copy link
Contributor

@vcjana vcjana commented Dec 9, 2025

Purpose

This PR temporarily pins crc-fast to 1.4 to demonstrate that the architecture testing added in #4428 would have caught the ARM SIGILL issue before merge.

Context

  • crc-fast 1.4 caused illegal instruction faults on ARM architectures
  • This was only caught in aws-sdk-rust canary AFTER release
  • smithy-rs CI missed it because it only tested on x86_64

Expected Result

The test-runtime-architectures job should fail on ARM targets (aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl) with SIGILL, proving that PR #4428's architecture testing would have prevented this issue.

Note

This PR should NOT be merged. It exists only to demonstrate the test coverage gap. Once CI shows the ARM failures, this proves #4428's value and this PR can be closed.

Related: #4428

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Use =1.4.0 instead of 1.4 to ensure Cargo uses exactly version 1.4.0
(the version with the ARM SIGILL bug) rather than allowing semver
compatible updates to newer fixed versions.

This addresses review feedback from landonxjames.
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

- Change runs-on from ubuntu-latest to ubuntu-24.04-arm for ARM targets
- Use native cargo test instead of cross for actual ARM execution
- This will catch crc-fast 1.4 SIGILL on GitHub's ARM runners
- Add architectures parameter to generate_matrix.rs
- Create canary-scheduled.yml workflow with 4-arch matrix
- Test x86_64-gnu, x86_64-musl, aarch64-gnu, aarch64-musl
- Use native ARM runners for actual runtime testing
- Run daily to catch dependency issues like crc-fast 1.4

This would have caught the crc-fast 1.4 SIGILL issue that was
missed in smithy-rs CI but caught in aws-sdk-rust canary.
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

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.

2 participants