chore: update ci cache, document distance metrics, and bump version
Release / create-release (push) Successful in 2m26s
Release / build-linux-x86_64 (push) Successful in 8m43s
Release / build-macos-arm64 (push) Successful in 2m7s
ci.yml / build (pull_request) Canceled after 59m15s

Updated CI workflow cache keys with a `v2` salt and `Cargo.lock` hash to prevent stale incremental compilation caches and deadlocks, while updating restore keys and documenting interrupted job state. Introduced a 3-way ordinal distance metric framework that replaces ambiguous IUPAC encoding with explicit k-mer scoring, bridging pairwise methods to character-based phylogenetics via Sankoff parsimony. Bumped the `obikmer` crate version to 1.1.42.
This commit is contained in:
Eric Coissac
2026-08-11 17:12:28 +02:00
parent fa82989ea9
commit a63692b8c4
4 changed files with 184 additions and 4 deletions
+8 -2
View File
@@ -25,8 +25,14 @@ jobs:
~/.cargo/registry
~/.cargo/git
src/target
key: ${{ runner.os }}-cargo-${{ hashFiles('src/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
# 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-
- name: Build
run: cargo build --release