-
Notifications
You must be signed in to change notification settings - Fork 795
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
fix(plugin-http): correct handling of WHATWG urls #589
fix(plugin-http): correct handling of WHATWG urls #589
Conversation
Codecov Report
@@ Coverage Diff @@
## master #589 +/- ##
==========================================
+ Coverage 89.93% 91.88% +1.94%
==========================================
Files 168 169 +1
Lines 8230 8215 -15
Branches 739 729 -10
==========================================
+ Hits 7402 7548 +146
+ Misses 828 667 -161
|
Add parsing and conversion of WHATWG URL objects for client http requests to ensure semantics of HTTP request are not modifed and tracestate header is correctly added.
1e17ff1
to
765c326
Compare
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 work! Nice addition.
Feel free to do #590 otherwise I will do it. |
Do you mean as part of this PR or as followup? |
as followup |
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.
lgtm, I added few comments, thx
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.
LGTM
@Flarna you just need to @mayurkale22 I wonder if there would be any value to adding |
It is possible to do that, but |
@mayurkale22 easy to fix :)
|
I was assuming that |
Honestly speaking I would prefer to remove husky hooks and replace such checks by a CI/build task triggered on demand (e.g. like in node repo). During development I tent to do a log commits locally. At this time I think not that much about wording as I squash anyway before I create a the PR and go for a good wording. I know I can use Usually the tslint plugin in VsCode or something similar gives faster and better feedback. |
This is my experience as well. For some reason though I haven't been able go get this project to work correctly with the vscode tslint plugin. I suspect it's either because of the lerna monorepo pattern or the fact that we're actually using |
It works fine for me, at least if I open only a package. But it seems with current rule set it's difficult to get lint to complain; adding e.g. |
I think the gts tool applies rules on top of the configured tslint configuration, so the tslint editor integration doesn't understand the gts specific rules. |
…tions (open-telemetry#589) * fix(hapi-instrumentation): close spans on errors in instrumented functions * refactor(hapi-instrumentation): removed uneeded assignment * refactor(hapi-instrumentation): simplified the use of context.with * refactor(hapi-instrumentation): changed context with to avoid closure * style(hapi-instrumentation): lint Co-authored-by: Daniel Dyla <[email protected]>
Which problem is this PR solving?
fixes #583
Short description of the changes
Add parsing and conversion of WHATWG URL objects for client http
requests to ensure semantics of HTTP request are not modifed and
tracestate header is correctly added.