- Notifications
You must be signed in to change notification settings - Fork673
feat(client): bootstrap the http backends concept#2391
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-commenter commentedNov 24, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #2391 +/- ##======================================= Coverage 95.98% 95.99% ======================================= Files 80 82 +2 Lines 5360 5372 +12 =======================================+ Hits 5145 5157 +12 Misses 215 215
Flags with carried forward coverage won't be shown.Click here to find out more.
|
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 for breaking this up@lmilbaum! Just a few minor questions.
We used the redminelib approach here IIRC, after poking around github a bit more I think also calling thesehttp backends
, e.g.from gitlab import backends
might make sense, but just a thought.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
1cbb77c
toba2ee6c
CompareI would prefer that#2392 lands before this one. It is needed for testing this PR. |
nejch commentedNov 26, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@lmilbaum it shouldn't block if you cherry-pick the commit from#2397 here (feel free to cherry pick already), it seems like the tests in that PR are really meant for this one, then we can really test the method we are changing ( (Our use of Edit: maybe I was a bit quick with that PR and didnt check the tests ;) but in any case on second thought I think the tests can be done in unit tests as we don't make requests against a real server in those. So shouldn't block this PR IMO. |
@nejch could you please take a look. I would like to move forward. Thanks. |
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.
Sorry for the delays@lmilbaum, was out for a week. Looks great, just some tiny questions on the typing approach.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
24d5afa
toda6bc2b
CompareUh oh!
There was an error while loading.Please reload this page.
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 again for all the work here@lmilbaum!
Uh oh!
There was an error while loading.Please reload this page.
Initial implementation of http engine concept. The long-term target is to shift all requests/response processing from the client to the http engine. When that is done for requests then it would be easy enough to add another engine, like httpx.