You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DiffCI skips tests it believes a change doesn't affect. The way to check that belief is to run the full suite anyway and see whether any test that failed is one DiffCI would have skipped. Today there's no command for that comparison, so "no missed failures" can only be claimed, not shown.
Proposal: a local, stateless check that takes one plan and one full-suite result and reports any failed test the plan had skipped.
Input: a DiffCI plan (its skippedTests) and JUnit XML from a full run of the same revision.
Output: failed tests grouped as
missed: the failure maps to a file in skippedTests;
selected: the failure maps to a file DiffCI selected;
unattributed: the failure can't be mapped to a file.
Exit non-zero if anything is missed or unattributed. Unattributed must never be reported as "fine".
If the plan was a full fallback, say so and report nothing as missed.
Mapping failures to files is the main work. Use the file attribute where the reporter writes one (Vitest, jest-junit, pytest), then each runner's own conventions. Anything ambiguous is unattributed.
Out of scope: storing results across runs, history or dashboards. This issue is one comparison of one run.
Done when
The command works for Vitest and Jest JUnit output, with fixtures for missed, selected, unattributed and full-fallback cases
Using DiffCI shows how to run it in a scheduled full-suite CI job
Go and Maven (Surefire) mapping, as follow-up steps or in the same PR
Questions about the output format or the name belong here before a PR.
Activity