Skip to content

Conversation

@arnestrickmann
Copy link
Contributor

When generating PR titles and descriptions, the system was comparing against the user's local main branch. If that local branch was stale (behind origin/main), the diff would incorrectly include commits from other developers' merged PRs.

Solution

  • Fetch origin before generating PR content to ensure latest refs
  • Prioritize origin/main over local main when comparing branches
  • Use the remote ref in all git diff/log commands

@vercel
Copy link

vercel bot commented Dec 27, 2025

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 27, 2025 8:53pm

@arnestrickmann arnestrickmann merged commit 17212d2 into main Dec 27, 2025
3 checks 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.

2 participants