Skip to content

Commit 5e7d158

Browse files
GiggleLiuclaude
andcommitted
fix: track fixture file in git and return proper errors
- Add negation rule in .gitignore so src/example_db/fixtures/*.json is tracked (fixes CI build failure: include_str! could not find the file) - Replace expect() with proper ProblemError::SerializationError in build_example_db() fixture parsing - Cache computed rule DB in tests via OnceLock to avoid redundant work Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 100ce57 commit 5e7d158

5 files changed

Lines changed: 38683 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ claude-output.log
8484
.worktrees/
8585
.worktree/
8686
*.json
87+
!src/example_db/fixtures/*.json
8788
.claude/worktrees/
8889
docs/test-reports/
8990
docs/superpowers/

0 commit comments

Comments
 (0)