Context in ENG-3059. rust-node-addon was broken by D6695, but --experimental-specifier-resolution=node is going away so we need another solution.
I got this solution from this GitHub comment.
Depends on D6783
Paths
| Differential D6784 Authored by ashoat on Feb 20 2023, 9:57 AM.
Details Summary Context in ENG-3059. rust-node-addon was broken by D6695, but --experimental-specifier-resolution=node is going away so we need another solution. I got this solution from this GitHub comment. Depends on D6783 Test Plan Confirm I could import rust-node-addon and call methods on it from @jon's jonringer/identity-deleteuserrpc branch
Diff Detail
Event TimelineHerald added subscribers: atul, tomek. · View Herald TranscriptFeb 20 2023, 9:57 AM2023-02-20 09:57:59 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Feb 20 2023, 10:08 AM2023-02-20 10:08:10 (UTC-8) Comment Actions Flow had an error because it thinks import.meta.url might not be set, so I added an invariant to make sure it is always set Harbormaster returned this revision to the author for changes because remote builds failed.Feb 20 2023, 11:06 AM2023-02-20 11:06:51 (UTC-8) Comment Actions Forced call to getRustAPI() on master, asserted it was broken, patch this in, and fixed the call. This revision is now accepted and ready to land.Feb 20 2023, 12:15 PM2023-02-20 12:15:55 (UTC-8) Harbormaster completed remote builds in B16631: Diff 22739.Feb 20 2023, 12:18 PM2023-02-20 12:18:56 (UTC-8) Closed by commit rCOMM9acb9c0e57f2: [keyserver] Fix rust-node-addon after deprecation of --experimental-specifier… (authored by ashoat). · Explain WhyFeb 20 2023, 12:25 PM2023-02-20 12:25:35 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 22742 keyserver/addons/rust-node-addon/index.js
keyserver/addons/rust-node-addon/package.json
|
Requirements of the reqwest body stream:
A stream of Result<impl Into<Vec<u8>>, impl Into<Box<dyn Error>>>