Repository navigation
test: quarantine issue reporter WebM codec checks - #343355
Giuseppe Cianci (Giuspepe) wants to merge 1 commit into
Conversation
Temporarily skip three runtime-dependent WebM cases while investigating microsoft/vscode-engineering#4294. Keep other formats and deterministic recording coverage enabled. Co-authored-by: Copilot <[email protected]>
|
Giuseppe Cianci (@Giuspepe) heads-up: (mimeType === 'video/webm' ? test.skip : test)(`only advertises and round-trips playable ${mimeType} without OS capture`, async () => {
...
})?.timeout(10000);#343360 is the same three skips with that guard, validated locally in Electron (exactly 3 pending, everything else passing). Whichever of the two you prefer is fine with us. We just need one green on main before the 23:00 UTC insider.
|
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
3 open issues
Since Mocha's skipped-test output typically only shows the test title, consider including the… · New Same scoping/readability issue as the other loop: the TODO is unconditional and the skip is… · New The TODO/comment is placed unconditionally inside the loop, so it reads as if it applies to both… · New
What changed in this PR
Temporarily quarantines WebM-related media encode/decode tests that are blocking CI, while keeping MP4/MOV coverage intact, with re-enablement tracked in microsoft/vscode-engineering#4294.
Changes:
- Conditionally skips the WebM case in a MIME-type round-trip test.
- Conditionally skips the WebM case in a container/codec decode/cleanup test loop.
- Skips a WebM-duration-metadata test outright.
| File | Description |
|---|---|
| src/vs/workbench/contrib/issue/test/electron-browser/nativeRecordingService.test.ts | Skips the WebM MIME-type variant of the round-trip test while leaving MP4 enabled. |
| src/vs/workbench/contrib/issue/test/browser/issueReporterMedia.test.ts | Skips WebM decode and WebM-duration tests while keeping MP4/MOV cases enabled. |
Review effort: Lite
| // TODO: Re-enable WebM after https://github.com/microsoft/vscode-engineering/issues/4294. | ||
| test.skip('does not invent a duration for a WebM recording without duration metadata', async () => { |
| for (const extension of ['mp4', 'webm', 'mov'] as const) { | ||
| test(`decodes real ${extension} or explicitly rejects an unsupported container or codec, with complete cleanup`, async () => { | ||
| // TODO: Re-enable WebM after https://github.com/microsoft/vscode-engineering/issues/4294. | ||
| (extension === 'webm' ? test.skip : test)(`decodes real ${extension} or explicitly rejects an unsupported container or codec, with complete cleanup`, async () => { |
| for (const mimeType of ['video/mp4', 'video/webm']) { | ||
| test(`only advertises and round-trips playable ${mimeType} without OS capture`, async () => { | ||
| // TODO: Re-enable WebM after https://github.com/microsoft/vscode-engineering/issues/4294. | ||
| (mimeType === 'video/webm' ? test.skip : test)(`only advertises and round-trips playable ${mimeType} without OS capture`, async () => { |
|
closed in favor of #343360 |
Pull request was closed


Temporarily quarantine three WebM encode/decode tests blocking main CI. Re-enablement is tracked in microsoft/vscode-engineering#4294.
MP4/MOV checks and deterministic recording, import, duration, and cleanup tests remain enabled. No production changes.
Validation: TypeScript parse/transpile, formatter, whitespace checks, and independent diff review passed. Exactly three cases are skipped; test bodies are unchanged. Runtime tests were not rerun.