ci: disable numa feature, bump obikmer, and document Sankoff costs
Release / create-release (push) Successful in 2m28s
ci.yml / build (pull_request) Failing after 3h0m41s
Release / build-linux-x86_64 (push) Successful in 8m31s
Release / build-macos-arm64 (push) Successful in 1m53s

Disable the `numa` default feature in CI build and test steps to prevent container environment deadlocks, and add comments explaining the cache key salt bump (`v2`) to mitigate incremental compilation corruption. Document a 16-state Sankoff cost matrix derived from set-edit distances, including substitution, gain/loss, and context-disappearance costs compatible with TNT's interface. Bump `obikmer` crate version to 1.1.43.
This commit is contained in:
Eric Coissac
2026-08-11 18:26:54 +02:00
parent 442f7a9e4c
commit e6f0ca472c
4 changed files with 108 additions and 10 deletions
+10 -8
View File
@@ -25,17 +25,19 @@ jobs:
~/.cargo/registry
~/.cargo/git
src/target
# v2: bump this salt to force a clean cache when a stuck/killed job
# may have saved a corrupted incremental-compilation `src/target`
# (observed 2026-08-11: a stale test binary deadlocked in NUMA
# worker startup; a from-scratch rebuild of the same source fixed
# it instantly, pointing at cache corruption rather than a source
# bug).
key: ${{ runner.os }}-cargo-v2-${{ hashFiles('src/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-v2-
# Both `obikmer` and `obikindex` default to the `numa` feature
# (hwloc-based topology detection + CPU pinning), which is only useful
# on bare-metal multi-socket indexing hosts. Under this runner's
# container/cgroup setup it deadlocks at startup — confirmed live
# (2026-08-11): the same test binary hangs indefinitely with `numa` on
# and passes instantly, repeatedly, with it off, on the same
# container. Disable it for CI; it has nothing to do with test
# correctness.
- name: Build
run: cargo build --release
run: cargo build --release --no-default-features
- name: Test
run: cargo test --release
run: cargo test --release --no-default-features