Skip to content

Add blink parity workflow for laravel/framework - #144

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-blink-parity-laravel
Oct 5, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-blink-parity-laravel

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Adds a third blink parity gate, alongside the rector-src and mautic ones, running against a real laravel/framework checkout.

What it does

Mirrors blink_parity_mautic.yaml:

  • clones laravel/framework (shallow)
  • writes one shared ECS config (psr12 + perCs + common + standaloneLine + cleanCode, no per-fixer skips) into the checkout
  • fixes two identical copies: one via the PHP engine, one via blink (--blink)
  • diffs the resulting trees, reports the parity table + per-file divergences to the job summary
  • ratchet gate: fails once the differing share crosses MAX_DIFF_PERCENT

Initial threshold

Measured locally on the current main blink build:

metric value
files 3042
identical output 2823
differing output 219
parity 92.80%
diff 7.20%

Gate starts at 7.3% so it is green now and ratchets down as parity on laravel improves.

Mirrors the mautic parity gate: runs the same ECS config through the PHP
engine and through blink (--blink) on identical laravel/framework checkouts,
diffs the trees, and ratchets on the differing share. Initial gate at 7.3%
(measured 7.20% diff, 92.80% parity under psr12 + perCs + common +
standaloneLine + cleanCode).
@TomasVotruba
TomasVotruba merged commit 4b05fdb into main Oct 5, 2026
17 checks passed
@TomasVotruba
TomasVotruba deleted the tv-blink-parity-laravel branch October 5, 2026 20:09
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