feat(kvb-org-organize): node --check and node -c count as light runs
watch.py treats node --check FILE and node -c FILE as a parse-only call: launched() no longer names it a program launch and light_program() admits it. Any other option, a missing file or a --require hook keeps the old heavy verdict; test_watch.py pins both sides. 🎯 Fix: 93 % 💥 Break: 2 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 91 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58f4acdad9
commit
e522e94b16
2 files changed
+23
-3
No files matched your search
@@ -383,6 +383,7 @@ class TestHeavy(unittest.TestCase):
|
||||
"node tests/e2e/cdp.mjs",
|
||||
"node tools/shot.mjs",
|
||||
"deno run -A tests/e2e/cdp.mjs",
|
||||
"node --check --require ./tools/plain.mjs tools/shot.mjs",
|
||||
"npx playwright test",
|
||||
"npx --yes @playwright/test test",
|
||||
"playwright test",
|
||||
@@ -403,6 +404,8 @@ class TestHeavy(unittest.TestCase):
|
||||
"python3 tools/plain.py",
|
||||
"python3 -c 'import json'",
|
||||
"node tools/plain.mjs",
|
||||
"node --check tools/shot.mjs",
|
||||
"node -c tools/shot.mjs",
|
||||
"npx prettier --check .",
|
||||
"playwright --version",
|
||||
"tox --version",
|
||||
@@ -424,6 +427,8 @@ class TestHeavy(unittest.TestCase):
|
||||
"lizard -w -C 10 tools/plain.py",
|
||||
"jq . config.json",
|
||||
"python3 -m py_compile tools/plain.py",
|
||||
"node --check tools/shot.mjs",
|
||||
"node -c tools/plain.mjs",
|
||||
"python3 -m pytest tests/test_watch.py",
|
||||
"pytest tests/test_watch.py::TestA -q",
|
||||
"python3 -m unittest tests.test_watch",
|
||||
@@ -460,6 +465,9 @@ class TestHeavy(unittest.TestCase):
|
||||
"make lint",
|
||||
"python3 tools/plain.py",
|
||||
"python3 -c 'import json'",
|
||||
"node tools/plain.mjs",
|
||||
"node --check",
|
||||
"node --check --require ./tools/plain.mjs tools/shot.mjs",
|
||||
"ruff check $(cat list)",
|
||||
"cd $(mktemp -d) && python3 -m pytest test_watch.py",
|
||||
"cd tests ; python3 -m pytest test_page.py",
|
||||
|
||||
Reference in new issue
Block a user