From a1125f9f26c18c92bdecc90fb557f21815897f3a Mon Sep 17 00:00:00 2001 From: Aditya Mukhopadhyay Date: Fri, 23 Oct 2026 16:24:55 +0530 Subject: [PATCH] ci(crash-kill): pass test-hooks where Cargo.toml defines it (#551) v3 renames the test-oracle feature to test-hooks; this keeps crash-kill.yml the same file on main and v3 (#687). main defines neither feature, so its run is unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0169pNQsLcCEn48te9X9WuZW --- .github/workflows/crash-kill.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/crash-kill.yml b/.github/workflows/crash-kill.yml index d7ad2069d6..4801d95122 100644 --- a/.github/workflows/crash-kill.yml +++ b/.github/workflows/crash-kill.yml @@ -67,7 +67,7 @@ jobs: # v3's large-transaction variant (#550) needs the test hooks; pass # the feature wherever the checked-out Cargo.toml defines it. features="" - if grep -q '^test-oracle = ' Cargo.toml; then features="--features test-oracle"; fi + if grep -q '^test-hooks = ' Cargo.toml; then features="--features test-hooks"; fi echo "crash-kill features: ${features:-(none)}" cargo test $features --test crash_kill_test -- --nocapture 2>&1 | tee crash-kill-output.txt @@ -84,7 +84,7 @@ jobs: echo echo "- Run: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" echo "- Commit: $(git rev-parse HEAD)" - echo "- Reproduce: cargo test --test crash_kill_test -- --nocapture (add --features test-oracle where Cargo.toml defines it)" + echo "- Reproduce: cargo test --test crash_kill_test -- --nocapture (add --features test-hooks where Cargo.toml defines it)" echo " (set MINIGRAF_CRASH_KILL_ROUNDS to raise the round count; MINIGRAF_CRASH_KILL_SEED to the printed base seed to replay)" echo echo "## Test output"