Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --<!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --Something has changed in the latest Insiders so our CI started to fail with errors (any branch but here is an ): Do you have any idea what might cause it so we can make changes on our side? Might it be something with your dependencies?
Runtime has no changes with insiders, this seems like a regression from the recent http proxy changes based on in upstream. Passing onto From a quick look the extension relies on package which makes network connection. it would be great if you can reduce the test case to a minimal extension sample for us to debug this issue further. Thanks!
Unfortunately, we haven't been able to isolate the issue for a minimal extension sample so far. To reproduce the problem, you can follow these steps: the and install the extension. the following commands in the terminal: When running all tests, you may observe multiple failures with the . However, when running the failed tests separately, they randomly may or may not fail again, which makes it hard to identify the cause of the issue. It is possible that your proxy patches might be the right place to look for further investigation.
Maybe a related discussion:
Found it. The place in our code that fails with the latest Insiders is . I created a so you can try it, but here is the code snippet for a quick look:
Thanks for putting together this test! My investigation so far: is called with resulting in the reported error when it calls here: The check at would prevent from being called when , but that is only with in 19.0.0. Still need to check older versions to see if that check was backported and see if there is a way to test this assessment.
is available in 18.8.0 and 16.18.0, our exploration builds based on Node v18 has this change, you can use the builds from to verify the assessment.
The test does not reproduce the issue in the exploration build. Still trying to understand what is happening (please ignore the above code pointers) by looking at the code at the tag. I see the failing call to being triggered in : What I don't quite understand is that the callstack to with comes from : But at that line is supposed to call not as it appear in the callstack: Could you point me at the source that went into Electron? I believe that is not the exact same as that at
Electron pulls source from when building, what you are looking at is the correct one. I think the async stack is missing a trampoline calll, but you are seeing a write after shutdown stack same as
Thanks This looks like an upstream issue to me, should not be called when is already . I don't see the change in 18.15.0 (the version the exploration build is using) yet that might have fixed it.
We have reverted to the previous way of loading certificates as we are getting close to a release ().
We're seeing this again in our macos and Windows CI jobs for VSCode "Insiders" (not current VSCode stable version 1.82.2). Was node or electron updated in the last 2 days on VSCode Insiders?
There is fix in upstream for the above scenario, I will backport it to relevant release lines.
Could you confirm that todays Insiders build fixes the problem? Thanks!
Confirmed, thanks!

Discussion:
disturl "https://electronjs.org/headers" <del> target "25.8.1" ms_build_id "23779380" </del> <ins> target "25.8.2" ms_build_id "23977753" </ins> runtime "electron" build_from_source "true"

