feat(doctor): surface solution-acceptance deadlock checks (parity with validate) #640
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_call: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: npm run typecheck | |
| - name: Build | |
| run: npm run build | |
| - name: Test | |
| run: npm test | |
| - name: Integration tests | |
| # Runs the HARNESS_INTEGRATION_TESTS-gated suite that `npm test` | |
| # skips (operator-state-isolation: the full suite must stay green | |
| # even with an operator pause sentinel planted). Keeps that | |
| # operator-recovery-critical behavior from rotting unverified. | |
| # ~6s locally; the runner's HOME is ephemeral, and the test | |
| # snapshots and restores any real sentinel in try/finally anyway. | |
| timeout-minutes: 10 | |
| run: npm run test:integration | |
| - name: Understanding-gate schema drift check | |
| # Fetches @lannguyensi/understanding-gate@latest and compares its | |
| # parser SECTIONS array against the local mirror in | |
| # src/cli/pack/understanding-report-schema-hint.ts. Fails on drift | |
| # so a stale gate block message can't silently ship. | |
| # Depends on Build (consumes dist/cli/pack/...). | |
| run: npm run check:ug-schema-drift |