Skip to content

Show PR/MR merge status in worktree dialogs - #420

Merged
powerfooI merged 1 commit into
mainfrom
fix-issue-419
Oct 15, 2026
Merged

powerfooI merged 1 commit into
mainfrom
fix-issue-419

Conversation

@powerfooI

Copy link
Copy Markdown
Owner

Worktree Lifecycle and Open Worktree now show the associated GitHub PR or GitLab MR merge state for each checkout, including worktrees without an open workspace. Badges distinguish merged, open/draft, closed without merge, and unresolved/error states. Expand a badge for the request link, diagnostic and last refresh time.

Reuse checkout-host gh/glab authentication and validate checkout paths against the repository's worktree inventory. Connection, repository and current-checkout branch changes clear obsolete data. Explicit refresh waits for the new inventory before querying badges; obsolete responses are discarded and each list keeps at most four in-flight queries across refresh generations.

Closes #419.

Verification:

  • bun run precommit (formatting, lint, full type checks and complete unit/integration suite).
  • bun run build:web, including existing asset budgets.
  • Chrome 155 against a disposable real Herdr/GitHub backend: delayed inventory produces one new query batch, rapid refreshes peak at four unresolved requests, and changing the checkout branch clears the old merged badge before the new inventory returns.
  • Keyboard disclosure and 390px Chrome touch emulation, including expanded refresh timestamps and horizontal bounds.

Physical iOS/Android testing was not performed. CI/check badges are not included.

@powerfooI powerfooI added the enhancement New feature or request label Oct 15, 2026
@powerfooI

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T06:34:55.622470Z d2124c1 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: d2124c145c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@powerfooI
powerfooI merged commit beeffd7 into main Oct 15, 2026
5 checks passed
@powerfooI
powerfooI deleted the fix-issue-419 branch October 15, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show merge status on worktrees linked to a GitHub PR or GitLab MR

1 participant