Commit Graph
11 Commits
Author SHA1 Message Date
Alexander KiselevandClaude Opus 4.6 1614c24f76 fix: split release workflow integration tests to match test.yml structure
Running all tests with `cargo test --test '*'` causes cross-contamination:
OnceLock-based test binaries (comment_tests etc.) leave the bridge running,
and daemon_tests reuses then stops that bridge, leaving subsequent daemon
tests unable to start a fresh bridge ("Could not find project").

Split into separate cargo test invocations matching test.yml groups, with
explicit bridge stops between groups to ensure clean state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 16:50:39 -08:00
Alexander KiselevandClaude Opus 4.6 6c2149c861 fix: don't stop bridge after setup to prevent macOS project corruption
Root cause: on macOS, `ghidra stop` triggers Ghidra's project close
which truncates .gpr to 0 bytes and leaves .rep with only metadata
stubs (~index.dat, project.prp) but no actual program data. This
causes all subsequent bridge starts to fail with "program file(s)
not found".

Changes:
- Remove `ghidra stop` from CI setup (corrupts macOS projects)
- Remove Step 3 bridge stop from ensure_test_project (same issue)
- Validate .gpr is non-empty AND idata/ has program data beyond
  just ~index.dat stubs
- Clean up stale project files before re-import
- Bump cache keys v3→v4 to invalidate broken caches
- Remove diagnostic output from test.yml

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 15:42:46 -08:00
Alexander KiselevandClaude Opus 4.6 d9ee02902d fix: stop bridge before caching and validate .rep directory content
The ghidra-setup job left the bridge running after import+analyze,
so the Ghidra JVM hadn't flushed the project database to the .rep
directory when the post-job cache save ran. This resulted in caches
containing only the ~1KB .gpr file without any analysis data.

- Stop bridge after import+analyze in ghidra-setup (both workflows)
- Bump cache keys v2→v3 to invalidate broken empty caches
- Validate .rep has actual files, not just an empty directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 15:13:59 -08:00
Alexander Kiselev d5f9a96df9 refactor: update cache key format for project directories in workflows and tests 2026-02-22 14:55:27 -08:00
Alexander Kiselev 253c384676 another attempt at fixing the CI/CD issues 2026-02-22 13:19:37 -08:00
Alexander Kiselev 5d0392c741 trying to fix github rate limiting 2026-02-22 08:32:26 -08:00
Alexander Kiselev 51fab96633 fix release workflow 2026-02-22 08:14:29 -08:00
Alexander Kiselev 89fed76cbe fix workflow 2026-02-22 07:57:18 -08:00
Alexander Kiselev a550ad1d35 more work on v2 java bridge 2026-02-04 14:14:15 -08:00
Alexander Kiselev 50c33cb0f5 Enhance CI workflows: unify test jobs and add caching for Ghidra and Rust 2026-01-26 16:27:58 -08:00
Alexander Kiselev 76fde9c3f7 Getting ready for v0.1.0 2026-01-26 16:04:00 -08:00