chore(rk): cut rk-v0.3.1 (election + uplink-stall hardening) #116
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: rk-ci | |
| # Fast RK-focused signal that complements the heavy upstream `pipeline.yml` | |
| # (which gates every push via `nix flake check` but only runs pytest on macOS). | |
| # This runs the RK + non-MLX unit tests on Linux so RK regressions surface quickly. | |
| # RK-owned file — do not fold into pipeline.yml (keeps the upstream-merge surface small). | |
| on: | |
| push: | |
| branches: | |
| - rk-integration | |
| - "rk/**" | |
| pull_request: | |
| branches: | |
| - rk-integration | |
| workflow_dispatch: | |
| concurrency: | |
| group: rk-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| gate: | |
| name: RK lint + unit tests (x86_64-linux) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: false | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - uses: cachix/cachix-action@v14 | |
| with: | |
| name: exo-rkllama | |
| extraPullNames: exo | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: Lint | |
| run: nix develop -c uv run ruff check | |
| - name: RK + non-MLX unit tests | |
| run: | | |
| nix develop -c bash -c ' | |
| uv sync --all-packages | |
| EXO_TESTS=1 \ | |
| EXO_DASHBOARD_DIR="$PWD/dashboard" \ | |
| EXO_RESOURCES_DIR="$PWD/resources" \ | |
| uv run pytest \ | |
| src/exo/worker/engines/rkllm \ | |
| src/exo/master/tests \ | |
| src/exo/shared/tests \ | |
| -m "not slow" --import-mode=importlib | |
| ' |