-
Notifications
You must be signed in to change notification settings - Fork 117
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
refactor: convert httpclient provider to bindgen #745
refactor: convert httpclient provider to bindgen #745
Conversation
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.
requesting changes to prevent (accidental) merge until we have #680 done
Regarding the backwards-incompatibility, I expected we would serialize lists of tuples as maps (that could be a parameter to the macro invocation or we can just hardcode it for now)
#680 is not expected to be anyhow WIT-aware, message format should be fully backwards-compatible, meaning that |
This seems to be a bit confusingly worded --
This is going to require some deeper changes to bindgen -- it's not clear that is safe to turn every This will likely have to be some kind of configurable option. |
yes
Yes, ideally it's a parameter to the macro, as outlined in my original comment #745 (review), but for now we can just hard-code it, because we are the only users of this crate |
Thanks for the clarifications -- I'm not too keen on hard-coding it, so I'll take a little time to think about a reasonable way to do it flexibly. |
…rn/packages/washboard/eslint-plugin-react-refresh-0.4.3 build(deps-dev): Bump eslint-plugin-react-refresh from 0.3.5 to 0.4.3 in /packages/washboard
…rn/packages/washboard/eslint-plugin-react-refresh-0.4.3 build(deps-dev): Bump eslint-plugin-react-refresh from 0.3.5 to 0.4.3 in /packages/washboard
@vados-cosmonic #804 is merged, so this is now unblocked, please rebase on latest |
e468156
to
8e70a6f
Compare
@vados-cosmonic any idea why the provider build artifacts might have changed in this PR?
work locally for you with this change set? |
Not sure, but it looks like the |
8e70a6f
to
13aff10
Compare
looks like this is blocked on #869 , but I have no permissions to approve/merge, so we'll have to wait until someone wakes up in US |
feel free to just commit the regenerated |
@rvolosatovs / @vados-cosmonic merged that PR! |
13aff10
to
a51ef03
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.
@rvolosatovs This looks good to me at a high level! Let me know if you need an additional approval here to merge but leaving it to you since you've been following
Hey @brooksmtownsend this isn't ready to merge yet -- I still haven't been able to get the tests working even after rebasing -- custom build isn't passing still even with the Regardless of that, given that the host implementation changed there will likely be changes required here. Going to put this back in Draft so people aren't reviewing it. [EDIT] Builds are fine, Tests aren't, gotta squash the bugs, will update this and change it back to ready for review when done. |
4282f74
to
0734b71
Compare
299ca96
to
1566f42
Compare
2036323
to
dbfab52
Compare
f6cfe1c
to
1284c06
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.
One blocking request, and a few nits. I'm assuming you'll split out the bindgen code from this commit once #963 is merged?
50aabb0
to
d4d2711
Compare
d4d2711
to
e0d61dc
Compare
Ah sorry @connorsmith256 refactoring bug made it's way in there... hopefully you don't have to re-approve (I just rebased to one commit again) |
This commit converts the in-tree httpclient provider to use provider-wit-bindgen for it's implementation. Signed-off-by: Victor Adossi <vadossi@cosmonic.com> Co-authored-by: Connor Smith <connor.smith.256@gmail.com>
e0d61dc
to
e99b335
Compare
@connorsmith256 asked me to merge this for him |
Feature or Problem
This PR converts the
httpclient
provider to useprovider-wit-bindgen
, utilizing a couple features and bugfixes from other PRs:#963
#983
Those PRs should land before this one, but it's not absolutely required.
Related Issues
#743
#680
Release Information
Consumer Impact
Testing
Built on platform(s)
Tested on platform(s)
Unit Test(s)
Acceptance or Integration
Pending implementation of
wasi:outgoing-handler
in hostManual Verification
Tested locally