fix: blank screen when opening panels with no session #978
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: [main, develop] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint-backend: | |
| name: lint-backend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Install linting dependencies | |
| run: pip install ruff mypy | |
| - name: Run ruff linter | |
| run: ruff check . | |
| - name: Check code formatting | |
| run: ruff format --check . | |
| - name: Run mypy (gradual adoption) | |
| run: mypy orchestrator.py --ignore-missing-imports || true | |
| lint-frontend: | |
| name: lint-frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: admin/package-lock.json | |
| - name: Install dependencies | |
| working-directory: admin | |
| run: npm ci | |
| - name: Run ESLint | |
| working-directory: admin | |
| run: npm run lint | |
| - name: Build production bundle (includes type check) | |
| working-directory: admin | |
| run: npm run build | |
| security: | |
| name: security | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run Trivy vulnerability scanner | |
| uses: aquasecurity/trivy-action@master | |
| with: | |
| scan-type: 'fs' | |
| severity: 'CRITICAL,HIGH' | |
| exit-code: '0' # Don't fail on vulnerabilities yet (gradual adoption) |