fix: replace blanket ECC_TEST_ALLOW_FAILURES with targeted ECC_TEST_SKIP

Per chenzh01 review: the blanket ECC_TEST_ALLOW_FAILURES=1 env var masks all failures. Replace with ECC_TEST_SKIP listing only the known-broken test files. Any new failure will break CI. Added skip-pattern warning in test output for visibility.
This commit is contained in:
Geronimo
2026-09-25 01:04:04 +05:30
parent a21e06751a
commit 2a9b56bf36
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ jobs:
run: node tests/run-all.js
env:
CLAUDE_CODE_PACKAGE_MANAGER: ${{ matrix.pm }}
ECC_TEST_ALLOW_FAILURES: '1'
ECC_TEST_SKIP: 'ownership-guard,install-state-projection,install-state-selective-reinstall,codex-hooks,install-apply,hooks.test,observe-subdirectory-detection,claude-scope-migration,state-store,control-pane.test,setup.test'
# Upload test artifacts on failure
- name: Upload test artifacts
@@ -324,7 +324,7 @@ jobs:
- name: Run coverage
run: npm run coverage
env:
ECC_TEST_ALLOW_FAILURES: '1'
ECC_TEST_SKIP: 'ownership-guard,install-state-projection,install-state-selective-reinstall,codex-hooks,install-apply,hooks.test,observe-subdirectory-detection,claude-scope-migration,state-store,control-pane.test,setup.test'
- name: Upload coverage report
if: always()