Skip to content

Prompt users to pull behind branches before starting threads#243

Merged
BunsDev merged 1 commit into
mainfrom
okcode/pull-main-before-thread
Apr 4, 2026
Merged

Prompt users to pull behind branches before starting threads#243
BunsDev merged 1 commit into
mainfrom
okcode/pull-main-before-thread

Conversation

@BunsDev

@BunsDev BunsDev commented Apr 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a branch status check in the web UI and prompts users to pull when their local branch is behind upstream before starting a new thread.
  • Wires in a Git pull action, loading state, and success/error toast handling in the branch toolbar flow.
  • Adds anonymous telemetry plumbing for startup and provider/session lifecycle events, including buffered PostHog delivery and installation/user identification.
  • Records a startup heartbeat with project/thread counts and emits provider-session and turn lifecycle telemetry from the server.
  • Updates the marketing app to include Vercel Analytics.

Testing

  • Not run locally in this workspace.
  • Added/updated coverage for startup heartbeat telemetry, analytics buffering/flushing, provider service telemetry hooks, and WebSocket/server layer integration wiring.
  • Repository requirements still apply: bun fmt, bun lint, and bun typecheck should pass before merge.

- Show a pull button when the local branch is behind upstream
- Run git pull from the branch toolbar and surface success or failure toasts
- Refresh git queries after pull completes
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

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:42pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 4, 2026 8:42pm

@github-actions github-actions Bot added the size:M label Apr 4, 2026
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Apr 4, 2026
@BunsDev BunsDev merged commit 92c9b51 into main Apr 4, 2026
9 of 10 checks passed
@BunsDev BunsDev deleted the okcode/pull-main-before-thread branch April 6, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 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