-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin awscli to older version to work around R2 issues #3803
Conversation
CI job fails to upload build artifacts because R2 doesn't support checksums [1]. This was added in awscli 1.37.0 [2], pin to a version older than that to work around the issue before R2 supports it or ignores the header. [1] https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj [2] https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst
📝 WalkthroughWalkthroughThe pull request modifies the GitHub Actions workflow configuration, specifically targeting the AWS CLI installation step. The change introduces a version constraint for the AWS CLI, limiting its installation to versions below 1.37.0. This modification suggests a potential compatibility concern or a deliberate restriction on the AWS CLI version used in the build process. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/build.yaml (1)
202-202
: LGTM! Consider adding a comment explaining the version constraint.The version constraint is correct and effectively works around the R2 checksum compatibility issue. However, since this is a temporary workaround, it would be helpful to:
- Add a comment explaining why this version is pinned
- Create an issue to track when this constraint can be removed (once R2 supports checksums)
Add a comment above the pip install:
+ # Pin awscli version due to R2 not supporting checksums (introduced in 1.37.0) run: pip install 'awscli<1.37.0'
Is there R2 specific tooling we could maybe use? 🤔 |
Similarly to #3803, artifact index update fails because the R2 doesn't like the new awscli. The regression apparently comes from 1.37.0 as well, so pin to version older than that.
Similarly to #3803, artifact index update fails because the R2 doesn't like the new awscli. The regression apparently comes from 1.37.0 as well, so pin to version older than that.
CI job fails to upload build artifacts because R2 doesn't support checksums [1]. This was added in awscli 1.37.0 [2], pin to a version older than that to work around the issue before R2 supports it or ignores the header.
[1] https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
[2] https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst
Summary by CodeRabbit