chore(investigation): expose safe app-server diagnostics #645
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: | |
| pull_request: | |
| branches: [main, ts-rewrite] | |
| push: | |
| branches: [main, ts-rewrite] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| # Run tests with CI-optimized settings: | |
| # --maxWorkers=2: Limit parallelism to reduce resource contention | |
| # --detectOpenHandles surfaces lingering async resources | |
| # Use per-test timeout and open-handle detection to avoid hangs | |
| - run: npm run test -- --maxWorkers=2 --detectOpenHandles --testTimeout=20000 | |
| - run: npm run build | |
| - name: Verify committed runtime artifacts | |
| run: | | |
| npm run check:context-gateway-release-metadata | |
| git diff --exit-code | |
| test -z "$(git status --porcelain=v1 --untracked-files=all)" |