Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
Cursor Agent can help with this pull request. Just |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe workflow configuration is reorganized to establish environment variables and site cache earlier in the job execution. Environment setup steps are moved before indexing operations, cache initialization is added, and conditional cache generation logic is introduced to optimize workflow runs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add cache priming steps to the semantic content reindex workflow to ensure consistent cache availability.
Note
Low Risk
Workflow-only change that affects CI performance/consistency, with minimal risk beyond potential cache key/path misconfiguration causing stale or missing cache.
Overview
Updates the
Index Semantic Search (content)GitHub Actions workflow to prime and cacheother/cache.dbbefore running the semantic indexing script.The workflow now copies
.env.exampleearlier, restores/saves asite-cacheviaactions/cache, and conditionally runsnpm run build+npm run prime-cache:mocksonly on cache misses to ensure the index step has consistent cache data.Written by Cursor Bugbot for commit b6cd577. This will update automatically on new commits. Configure here.
Summary by CodeRabbit