Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

@ibetitsmike ibetitsmike commented Dec 15, 2025

Auto-refresh the Review tab when the diff base is a local ref (anything not starting with origin/).

Implementation:

  • Adds workspace.onFileChanges subscription backed by @parcel/watcher (watches the worktree + gitdir for index/HEAD changes)
  • ReviewPanel subscribes and debounces refreshes (75ms) by bumping refreshTrigger

Remote base:

  • If the base starts with origin/, auto-refresh every 30s and show a countdown in the header: Auto-refresh in: Ns
  • Each tick does git fetch origin <branch> before reloading the diff

Build:

  • Externalizes @parcel/watcher from dist/cli/api.mjs esbuild bundle (keeps mux api --help working)

Generated with mux • Model: openai:gpt-5.2 • Thinking: high

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ibetitsmike ibetitsmike force-pushed the mike/review-auto-refresh branch 4 times, most recently from 66f4d9b to bfa4744 Compare December 15, 2025 16:21
@ibetitsmike ibetitsmike force-pushed the mike/review-auto-refresh branch from bfa4744 to c8659b1 Compare December 16, 2025 17:03
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