Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 907515a219
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR enhances the Fastly CDN cache purging workflow to selectively purge only the affected parts of the site based on which files were changed, rather than always purging the entire application cache. The workflow now analyzes git diffs to determine whether to purge the main app cache or specific app-level caches (like downloads, sponsors, jobs, etc.).
Changes:
- Added checkout step to analyze changed files in push events
- Implemented logic to resolve which cache keys to purge based on changed file paths
- Modified purge step to support multiple cache keys in a loop
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Only purge section-specific keys when app templates/static change, fall back to full site purge for global template/static changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
All three review comments addressed in 60d913d:
|
Description