Skip to content

Conversation

@xokdvium
Copy link
Contributor

Motivation

See individual commits for the details. A lot of the code was needlessly complicated.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Comment on lines +161 to +162
aws_c_common = cxx.find_library('aws-c-common', required : true)
deps_other += aws_c_common
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the aws_error_str in AwsAuthError

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, very nice!

…sCredentialProvider

This makes it so we don't need to rely on global variables and hacky destructors to
clean up another global variable. Just putting it in the correct order in the class
is more than enough.
Instead of the cryptic:

> error: Failed to resolve AWS credentials: error code 6153`

We now get more legible:

> error: AWS authentication error: 'Valid credentials could not be sourced by the IMDS provider' (6153)
@Ericson2314 Ericson2314 enabled auto-merge October 16, 2025 19:20
@Ericson2314 Ericson2314 added this pull request to the merge queue Oct 16, 2025
Merged via the queue into master with commit d87a06a Oct 16, 2025
20 checks passed
@Ericson2314 Ericson2314 deleted the s3-cleanup branch October 16, 2025 20:20
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.

3 participants