Skip to content

test: isolate community index cache from source tree - #69

Open
guyua9 wants to merge 1 commit into
botingw:mainfrom
guyua9:codex/isolate-community-index-cache-tests
Open

test: isolate community index cache from source tree#69
guyua9 wants to merge 1 commit into
botingw:mainfrom
guyua9:codex/isolate-community-index-cache-tests

Conversation

@guyua9

@guyua9 guyua9 commented Aug 13, 2026

Copy link
Copy Markdown

Summary

  • resolve the community index cache through an optional RULEBOOK_AI_INDEX_CACHE_PATH override
  • route community-pack integration tests to temporary cache files
  • preserve the bundled source cache fallback when the override is unset

Tests

  • python3 -m compileall -q src/rulebook_ai/community_packs.py tests/integration/test_community_packs_index.py tests/integration/test_community_packs_list.py
  • /opt/homebrew/bin/pytest -o addopts="" tests/integration/test_community_packs_list.py tests/integration/test_community_packs_index.py -q
  • git diff --check

Result: 8 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant