Skip to content

modifiers: sort peer- by the variant it wraps, like group- - #773

Merged
samoht merged 3 commits into
scanner-modifier-boundaryfrom
peer-hover-slot
Sep 14, 2026
Merged

modifiers: sort peer- by the variant it wraps, like group-#773
samoht merged 3 commits into
scanner-modifier-boundaryfrom
peer-hover-slot

Conversation

@samoht

@samoht samoht commented Sep 13, 2026

Copy link
Copy Markdown
Owner

peer-hover was special-cased into group-hover's slot, which pulled it out of the peer group and in front of every other peer- spelling. Tailwind writes peer-checked, then peer-hover, then peer-focus.

This is the failure that has been reading as a flaky sort test. It is real and it is deterministic; it only looked intermittent because the seed a run prints could not replay it. 03d50aa fixes that separately: one shared RNG coupled every drawer, so the seed that failed CI passed when the sort tests were run alone. Follows #772.

@samoht
samoht added this pull request to stack #728 September 13, 2026 19:53
The seed a run prints has to replay on its own. Sharing one state couples
every drawer, so what the fuzzer sees depends on how much randomness ran
before it: the seed that failed CI passed when the sort tests were run
alone, and a real ordering defect read as a flake for a session.

rng_named seeds a state from the run's seed and the test's own name, so
the sequence is the same whatever else runs. The ordering test it found
fails on the parent commit.
peer-hover was special-cased into group-hover's slot, which pulled it out
of the peer group and in front of every other peer- spelling. Tailwind
writes peer-checked, then peer-hover, then peer-focus - the inner variant
order, which is what the general peer- rule already gives.

The same line named group-hover, where it was redundant: the general
group- rule sends it to the same slot.
@samoht
samoht merged commit 3632d69 into main Sep 14, 2026
3 checks passed
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