Skip to content

Let a known failure name the platforms it applies to - #1947

Merged
abrignoni merged 1 commit into
mainfrom
fix/known-failures-by-platform
Nov 17, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/known-failures-by-platform

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

A known_failures.json entry can now be limited to some platforms, so a Windows-only failure does not stop the unit gating on macOS and Linux.

  • Format: "unit": {"reason": "...", "platforms": ["win32"]}. A plain reason still applies everywhere. A malformed entry stops the run.
  • Checked through the real run with a probe entry: scoped to darwin it applied on a Mac, scoped to win32 it did not.
  • The full case run gives the same results as main. The create-test-cases doc describes the new form.

🤖 Generated with Claude Code

An entry in known_failures.json stopped a unit gating on every platform,
so listing a Windows-only failure there would also have stopped it gating
on macOS and Linux. An entry can now be {"reason": ..., "platforms":
["win32"]}, which excludes the unit only there. A plain reason still
applies everywhere, and a malformed entry stops the run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit cf93c72 into main Nov 17, 2026
24 checks passed
@abrignoni
abrignoni deleted the fix/known-failures-by-platform branch November 17, 2026 06:32
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.

1 participant