Skip to content

fix(rk): re-elect on stalled event-log sync instead of retrying forever #88

fix(rk): re-elect on stalled event-log sync instead of retrying forever

fix(rk): re-elect on stalled event-log sync instead of retrying forever #88

Workflow file for this run

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
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
'