<del> 197a62bdc616148537af5c8f1256563a27a733cae0d41b9a42e9e9f2901cc9ae *electron-v25.8.1-darwin-arm64-symbols.zip 985f4beee009ef6dbe7af75009a1b281aff591b989ee544bd4d2c814f9c4428d *electron-v25.8.1-darwin-arm64.zip 56209b302eb30bff3727dbb74467cb2e6e93e5a99d6939d1c3a7c8320fa26d72 *electron-v25.8.1-darwin-x64-symbols.zip fe61a3221d4c5dc9415dc2cce81010db61bb4a5ab5021d1023f48786dbaf0b28 *electron-v25.8.1-darwin-x64.zip 1b52beba5b1b133cccd253c32648cdfa51659e5db2f20441baafd6a3c8fcb56a *electron-v25.8.1-linux-arm64-symbols.zip 931208419f859f528e19805ae14b5b075213bc40dd20da9e03d8b71d849c147d *electron-v25.8.1-linux-arm64.zip 61929b61541f23b75cca6b1a6764c219499a9799376298cc9061fc1a8716d1e1 *electron-v25.8.1-linux-armv7l-symbols.zip dd3390de2426a1cea9d3176e404b8fb250844a9b0e48cf01822fa66f3c3c4a48 *electron-v25.8.1-linux-armv7l.zip 1812459d2bd0440e35134ddb3f56e8e173a8791db888756d22080ace244248ba *electron-v25.8.1-linux-x64-symbols.zip de556aef0a80a8fe7b2b39d74ab0bdecc65d72bba3b7349460d18ef2a22fa323 *electron-v25.8.1-linux-x64.zip baa1bb8985b09100b1b2b710cea2c3f8e72a7f5d0e3421cbf675c25e732b0d9f *electron-v25.8.1-win32-arm64-pdb.zip 4a22945c2584677a822d8f9eb6cb23e5607b985f85ec7523ab977b73dd6487c2 *electron-v25.8.1-win32-arm64-symbols.zip 567d3188f86176a875fb6562040a3767c638814cf06073e7131495ec681b3957 *electron-v25.8.1-win32-arm64.zip 148589f41cd4175b85138450a0a0e32eef1a519d5cb5f471374e167518a2ed47 *electron-v25.8.1-win32-ia32-pdb.zip f284ac337a8d5e564081fee6d26c2b2f782feed0bcbe29b7507f749da36b6e5c *electron-v25.8.1-win32-ia32-symbols.zip 6737e56588a2707534979e5dcfbf68399971a5e98d4848fa29fb43b7ae1dc378 *electron-v25.8.1-win32-ia32.zip 23c6ef26f7e1914149def7525b728212340fc6befa6bac30eafec8f8229f9e67 *electron-v25.8.1-win32-x64-pdb.zip 3eb3b87587b136e636d82fa4d28015d8ef6709468b3bb33eddae80d83076a053 *electron-v25.8.1-win32-x64-symbols.zip 963c05266bf83bc77f690b75a76855d7b7bc0be9bac4973292f3e7d506fd2c94 *electron-v25.8.1-win32-x64.zip ab608119c4bb4ebcefede6afdd911ef8ea007465ab7d2093a091bdb9ff466236 *ffmpeg-v25.8.1-darwin-arm64.zip 5abaf6356bb40fdfcaf88177e13c50447a48fe7fc6c1c3869cf4536148eb60d4 *ffmpeg-v25.8.1-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.8.1-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.8.1-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.8.1-linux-x64.zip 6b2494dd5bf7f17eec800f41d232506007b36c7cae6f885565e035d3168a0c64 *ffmpeg-v25.8.1-win32-arm64.zip 8b57594cd2065437cf3378e845bae4de3501ebff7f1f1f516fc0aaf09c311c2b *ffmpeg-v25.8.1-win32-ia32.zip 95bb8e167e96bb4f902e6238312e245ed0acfae45eeda471e0f8ad0f0baaac2f *ffmpeg-v25.8.1-win32-x64.zip </del> <ins> 990cfa83850fc2934ddf435737ea16c68e222136107aba177d961af839a61765 *electron-v25.8.2-darwin-arm64-symbols.zip f6ab7cd71e50fae41cae0192108df98afc0a30583d945d3e673d8483d4dddefe *electron-v25.8.2-darwin-arm64.zip 2feec213e4b2a4728ef5f5ec833ee8663d801a06b7ed1f172eee4ba3f9f51339 *electron-v25.8.2-darwin-x64-symbols.zip 04027c3ecb90d8252f1adbd887d9567d5f16eee126f8df753a29fa79d9b61d6b *electron-v25.8.2-darwin-x64.zip 4a9a49d6003ac86ccba5495ff782f584215cee36f9335772cdc0581911f5f6a1 *electron-v25.8.2-linux-arm64-symbols.zip 1b15ad0e26785850f9ab2112d3183669aac4b702c474ab7ad31954c649b3351f *electron-v25.8.2-linux-arm64.zip 4bdd180dff11013d6c2d25c578e5398ac9c7dd3b6255080836868e1cd55e4c13 *electron-v25.8.2-linux-armv7l-symbols.zip db4271335284d2d327130063cca6a4adee0678504098c0347e2cb89c4ddefd7a *electron-v25.8.2-linux-armv7l.zip ab9c35e7a6df6b2335f273711cc16c94f982f4d55b2c0bba554187f43864242e *electron-v25.8.2-linux-x64-symbols.zip 08c211d4199096d0ff9c475720f25ff5c089d624660b4c1f1970a413e20312b7 *electron-v25.8.2-linux-x64.zip d3bd6ab0be3c4d93a7a19f9da0c391c1ef8daa85027bf00f9ac75a97e7027fcf *electron-v25.8.2-win32-arm64-pdb.zip cc6c369bd9d2fc7664bbd5138be5527432e17ec6eb7c7b5405e641e0468dc280 *electron-v25.8.2-win32-arm64-symbols.zip d4083f48cc1f7bb311a4a53814e2cd7c343c159f4bcd4ee368d20564e1d34a36 *electron-v25.8.2-win32-arm64.zip 276b0ba63d6dbb78f99caf2c58213415f22cb4f90ec6e6485214f3174482458c *electron-v25.8.2-win32-ia32-pdb.zip 45551352678e250c7970c6258d55e1c6451131d1e5f1ea053390bd9d9364d33c *electron-v25.8.2-win32-ia32-symbols.zip fc9798e973b6a872d7250754b29caa48b0f0ad7c33f39ab61008525b29111049 *electron-v25.8.2-win32-ia32.zip 491795df7e70effeae68a11e39675ca32677b44865d10151a2eea71dad2c2815 *electron-v25.8.2-win32-x64-pdb.zip fa5962a52022c16fb59d79c7528d50ab314b6a8d1e6b90f4c940bb3a0f061923 *electron-v25.8.2-win32-x64-symbols.zip fb5786dc18a10cc29b4d765f34af2f9f9d9866f82007468b55d800dd43feb196 *electron-v25.8.2-win32-x64.zip b1ad00396c949d0f37fe3920eb4f667663d7453dce4f141bcbfc560140a85d84 *ffmpeg-v25.8.2-darwin-arm64.zip 81a3dff9b95d294a7955d67e013ecf65b0c1b929104cea82fcf22774c067d457 *ffmpeg-v25.8.2-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.8.2-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.8.2-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.8.2-linux-x64.zip aacd68ce8a56e707e20fdcf08ea66348dbb1717b87f9c7e3d80da106fa5aa45b *ffmpeg-v25.8.2-win32-arm64.zip 29411956a1ab20f63926a764893effd113c0ef0349cbaa355a95c1c1046d5d8d *ffmpeg-v25.8.2-win32-ia32.zip 80ccd09de3a73e1a3b27ad2aa2a8a3eb5753290b7eee3d2e5ea08837876c3f66 *ffmpeg-v25.8.2-win32-x64.zip </ins>

