@biffo/cli 0.173.0 → 0.173.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -290,11 +290,31 @@ if [ -z "$PASSED" ]; then
|
|
|
290
290
|
# conflating them is the exact failure this gate exists to remove -- the
|
|
291
291
|
# standard's own principle, applied to the gate itself. tabsii-crm ran ONE
|
|
292
292
|
# check on a 700-line change and printed a pass (#855).
|
|
293
|
+
#
|
|
294
|
+
# Whether that BLOCKS depends on one thing: does this repo have CI the gate
|
|
295
|
+
# should have mirrored?
|
|
296
|
+
#
|
|
297
|
+
# - CI exists and the gate ran nothing -> that is the #855 bug. Block.
|
|
298
|
+
# - No CI at all -> the repo has no shift-left obligation, and blocking
|
|
299
|
+
# every push there is friction with no benefit. Friction is what drives
|
|
300
|
+
# people to BIFFO_SKIP_VERIFY, which is a counter-metric H4 pre-registered
|
|
301
|
+
# as refuting itself. Say it loudly, exit 0.
|
|
302
|
+
#
|
|
303
|
+
# Found immediately: the first run of this rule refused the push in the three
|
|
304
|
+
# repos that have no CI (tabsii-runners, biffo-runners,
|
|
305
|
+
# tabsii-data-model-design) -- blocking the very sync PR that was installing
|
|
306
|
+
# the gate.
|
|
293
307
|
printf '\033[31mverify ran NOTHING - this is not a pass\033[0m\n'
|
|
294
|
-
|
|
295
|
-
|
|
308
|
+
if [ -f .github/workflows/ci.yml ]; then
|
|
309
|
+
printf 'This repo HAS CI, and the gate mirrored none of it. That is the #855 bug:\n'
|
|
310
|
+
printf 'a gate that reports on work it never checked. Run scripts/gate-coverage.sh\n'
|
|
311
|
+
printf 'to see which of its CI checks are missing.\n\n'
|
|
312
|
+
exit 1
|
|
313
|
+
fi
|
|
314
|
+
printf 'This repo has no CI for the gate to mirror, so there is nothing to shift\n'
|
|
315
|
+
printf 'left. Not blocking -- but nothing was verified here.\n'
|
|
296
316
|
printf 'See docs/practices/standards/local-gates.md\n\n'
|
|
297
|
-
exit
|
|
317
|
+
exit 0
|
|
298
318
|
fi
|
|
299
319
|
printf '\033[32mverify passed\033[0m -%s\n' "$PASSED"
|
|
300
320
|
[ -n "$SKIPPED" ] && printf '\033[90mnot applicable here:%s\033[0m\n' "$SKIPPED"
|
|
@@ -290,11 +290,31 @@ if [ -z "$PASSED" ]; then
|
|
|
290
290
|
# conflating them is the exact failure this gate exists to remove -- the
|
|
291
291
|
# standard's own principle, applied to the gate itself. tabsii-crm ran ONE
|
|
292
292
|
# check on a 700-line change and printed a pass (#855).
|
|
293
|
+
#
|
|
294
|
+
# Whether that BLOCKS depends on one thing: does this repo have CI the gate
|
|
295
|
+
# should have mirrored?
|
|
296
|
+
#
|
|
297
|
+
# - CI exists and the gate ran nothing -> that is the #855 bug. Block.
|
|
298
|
+
# - No CI at all -> the repo has no shift-left obligation, and blocking
|
|
299
|
+
# every push there is friction with no benefit. Friction is what drives
|
|
300
|
+
# people to BIFFO_SKIP_VERIFY, which is a counter-metric H4 pre-registered
|
|
301
|
+
# as refuting itself. Say it loudly, exit 0.
|
|
302
|
+
#
|
|
303
|
+
# Found immediately: the first run of this rule refused the push in the three
|
|
304
|
+
# repos that have no CI (tabsii-runners, biffo-runners,
|
|
305
|
+
# tabsii-data-model-design) -- blocking the very sync PR that was installing
|
|
306
|
+
# the gate.
|
|
293
307
|
printf '\033[31mverify ran NOTHING - this is not a pass\033[0m\n'
|
|
294
|
-
|
|
295
|
-
|
|
308
|
+
if [ -f .github/workflows/ci.yml ]; then
|
|
309
|
+
printf 'This repo HAS CI, and the gate mirrored none of it. That is the #855 bug:\n'
|
|
310
|
+
printf 'a gate that reports on work it never checked. Run scripts/gate-coverage.sh\n'
|
|
311
|
+
printf 'to see which of its CI checks are missing.\n\n'
|
|
312
|
+
exit 1
|
|
313
|
+
fi
|
|
314
|
+
printf 'This repo has no CI for the gate to mirror, so there is nothing to shift\n'
|
|
315
|
+
printf 'left. Not blocking -- but nothing was verified here.\n'
|
|
296
316
|
printf 'See docs/practices/standards/local-gates.md\n\n'
|
|
297
|
-
exit
|
|
317
|
+
exit 0
|
|
298
318
|
fi
|
|
299
319
|
printf '\033[32mverify passed\033[0m -%s\n' "$PASSED"
|
|
300
320
|
[ -n "$SKIPPED" ] && printf '\033[90mnot applicable here:%s\033[0m\n' "$SKIPPED"
|