From 7aeb2586dbd339eb25eca6775bed75fcf8a9ca03 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 8 Oct 2026 16:16:23 +0000 Subject: [PATCH] ci: optimize cognitive-shader-driver in member-tests (debug stays 0) member-tests hit its 30-minute limit on main (run 37766947128) and on #1410, both cut off in the hydrate step. The time went to one binary: the crossword_real_words_probe example tests (D-PUZZLE-0, added 2026-10-07) ran 810 s at opt-level 0. The shader-driver test step now passes --config 'profile.dev.package.cognitive-shader-driver.opt-level=3'. Only that package is optimized; debug info stays 0 from the manifest and every other crate keeps the shared opt-level-0 cache. Measured locally: 184 s for that binary, 4m17 for the whole step including the compile, all green. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EFw2WdKr1oxvaKCJC2ua2R --- .github/workflows/rust-test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml index f7a375926..0e742356e 100644 --- a/.github/workflows/rust-test.yml +++ b/.github/workflows/rust-test.yml @@ -436,8 +436,16 @@ jobs: run: cargo test --manifest-path crates/sigma-tier-router/Cargo.toml - name: Run neural-debug tests (previously ungated) # 11 green run: cargo test --manifest-path crates/neural-debug/Cargo.toml + # opt-level 3 for THIS package only, debug stays 0 (manifest). The + # crossword_real_words_probe example tests (D-PUZZLE-0, 2026-10-07) run a + # solver search that takes 810 s at opt-level 0 and pushed this job past + # its 30-minute limit on main (run 37766947128, cut off in `hydrate`). + # Measured locally at opt-level 3: 183 s, 4m08 including the compile. + # `--config` keeps every other crate on the shared opt-level-0 cache. - name: Run shader-driver tests (previously ungated) # 107 + 2 green - run: cargo test --manifest-path crates/cognitive-shader-driver/Cargo.toml + run: >- + cargo test --manifest-path crates/cognitive-shader-driver/Cargo.toml + --config 'profile.dev.package.cognitive-shader-driver.opt-level=3' # The default run above skips these targets: `w2_differential` and # `mailbox_cutover` are `cfg(feature = "mailbox-thoughtspace")`, and the # StreamDto circuit probe needs `with-engine` for `StreamDto`.