Repository navigation
Description
Follow-up from #342852, which turned the product build (ADO def 111) red on Unit Tests (Electron) on all 3 OSes. Examples: main CI 487717 and 487749. Details are in this comment and microsoft/vscode-engineering#4294.
What's wrong
Product builds use the Microsoft-built Electron that we ship. The distro product.json sets electronArtifactFeed: vscode-electron-prebuilt, and build/lib/electron.ts downloads Electron from that feed. PR CI and local dev use the public Electron release.
On the feed Electron, a VP8 WebM doesn't decode in a <video> element on Linux, macOS or Windows. Even a clip recorded by MediaRecorder in the same process can't be played back. On public Electron the same tests pass, including with --build.
This likely means WebM import, and possibly recording playback, doesn't work in Insiders. WebM recording predates #342852 (recordingService.ts, nativeRecordingService.ts, and the <video> in issueReporterEditorPane.ts), so the playback part may be a pre-existing limitation of the feed Electron that these new tests exposed, separate from the new import path.
I couldn't download the feed Electron on my machine, so the shipped-runtime part is inferred from CI failing identically on all 3 OSes. It isn't reproduced locally.
Tests skipped until this is fixed
To keep official Insiders building, these 4 tests are skipped with a link to this issue. That change is a temporary fix PR; I'll link it here.
Issue reporter media decoding › decodes real webm or explicitly rejects an unsupported container, with complete cleanupIssue reporter media decoding › does not invent a duration for a playable WebM recording without duration metadataIssue reporter media import lifecycle › does not present Chromium's last-frame estimate as the duration of an imported WebMNativeRecordingService › encodes and decodes playable video/webm without OS capture
Asks for Giuseppe Cianci (@Giuspepe)
- Check whether recording playback already fails in current Insiders. If it does, the problem predates feat(issueReporter): improve wizard destinations and attachments #342852 and lives in the feed Electron.
- Decide the product behavior when WebM can't be decoded on the shipped runtime. Options include a different container or codec, a clear error, or getting the feed Electron fixed.
- Run the media tests on the feed Electron, for example through a def 111 run or
scripts/test.shwith the feed build, before un-skipping them.
Co-authored with Copilot
Activity
bryanchen-d commentedon Oct 21, 2026
The 4 WebM tests are skipped in #343347 (temporary fix PR), each with a comment linking this issue.
bryanchen-d commentedon Oct 21, 2026
#343343 by Giuseppe Cianci (@Giuspepe) addresses this: recording now requires both encoder and decoder support for the chosen format and falls back otherwise, and the tests are no longer skipped. Leaving it to Giuseppe Cianci (@Giuspepe) to close this once it lands, including whether recording playback on older Insiders builds was already affected.
abtparnian-svg commentedon Oct 21, 2026
issue: skip WebM tests that can't open on the shipped Electron
issue: skip WebM tests that can't open on the shipped Electron (#343360)