@biffo/cli 0.176.0 → 0.176.1

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.
@@ -89,6 +89,13 @@ SKIPPED=""
89
89
  # break-even at one catch per 336 pushes, against an observed rate of roughly
90
90
  # one per 165.
91
91
  #
92
+ # The command is plain `pytest -q`, matching CI. `--no-cov` looked like a free
93
+ # speed-up and is a **pytest-cov flag**: repos without that plugin -- e.g.
94
+ # biffo-plugin-ideation, whose CI runs `uv run pytest -q` -- reject it outright
95
+ # with `unrecognized arguments`. That is the gate failing where CI passes, which
96
+ # H5 pre-registered as a condition that refutes it, and it was caught during
97
+ # rollout rather than by review.
98
+ #
92
99
  # BIFFO_VERIFY_PYTEST overrides in BOTH directions: 1 forces it in, 0 forces it
93
100
  # out. An override that only forces on would leave no way to escape a suite that
94
101
  # has quietly grown past the threshold.
@@ -108,9 +115,9 @@ pytest_is_fast() {
108
115
  # means "too slow", which is the correct verdict rather than a hang.
109
116
  _start=$(date +%s)
110
117
  if [ "$_d" = "." ]; then
111
- timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run pytest -q --no-cov >/dev/null 2>&1 || true
118
+ timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run pytest -q >/dev/null 2>&1 || true
112
119
  else
113
- timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run --directory "$_d" pytest -q --no-cov >/dev/null 2>&1 || true
120
+ timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run --directory "$_d" pytest -q >/dev/null 2>&1 || true
114
121
  fi
115
122
  _secs=$(($(date +%s) - _start))
116
123
  echo "$_secs" > "$_cache" 2>/dev/null || true
@@ -284,7 +291,7 @@ if [ -n "$PY_DIRS" ]; then
284
291
  if [ "$PYTEST" = "0" ]; then
285
292
  skip "pytest$suffix" "excluded by BIFFO_VERIFY_PYTEST=0"
286
293
  elif [ -n "$PYTEST" ] || { [ -z "$LIST" ] && pytest_is_fast "."; }; then
287
- ci_has "pytest" && run_check "pytest$suffix" uv run pytest -q --no-cov
294
+ ci_has "pytest" && run_check "pytest$suffix" uv run pytest -q
288
295
  else
289
296
  skip "pytest$suffix" "suite is slower than ${PYTEST_BUDGET_SECONDS}s - CI keeps it"
290
297
  fi
@@ -296,7 +303,7 @@ if [ -n "$PY_DIRS" ]; then
296
303
  if [ "$PYTEST" = "0" ]; then
297
304
  skip "pytest$suffix" "excluded by BIFFO_VERIFY_PYTEST=0"
298
305
  elif [ -n "$PYTEST" ] || { [ -z "$LIST" ] && pytest_is_fast "$d"; }; then
299
- ci_has "pytest" && run_check "pytest$suffix" uv run --directory "$d" pytest -q --no-cov
306
+ ci_has "pytest" && run_check "pytest$suffix" uv run --directory "$d" pytest -q
300
307
  else
301
308
  skip "pytest$suffix" "suite is slower than ${PYTEST_BUDGET_SECONDS}s - CI keeps it"
302
309
  fi
@@ -89,6 +89,13 @@ SKIPPED=""
89
89
  # break-even at one catch per 336 pushes, against an observed rate of roughly
90
90
  # one per 165.
91
91
  #
92
+ # The command is plain `pytest -q`, matching CI. `--no-cov` looked like a free
93
+ # speed-up and is a **pytest-cov flag**: repos without that plugin -- e.g.
94
+ # biffo-plugin-ideation, whose CI runs `uv run pytest -q` -- reject it outright
95
+ # with `unrecognized arguments`. That is the gate failing where CI passes, which
96
+ # H5 pre-registered as a condition that refutes it, and it was caught during
97
+ # rollout rather than by review.
98
+ #
92
99
  # BIFFO_VERIFY_PYTEST overrides in BOTH directions: 1 forces it in, 0 forces it
93
100
  # out. An override that only forces on would leave no way to escape a suite that
94
101
  # has quietly grown past the threshold.
@@ -108,9 +115,9 @@ pytest_is_fast() {
108
115
  # means "too slow", which is the correct verdict rather than a hang.
109
116
  _start=$(date +%s)
110
117
  if [ "$_d" = "." ]; then
111
- timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run pytest -q --no-cov >/dev/null 2>&1 || true
118
+ timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run pytest -q >/dev/null 2>&1 || true
112
119
  else
113
- timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run --directory "$_d" pytest -q --no-cov >/dev/null 2>&1 || true
120
+ timeout "$((PYTEST_BUDGET_SECONDS * 4))" uv run --directory "$_d" pytest -q >/dev/null 2>&1 || true
114
121
  fi
115
122
  _secs=$(($(date +%s) - _start))
116
123
  echo "$_secs" > "$_cache" 2>/dev/null || true
@@ -284,7 +291,7 @@ if [ -n "$PY_DIRS" ]; then
284
291
  if [ "$PYTEST" = "0" ]; then
285
292
  skip "pytest$suffix" "excluded by BIFFO_VERIFY_PYTEST=0"
286
293
  elif [ -n "$PYTEST" ] || { [ -z "$LIST" ] && pytest_is_fast "."; }; then
287
- ci_has "pytest" && run_check "pytest$suffix" uv run pytest -q --no-cov
294
+ ci_has "pytest" && run_check "pytest$suffix" uv run pytest -q
288
295
  else
289
296
  skip "pytest$suffix" "suite is slower than ${PYTEST_BUDGET_SECONDS}s - CI keeps it"
290
297
  fi
@@ -296,7 +303,7 @@ if [ -n "$PY_DIRS" ]; then
296
303
  if [ "$PYTEST" = "0" ]; then
297
304
  skip "pytest$suffix" "excluded by BIFFO_VERIFY_PYTEST=0"
298
305
  elif [ -n "$PYTEST" ] || { [ -z "$LIST" ] && pytest_is_fast "$d"; }; then
299
- ci_has "pytest" && run_check "pytest$suffix" uv run --directory "$d" pytest -q --no-cov
306
+ ci_has "pytest" && run_check "pytest$suffix" uv run --directory "$d" pytest -q
300
307
  else
301
308
  skip "pytest$suffix" "suite is slower than ${PYTEST_BUDGET_SECONDS}s - CI keeps it"
302
309
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.176.0",
3
+ "version": "0.176.1",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",