"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "dc3ce65dd5fd872db86e5308ae005a898142435a" </del> <ins> "commitHash": "67b2739f44ce98aad493170fecc696f76dc12de1" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "25.8.1" </del> <ins> "version": "25.8.2" </ins> }, { "component": {

{ "name": "code-oss-dev", "version": "1.83.0", <del> "distro": "f4e12eeb4a251bbec78e035eaeb7f7c5dd372a40", </del> <ins> "distro": "a06824e6c4c76374ec53ff47965dbb0fada8ae6c", </ins> "author": { "name": "Microsoft Corporation" },

"cssnano": "^4.1.11", "debounce": "^1.0.0", "deemon": "^1.8.0", <del> "electron": "25.8.1", </del> <ins> "electron": "25.8.2", </ins> "eslint": "8.36.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-jsdoc": "^46.5.0",

resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== <del> electron@25.8.1: version "25.8.1" resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.1.tgz#092fab5a833db4d9240d4d6f36218cf7ca954f86" integrity sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ== </del> <ins> electron@25.8.2: version "25.8.2" resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.2.tgz#5e8ea742b68a7d1427bf78902ec40a5b7231a58b" integrity sha512-AM1ra6b16EQuO1bJtiA8ZiWqqFLLgVfxD56ykiy+EA5C63Hkx8OmIbe+5JAsLiTwRVvBZ4oCAj6wa2qT+iq8ww== </ins> dependencies: "@electron/get" "^2.0.0" "@types/node" "^18.11.18"