Repository navigation
[Bug]: Individual git actions after error #1368
Description
Activity
- addedbugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
on Mar 24, 2026 - addedacceptedfeature request acceptedfeature request acceptedand removedneeds-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
on Mar 25, 2026 We should check that
ghis installed and authed before showing PR actionsReacted by Luis Almeida@juliusmarminge Can I try to solve this issue ? or is it fixed already ??
I'll take a shot at this.
Root cause:
VcsStatusResult(the git status payload the web UI uses to decide whether "Create PR" is enabled) has no field describing GitHub CLI auth state, sobuildMenuItems/resolveQuickActioninGitActionsControl.logic.tscan never gate the PR actions on whetherghis installed/authenticated. The button either looks clickable and then fails server-side, or (depending on git status) stays in a state that doesn't explain why.The auth probe already exists and is used elsewhere (
sourceControlEnvironment.discovery, consumed today only by the Publish-repository dialog'sgetPublishProviderReadiness). Plan is to surface that same readiness into the main Commit/Push/Create-PR action group, with a specific disabled-reason hint when GitHub CLI is missing/unauthenticated.Will keep the diff small and scoped to this, per CONTRIBUTING.md.
Thanks for the detailed report. We believe this is fixed by PR #2462.
The original disabled-retry defect has a plausible landed fix that predates the recent audit window. After commit and push succeed but PR creation fails, aheadCount is zero because the branch matches its remote. The old menu required aheadCount > 0, so logging in could never re-enable Create PR. The GitLab integration changed both menu and quick action to use aheadOfDefaultCount, keeping Create PR enabled for a pushed feature branch. The later request to preflight CLI authentication is separate and remains in the open auth-readiness proposal.
I'm closing this as fixed as part of an automated pass on all open issues. If this still happens in a current build that includes PR #2462, please reply with the T3 Code version and fresh logs or reproduction details, and we can reopen it.
Before submitting
Area
Not sure
Steps to reproduce
Expected behavior
We should be able to run the Create PR action again.
Actual behavior
The create PR action button is disabled.
Impact
Minor bug or occasional failure
Version or commit
0.0.13
Environment
macOS 15.6
Logs or stack traces
Screenshots, recordings, or supporting files
CleanShot 2026-03-24 at 16.49.04.png
Workaround
No response