From 876cdbd3cc5709ed67bb6da6c991b7dcbbf95f57 Mon Sep 17 00:00:00 2001 From: Alexander Kiselev Date: Sun, 22 Feb 2026 15:30:52 -0800 Subject: [PATCH] ci: add diagnostic output for project directory contents after setup Lists all files in the projects directory after import+analyze+stop to debug why macOS cache is only 919 bytes while Ubuntu saves 5.6MB. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 471dcec..27a46f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -117,6 +117,19 @@ jobs: cargo run -- import tests/fixtures/sample_binary --project ci-test --program sample_binary || true cargo run -- analyze --project ci-test --program sample_binary || true cargo run -- stop --project ci-test || true + echo "=== Project directory contents ===" + if [ -d "$HOME/Library/Caches/ghidra-cli/projects" ]; then + find "$HOME/Library/Caches/ghidra-cli/projects" -type f -exec ls -la {} \; 2>/dev/null || true + du -sh "$HOME/Library/Caches/ghidra-cli/projects" 2>/dev/null || true + fi + if [ -d "$HOME/.cache/ghidra-cli/projects" ]; then + find "$HOME/.cache/ghidra-cli/projects" -type f -exec ls -la {} \; 2>/dev/null || true + du -sh "$HOME/.cache/ghidra-cli/projects" 2>/dev/null || true + fi + if [ -d "$HOME/AppData/Local/ghidra-cli/projects" ]; then + find "$HOME/AppData/Local/ghidra-cli/projects" -type f 2>/dev/null | head -20 || true + du -sh "$HOME/AppData/Local/ghidra-cli/projects" 2>/dev/null || true + fi shell: bash timeout-minutes: 20