Skip to content

test: quarantine issue reporter WebM codec checks - #343355

Closed
Giuseppe Cianci (Giuspepe) wants to merge 1 commit into
mainfrom
agents/quarantine-issue-reporter-webm
Closed

Giuseppe Cianci (Giuspepe) wants to merge 1 commit into
mainfrom
agents/quarantine-issue-reporter-webm

Conversation

@Giuspepe

Copy link
Copy Markdown
Contributor

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.

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]>
Copilot AI balanced review requested due to automatic review settings October 21, 2026 21:40
@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: fc01a9db Current: 8105a72d

Changed (1)

chat/aiCustomizations/customizationMigrationDashboard/MigrationsTooltip/Light
Before After
before after

@bryanchen-d

Copy link
Copy Markdown
Collaborator

Giuseppe Cianci (@Giuspepe) heads-up: Electron-Unit is red on all three OSes here, most likely because of one line. In this runner test.skip(...) returns undefined, so in nativeRecordingService.test.ts the round-trip test's chained .timeout(10000) throws for the video/webm case and the whole file fails to load. The minimal fix is optional chaining on the call:

		(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.

Co-authored with Copilot

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
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

Comment on lines +135 to +136
// 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 () => {
Comment on lines 103 to +105
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 () => {
Comment on lines 441 to +443
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 () => {
@Giuspepe

Copy link
Copy Markdown
Contributor Author

closed in favor of #343360

auto-merge was automatically disabled October 21, 2026 23:17

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants