-
Notifications
You must be signed in to change notification settings - Fork 35
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
MAIN B-20627 Fix circleci tests and bump dependency #13913
MAIN B-20627 Fix circleci tests and bump dependency #13913
Conversation
Updated method calls for http.server.request_content_length and http.server.response_content_length. These are deprecated and we should be using http.server.request.size and http.server.response.size. Also updated the package dependency for otelhttp:v0.43.0 to otelhttp:v0.55.0.
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.
Good from my end. Not sure if there is a separate checklist/requirement check for MAIN merges
Didn't see anything on my end kind of just seemed like a copy and paste according to https://transcom.github.io/mymove-docs/docs/getting-started/development/how-to-create-and-submit-PR |
@deandreJones I think everything should be good to go for main. |
B-20627
INTEGRATION PR-#13866
Summary
The package otelhttp:v.0.43.0 is outdated and needs to be bumped up to the latest version otelhttp:v.0.55.0.
Normally this is managed through dependabot automatically but each time dependabot attempted the bump there were test failures in circlci. You can find the trail of failed PRs by going here. The latest results show that the dependency bump was failing one of the automated tests run by circleci,
server_test
.It appears that the test is failing due to the use of deprecated methods
http.server.request_content_length
andhttp.server.response_content_length
. OpenTelemetry-Go Contrib removed these in otelhttp:v0.49.0 release. It appears that the new methods that need to be used arehttp.server.request.size
andhttp.server.response.size
.After these tests have been fixed, the package should be able to upgraded in the go.mod file to the latest version otelhttp:v.0.55.0 with all circleci tests passing.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
Note
Make sure to make the pull request a draft.
Screenshots