Skip to content

fix(changeset): flag test.fixme report compatibility - #2012

Merged
okwasniewski merged 2 commits into
mainfrom
michal/fixme-breaking-changeset
Nov 20, 2026
Merged

okwasniewski merged 2 commits into
mainfrom
michal/fixme-breaking-changeset

Conversation

@michal-e2e

Copy link
Copy Markdown
Collaborator
  • Mark the new fixme value for skip.cause from feat(test): add test.fixme #1887 as breaking. Tell report consumers to update their pinned schema and handle the new value.
  • Use a minor bump for e2e and @e2e-dev/core.

Verified

Ran it locally: yes

Compared the JSON release plans from pnpm exec changeset status --output=<file> on main and this branch.

main this branch
0.24.1 for both packages, with no breaking-change label 0.25.0 for both packages, with a breaking-change label and migration instructions
e2e 0.24.0 -> 0.25.0 (minor)
@e2e-dev/core 0.24.0 -> 0.25.0 (minor)

@github-actions github-actions Bot added the size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 20, 2026
@michal-e2e michal-e2e added Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. e2e team Opened by the e2e team labels Nov 20, 2026
@okwasniewski
okwasniewski merged commit 31c8221 into main Nov 20, 2026
30 checks passed
@okwasniewski
okwasniewski deleted the michal/fixme-breaking-changeset branch November 20, 2026 16:30
Varshith-Kali added a commit to Varshith-Kali/e2e that referenced this pull request Nov 20, 2026
Main moved the pending release to 0.25.0 when e2e-inc#2012 made test.fixme a
minor, so 0.24.1 will never ship and the floors naming it fail the
release checks on the merge commit. Web and html-reporter now floor
e2e and core at 0.25.0, the version the pending changesets will
release. The web raise cuts off released 0.24.0, so it carries its own
Breaking minor changeset instead of rewriting the Release summary on
the sandbox changeset.

Signed-off-by: Varshith Puli <pulivarshit@gmail.com>
KrzysztofMoch added a commit that referenced this pull request Nov 25, 2026
… tests

Mark the changeset minor with a Breaking note for the new todo skip cause,
as #2012 did for fixme. Add a Throws table for test.todo, name the fix in
its extra-argument error, pin todo in last-run and the Report type, restore
main's fixme schema-fixture test, and drop the todo filter fixture, which
the cause-agnostic filter rule already covers.
mikolajadamowicz pushed a commit to mikolajadamowicz/e2e that referenced this pull request Nov 25, 2026
* feat(e2e): add test.todo skip cause

* fix(e2e): flag test.todo's report-1 skip cause as breaking, pin it in tests

Mark the changeset minor with a Breaking note for the new todo skip cause,
as e2e-inc#2012 did for fixme. Add a Throws table for test.todo, name the fix in
its extra-argument error, pin todo in last-run and the Report type, restore
main's fixme schema-fixture test, and drop the todo filter fixture, which
the cause-agnostic filter rule already covers.

* refactor(e2e): register test.todo through registerOne directly

* fix(e2e): allow the todo skip cause only on a result with no attempts

report-1 took `todo` in the skip definition that results, attempts, and
serial members share, so a report with a todo attempt, or a todo result
with attempts, validated. `todo` now lives in a result-only `resultSkip`
with reason `todo`, and a todo result must be a plain test row with no
serial group and no attempts.

That rule caught a real case: a failed test turned into a test.todo and
rerun with --last-failed inherited its old attempts in
report-with-reruns.json. foldLastRun now leaves a todo result as it is.

Co-authored-by: Enoch <bferanmi806@gmail.com>

---------

Co-authored-by: Enoch <bferanmi806@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e team Opened by the e2e team Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants