Split skills registry and runtime modules (#3481)

This commit is contained in:
Steven Enamakel
2026-06-08 07:13:48 -07:00
committed by GitHub
parent a5ed0ff5df
commit c9f942805c
73 changed files with 5165 additions and 1329 deletions
+6 -11
View File
@@ -64,22 +64,17 @@ jobs:
rust-core-coverage:
name: Rust Core Coverage (cargo-llvm-cov)
runs-on: ubuntu-22.04
# See test.yml `rust-core-tests` — same shared-singleton flake risk in
# the lib suite. Coverage instrumentation roughly doubles wall time vs.
# the plain test runs; give it enough headroom for cold/warm cache
# variance while still surfacing deadlocks with logs.
timeout-minutes: 30
container:
image: ghcr.io/tinyhumansai/openhuman_ci:rust-1.93.0
env:
CARGO_INCREMENTAL: "0"
# Coverage instrumentation makes each test binary link substantially
# heavier. Keep the core coverage job's linker work serialized to avoid
# intermittent rust-lld bus errors on hosted Linux runners.
CARGO_BUILD_JOBS: "1"
# sccache is incompatible with `-C instrument-coverage` profiles, so we
# skip it for coverage runs and rely on Swatinem/rust-cache for warmup.
steps:
- name: Free disk space
run: |
rm -rf /__t/* || true
echo "Disk after cleanup:"
df -h /__w || true
- name: Checkout code
uses: actions/checkout@v5
with:
@@ -97,7 +92,7 @@ jobs:
- name: Run cargo llvm-cov for openhuman core
run: cargo llvm-cov --no-fail-fast -p openhuman --lcov --output-path lcov-core.info
env:
CARGO_BUILD_JOBS: "2"
CARGO_BUILD_JOBS: "1"
- name: Upload core lcov
uses: actions/upload-artifact@v5
with:
+13 -5
View File
@@ -297,6 +297,18 @@ jobs:
env:
CARGO_INCREMENTAL: "0"
steps:
- name: Free disk space
run: |
# Coverage-instrumented builds produce huge binaries that exhaust the
# runner's ~14GB free disk during linking (SIGBUS). Inside a container,
# host paths are bind-mounted:
# /opt/hostedtoolcache → /__t
# /home/runner/work → /__w
# Deleting /__t frees ~8GB on the same partition the build uses.
rm -rf /__t/* || true
echo "Disk after cleanup:"
df -h /__w || true
- name: Checkout code
uses: actions/checkout@v5
with:
@@ -309,10 +321,6 @@ jobs:
with:
workspaces: . -> target
cache-on-failure: true
# Coverage uses instrumented builds (-C instrument-coverage), whose
# rustflags hash to a different Swatinem key than the plain builds, so
# it gets its own cache and cannot reuse pr-rust-core. It still reuses
# the (non-instrumented) dependency tree run-over-run.
shared-key: pr-rust-core-cov
- name: Install cargo-llvm-cov
@@ -321,7 +329,7 @@ jobs:
- name: Run cargo llvm-cov for openhuman core
run: bash scripts/ci-cancel-aware.sh cargo llvm-cov --no-fail-fast -p openhuman --lcov --output-path lcov-core.info
env:
CARGO_BUILD_JOBS: "2"
CARGO_BUILD_JOBS: "1"
- name: Upload core lcov
uses: actions/upload-artifact@v5