From 2eec4f038a681e9b456d1b5d59e86b585761fa1c Mon Sep 17 00:00:00 2001 From: matt wilkie Date: Sat, 29 Nov 2025 00:49:33 -0700 Subject: [PATCH] fix: clean up .beads directory before Nix Flake test The Nix Flake CI test was failing because the repository has an existing .beads/issues.jsonl file checked in, which caused bd init to refuse to initialize (detecting it as a fresh clone with existing data). Solution: Remove .beads before running bd init in the test to start fresh. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2dcd8c8..aaaeb30f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,7 @@ jobs: run: | export BEADS_DB="$PWD/.ci-beads/beads.db" mkdir -p "$(dirname "$BEADS_DB")" + rm -rf .beads nix run .#default -- --db "$BEADS_DB" init --quiet --prefix ci nix run .#default -- --db "$BEADS_DB" > help.txt - name: Verify help text