-
Notifications
You must be signed in to change notification settings - Fork 736
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
Sanitize host name for AWS requests before signing in AWSAuthV4 trans… #2090
Sanitize host name for AWS requests before signing in AWSAuthV4 trans… #2090
Conversation
0616fed
to
ea5d6fb
Compare
ac171b2
to
b376ef5
Compare
b376ef5
to
54b5234
Compare
The change LGTM. Thanks @jhuebner79 . As I don't have any AWS setup and it is not part of the test suite, I don't really have a way to test this. Did you by chance run this code with one of your setups? |
Yes, we were able to reference my branch in our |
54b5234
to
630b3f2
Compare
@franmomu I force pushed the code I suggested earlier, and your suggestion as well |
oh no, the local tests are not running successfully anymore.. hang on please |
630b3f2
to
d0905bf
Compare
Found it - looks good locally now (did another force push) |
d0905bf
to
bcb873c
Compare
bcb873c
to
857717a
Compare
@@ -135,3 +135,7 @@ parameters: | |||
count: 1 | |||
path: tests/SnapshotTest.php | |||
|
|||
- |
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.
Not sure if this is the right indentation level
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.
Thanks, I'll check
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.
hmm, basically I copied lines 28-31 and did not change indentation at all 🤔
It's the same like in the whole file, four spaces everywhere..
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.
@thePanz anything I can do here?
@jhuebner79 I will check the indentation later, would you be able to provide some tests covering the added lines? |
We honestly have no idea why the added lines are not picked up by codecov, I'd be very happy if someone who's more familiar with the project could help us a bit here. |
I've created #2113 that should help with this (it adds a job to test with lowest dependencies) |
Lets get this moving again. I resolved the Changelog conflict which triggered another CI run and got the PR from @franmomu merged. @jhuebner79 @thePanz What are the other things we still need? |
@ruflin thanks for that! I still don't know why codecov is not happy or what I can do about it, but I think I would need to rebase to current master? |
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.
Could you try to rebase on master? But not sure if this is the issue.
The part I was not sure about is if the test you added executes all these lines of code but based on your exception check around host, it should.
$client = $this->_getClient($config); | ||
|
||
try { | ||
$client->request('_stats'); |
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.
Is this executing all the new code? Maybe that is the issue?
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.
We're able to have a look later on today or tomorrow.
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.
6e93bae
to
ea3f4b6
Compare
I suggest we just leave the bots to themself and agree that codecov is fine even thought it shows it isn't? Any objections? |
By reacting with the heart smiley I meant "not from my side", of course :) |
I resolved a changelog conflict to get this mergeable. @thePanz As you were also involved in this PR, ok for you if we get this in? |
I merged this PR now. If we see issues, we can always revert. Anyone using / testing this, please report back. |
...port