Skip to content

Conversation

@tstromberg
Copy link
Member

No description provided.

Thomas Stromberg and others added 3 commits October 27, 2025 16:22
Fixes cache miss race condition where check_suite/check_run events arrive before
the cache is populated, causing them to be sent with repo URL only instead of PR URL.

Now when a pull_request event arrives:
- Extract commit SHA and PR number from the event
- Populate commitPRCache[owner/repo:sha] = [pr_number]
- Handle multiple PRs for same commit (append to existing list)

This ensures check events milliseconds later find the PR in cache, eliminating
the need for clients to do their own GitHub API lookups.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@tstromberg tstromberg added this pull request to the merge queue Oct 27, 2025
Merged via the queue into codeGROOVE-dev:main with commit 05bb80a Oct 27, 2025
1 check 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