Skip to content

fix(code): invalidate queries on PR creation#1947

Merged
k11kirky merged 1 commit intomainfrom
04-29-fix_code_invalidate_queries_on_pr_creation
Apr 30, 2026
Merged

fix(code): invalidate queries on PR creation#1947
k11kirky merged 1 commit intomainfrom
04-29-fix_code_invalidate_queries_on_pr_creation

Conversation

@adboio
Copy link
Copy Markdown
Contributor

@adboio adboio commented Apr 29, 2026

Problem

when a PR is created, we don't invalidate the git queries correctly, so the diff panel shows empty until the cache is stale

Changes

subscribes to PR creation to invalidate queries & passes PR URL directly to query when flow is complete to be even faster

How did you test this?

manually

diff-invalidation-fix.mp4 (uploaded via Graphite)

Publish to changelog?

no

Copy link
Copy Markdown
Contributor Author

adboio commented Apr 29, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@adboio adboio requested a review from a team April 29, 2026 22:48
@adboio adboio marked this pull request as ready for review April 29, 2026 22:48
@k11kirky k11kirky merged commit b38b050 into main Apr 30, 2026
16 checks passed
@k11kirky k11kirky deleted the 04-29-fix_code_invalidate_queries_on_pr_creation branch April 30, 2026 08:15
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.

2 participants