docs: bind CK-08R1B reviewer corrections (#432) #1547
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: Kernel CI | |
| on: | |
| push: | |
| branches: | |
| - kernel/0.26-integration | |
| - main | |
| pull_request: | |
| branches: | |
| - kernel/0.26-integration | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: kernel-ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| kernel: | |
| name: Kernel phase and package isolation | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.14"] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Verify audited main base | |
| if: github.event_name == 'pull_request' && github.base_ref == 'main' && github.head_ref == 'release/0.28.0' | |
| env: | |
| ACTUAL_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| run: | | |
| expected="$(python -c \ | |
| 'import json; print(json.load(open("config/kernel-release-qualification-v1.json"))["audited_main_sha"])')" | |
| test "$ACTUAL_BASE_SHA" = "$expected" | |
| - name: Install kernel tooling | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ".[dev]" | |
| - name: Verify kernel phase | |
| env: | |
| MATRIX_PYTHON: ${{ matrix.python-version }} | |
| run: | | |
| python scripts/check_kernel_scope.py | |
| python scripts/generate_kernel_manifests.py --check | |
| PYTHONPATH=src python scripts/generate_kernel_interfaces.py --check | |
| python -m ruff check . | |
| python -m mypy | |
| python scripts/check_kernel_maintainability.py | |
| python -m pytest -p no:tach \ | |
| --ignore=tests/kernel/test_ingest_performance.py \ | |
| --ignore=tests/kernel/allowance/test_performance.py \ | |
| --ignore=tests/kernel/evidence/test_performance.py \ | |
| --ignore=tests/kernel/interfaces/test_performance.py \ | |
| --ignore=tests/kernel/query/test_performance.py | |
| python -m pyright --pythonpath "$(command -v python)" | |
| python scripts/check_release.py | |
| - name: Run synthetic scale invariants | |
| if: matrix.python-version == '3.14' | |
| run: python scripts/run_performance_suite.py --lane invariants | |
| - name: Build isolated development package | |
| if: matrix.python-version == '3.14' | |
| run: | | |
| python -m build | |
| python scripts/check_release.py --dist | |
| python scripts/smoke_installed_package.py \ | |
| --artifact-dir dist \ | |
| --version 0.28.0 \ | |
| --upgrade-from 0.26.0 | |
| python scripts/smoke_installed_package.py \ | |
| --artifact-dir dist \ | |
| --version 0.28.0 \ | |
| --upgrade-from 0.27.0 | |
| - name: Whitespace | |
| run: git diff --check | |
| console: | |
| name: Focused Evidence Console | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | |
| with: | |
| python-version: "3.14" | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install Console tooling | |
| run: | | |
| python -m pip install ".[dev]" | |
| npm ci --ignore-scripts | |
| npx playwright install --with-deps chromium | |
| - name: Verify deterministic Console | |
| run: | | |
| npm run console:verify | |
| npm run console:e2e | |
| python -m build | |
| python scripts/check_release.py --dist | |
| python scripts/smoke_installed_console.py --wheel dist/*.whl | |
| python scripts/smoke_installed_console.py --reference-0251 |