Repository navigation
Conversation
|
Detected 2 possible performance regressions:
|
…uby threads do not lose calls
…s option and README
| include CredentialProvider | ||
| include RefreshingCredentials | ||
|
|
||
| CREDENTIAL_DAEMON_DOC = 'https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-credential-daemon.html' |
There was a problem hiding this comment.
Nit: this page doesn't exist yet. It currently redirects to the CLI user guide's home page, and the SEP still lists <CREDENTIAL_DAEMON_DOC> as a placeholder with no page. It's in every error message and in README.md. Can we confirm the CLI docs will publish it at this URL before release, or leave the link out until it exists? The .NET PR uses the same link.
| end | ||
| @connect_timeout = timeout_option(options, :connect_timeout, DEFAULT_CONNECT_TIMEOUT) | ||
| @call_timeout = timeout_option(options, :call_timeout, DEFAULT_CALL_TIMEOUT) | ||
| @async_refresh = false |
There was a problem hiding this comment.
Nit: is turning off async refresh intentional? With it off, only the 5-minute sync window applies, so a call near expiry blocks on the daemon. ProcessCredentials does the same, so this may be on purpose; the SEP only asks for the existing refresh code and default windows.
…3507) This updates the credential daemon provider to the latest shared settings: - The shared config key is now `credential_daemon` (previously `daemon_credential`). No alias, since the provider hasn't shipped. - Optional `socket_path:` on `Aws::CredentialDaemonCredentials.new`, checked before `AWS_CREDENTIAL_DAEMON_SOCKET`. An empty or relative path counts as unset, and a failed dial doesn't fall back to another location. - Test-case fixtures updated; the runner skips cases whose `appliesTo` doesn't include `ruby`. - The docs link now points to the AWS CLI User Guide's credential daemon page. Tests: `bundle exec rspec spec/aws/credential_daemon_credentials_spec.rb spec/aws/credential_provider_chain_spec.rb spec/aws/ini_parser_spec.rb spec/aws/shared_config_spec.rb` in `gems/aws-sdk-core` passes (179 examples, 0 failures, 2 pending as before).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the
CHANGELOG.mdfile (at corresponding gem). For the description entry, please make sure it lives in one line and starts withFeatureorIssuein the correct format.For generated code changes, please checkout below instructions first:
https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
Thank you for your contribution!