From 7a93f7827a60c2d2dc64fb369163f47223b0f445 Mon Sep 17 00:00:00 2001 From: Jesse Rosalia Date: Wed, 24 Jun 2026 11:34:40 -0700 Subject: [PATCH] fix: show unfixable rubocop offenses on format failure Replace `-o /dev/null` with `--display-only-fail-level-offenses`. This suppresses the ~1.5MB report of corrected offenses (which would overflow the caller's buffer) while still showing uncorrectable offenses directly. Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 8f3fe8266..760bd3bb0 100644 --- a/justfile +++ b/justfile @@ -23,10 +23,10 @@ alias lint-check := format-check # ⭐ check style & formatting for all files, fixing what we can lint: (format-check "--autocorrect") -# NOTE: "-o /dev/null" is vital - rubocop has super noisy output and codegen will crash when formatting ruby if everything gets printed -# so, we send all its output to the void -# copy of `lint` with less output -format: (format-check "-o /dev/null --autocorrect") +# Quiet version of `lint` for use by codegen and CI. +# --display-only-fail-level-offenses suppresses the ~1.5MB report of corrected +# offenses and only shows uncorrectable ones. +format: (format-check "--autocorrect --display-only-fail-level-offenses") update-certs: install bundle exec rake update_certs