Skip to content

Prompt to pull behind branches before starting threads#245

Merged
BunsDev merged 3 commits intomainfrom
feature/pull-main-before-thread
Apr 4, 2026
Merged

Prompt to pull behind branches before starting threads#245
BunsDev merged 3 commits intomainfrom
feature/pull-main-before-thread

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 4, 2026

Summary

  • Adds a behind-upstream warning and pull action to the branch toolbar when the local branch is behind and no server thread is active.
  • Refreshes git status when draft threads mount so upstream changes are detected immediately instead of waiting for the normal poll cycle.
  • Shows pull progress, success, and failure toasts, and invalidates git queries after the pull flow completes.

Testing

  • Not run (bun fmt)
  • Not run (bun lint)
  • Not run (bun typecheck)
  • Not run (bun run test)

BunsDev added 2 commits April 4, 2026 15:43
- Invalidate the cached git status for local draft threads on mount
- Surface upstream changes sooner instead of waiting for the next poll
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 4, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 4, 2026 8:47pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 4, 2026 8:47pm

@BunsDev BunsDev merged commit 67c9631 into main Apr 4, 2026
4 of 7 checks passed
@github-actions github-actions Bot added size:S and removed size:L labels Apr 4, 2026
@BunsDev BunsDev deleted the feature/pull-main-before-thread branch April 6, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant