Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
davesnx
force-pushed
the
css-winner-diff
branch
from
September 22, 2026 12:13
a48cb7b to
2b8d037
Compare
davesnx
force-pushed
the
css-winner-diff
branch
from
September 22, 2026 12:33
2b8d037 to
0bb0a30
Compare
Owner
Author
|
Dropped: the winner-diff script was a one-off evaluation tool with no callers in the repo. Its results stay recorded in the generate-dependency-order plan. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/css-winner-diff.ts OLD.css NEW.css [--summary]compares two stylesheets emitted bystyled-ppx.generateand reports every pair of rules with the same property, specificity and at-rule wrapper but different selectors whose relative order changed, which is exactly the set of cascade ties whose winner flips. It exists to review ordering changes in the aggregator; the exit code is always 0.Evidence at 79a3d70:
node scripts/css-winner-diff.ts --self-test: all assertions pass; a 25,000-rule synthetic input completes in about 1.3 s.Node 22 runs the file directly with no dependencies. Not part of the opam package.
Risk: two-way door. Tooling only; a revert removes the script and nothing else depends on it.