Skip to content

[diffs] Cache Key Cleanup - #1055

Draft
amadeus wants to merge 6 commits into
mainfrom
amadeus/fix-cache-key-bug
Draft

[diffs] Cache Key Cleanup#1055
amadeus wants to merge 6 commits into
mainfrom
amadeus/fix-cache-key-bug

Conversation

@amadeus

@amadeus amadeus commented Aug 5, 2026

Copy link
Copy Markdown
Member

(WIP) Essentially cacheKeys were incorrectly inherited from file names with the edit release, which breaks a lot of assumptions how how they should work.

This PR is looking over that infrastructure to try and clean all that up and harden the system.

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Aug 5, 2026 10:51pm
pierre-docs-diffshub Ready Ready Preview Aug 5, 2026 10:51pm
pierre-docs-trees Ready Ready Preview Aug 5, 2026 10:51pm
pierrejs-diff-demo Ready Ready Preview Aug 5, 2026 10:51pm

Request Review

@amadeus

amadeus commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5643fb2398

ℹ️ 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".

Comment thread packages/diffs/src/components/FileDiff.ts Outdated
amadeus added 5 commits August 5, 2026 11:18
otherwise you can get into bad scenarios where you combine 1 file with
other files that don't have cache keys and you're fucked cause the cache
keys will match but be incorrect
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