-
Notifications
You must be signed in to change notification settings - Fork 136
Description
At first there was celebration when the changes in #3061 allowed us to drop the node-fetch dependency. Unfortunately we learned after the fact that the change caused intermittent CI failures as described in #3063. The fix for that problem came in #3069 where we switched over to using Electron's net.fetch in the app and going back to node-fetch elsewhere.
As described in #3063 (comment), evidence suggests that nodejs/undici#2026 might have been the root cause of the symptoms described in #3063, but the fix is only available in Node v21 and newer, and Electron's current latest release is still using Node v20, and based on prior history it looks like we're probably several months away from a release that will include a Node release new enough to include the fix.
This issue serves as a reminder for us to revisit the topic when a new Electron release is available to test with. The rough summary of the steps would be to create a branch where we:
- Back out the changes in Net Fetch in Electron #3069
- Put back the changes in Native Node Fetch #3061
- Do a looping test using the repro steps in e2e pool-load-success test hanging on close #3063 to confirm still we don't have hangs
- If that's all successful, merge that branch to
main, which will once again achieve the goal of droppingnode-fetch