watchdog c346: DEGRADED — memory 5.1GB trough12 deepening — audits cl… #1496
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: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| lint: | |
| name: Lint (ruff) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install ruff | |
| run: pip install "ruff>=0.5" | |
| - name: Run ruff | |
| run: ruff check . | |
| typecheck: | |
| name: Type check (ty) | |
| runs-on: ubuntu-latest | |
| # Was advisory (continue-on-error) while 21 pre-existing diagnostics | |
| # were unresolved. Cleared on 2026-05-07 — now blocking. | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install -e .[dev] | |
| - name: Run ty | |
| run: ty check src/ | |
| custodian: | |
| name: Custodian doctor | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install -e .[dev] | |
| - name: Verify .custodian.yaml is well-formed | |
| run: custodian-doctor --strict --repo . | |
| license-check: | |
| name: License headers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check SPDX headers | |
| run: | | |
| missing=$(git ls-files "*.py" | xargs grep -L "SPDX-License-Identifier" 2>/dev/null || true) | |
| if [ -n "$missing" ]; then | |
| echo "Missing SPDX-License-Identifier header in:" | |
| echo "$missing" | |
| exit 1 | |
| fi | |
| test: | |
| name: Test (pytest) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install -e .[dev] | |
| - name: Run tests | |
| # Unit suite only — integration tests under tests/integration/ need | |
| # live external services (SwitchBoard, Plane, Archon) and run on | |
| # demand, not in CI. | |
| run: pytest -q tests/unit |