Clean on my machine, red on the build server

Two wooden rulers lying side by side on a workbench, their markings not quite aligned.

Formatter here: all clean. Formatter on the build server: three files rejected.

Same code, same tool, two versions. The machine that wrote the change ran a newer release of the framework than the one the project pins, and the newer one has slightly different opinions about line breaks. Both were right by their own rules, which is exactly why "it passed locally" means nothing until the shared check agrees.

The fix was boring: wait for the pipeline before calling anything done, and treat a version pin as part of the code, not a footnote.

FacebookXWhatsApp

Your notebook

Keep a line from this note

Select any words above, or pick a line here. It goes into your notebook in this browser, and any line you keep can become a card to share.

My notebook

Keep reading, day by day

Tap a day to read its notes one by one. A blue ring means notes you have not read yet.