orca/src/main/git
Jinjing 070a956a72
feat(source-control): add push failure AI recovery (#7826)
* feat(source-control): add Fix push failure with AI for pre-push hooks

Detect pre-push hook failures separately from auth/transport errors so
push toasts and inline messages no longer suggest checking repo access.
Mirror the commit-failure recovery flow with a fixPushFailure action,
summary panel, details dialog, and agent launch recipe in Settings.

Fixes #6497

* feat(source-control): add push failure AI recovery

Co-authored-by: dalveytech-vincent <vincent@dalveytech.com>

---------

Co-authored-by: dalveytech-vincent <vincent@dalveytech.com>
2026-07-08 18:59:28 -07:00
..
branch-rename.test.ts
branch-rename.ts
check-ignored-paths.test.ts
check-ignored-paths.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
checkout.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
commit-object-ref.test.ts Skip broad fetch for PR SHA worktree bases 2026-06-16 14:57:39 -07:00
commit-object-ref.ts Skip broad fetch for PR SHA worktree bases 2026-06-16 14:57:39 -07:00
commit.test.ts
fetch-error-classification.test.ts
fetch-error-classification.ts
fork-sync.ts refactor(net): use AbortSignal.timeout for fetch timeouts, fix fork-sync clobbered cancel (#7504) 2026-07-05 23:09:14 -07:00
gh-rate-limit-breaker.test.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
gh-rate-limit-breaker.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
git-runtime-options.ts Improve inactive workspace cleanup UX (#3600) 2026-06-28 11:38:23 -07:00
git-username.ts Fix Windows slow startup and multi-minute UI freezes (#7225) (#7266) 2026-07-03 19:40:45 -04:00
history.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
hosted-remote-url.test.ts feat: expandable commits and actions in the git history panel (#5419) 2026-06-15 19:28:45 -07:00
hosted-remote-url.ts lint(unicorn): enable prefer-number-properties, prefer-array-find, prefer-array-index-of (#7516) 2026-07-05 23:56:37 -07:00
huge-folder-ignore.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
huge-folder-ignore.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
max-buffer-overflow.ts Handle buffer overflows gracefully and truncate diffs fairly (#5083) 2026-06-09 23:56:36 -07:00
push-target-validation.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
remote.test.ts feat(source-control): add push failure AI recovery (#7826) 2026-07-08 18:59:28 -07:00
remote.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
remove-worktree.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
repo-clone-path.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
repo-clone-path.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
repo-detection.test.ts fix: detect valid repos when git rev-parse can't confirm (#6173) 2026-07-01 15:10:35 -07:00
repo-search-ref-compat.test.ts
repo-username.test.ts Fix Windows slow startup and multi-minute UI freezes (#7225) (#7266) 2026-07-03 19:40:45 -04:00
repo.test.ts fix(worktrees): fall back from stale default base refs (#7398) 2026-07-04 21:31:51 -07:00
repo.ts fix(worktrees): fall back from stale default base refs (#7398) 2026-07-04 21:31:51 -07:00
runner-command-exec.test.ts Honor configured SSH for remote-base worktrees (#5739) 2026-06-18 15:52:55 -07:00
runner-gh-rate-limit-breaker.test.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
runner-wsl-gh-fallback.test.ts Remove stale max-lines lint disables from files under the limit (#7548) 2026-07-06 02:12:32 -07:00
runner.test.ts Fix STA-1292: prevent Windows worktree-create hang (disable interactive credential prompt + timeout create-path git) (#7301) 2026-07-04 13:37:06 -07:00
runner.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
status-cquoted-paths.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
status-discard-symlink.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
status-pathspec-literals.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
status-porcelain-parser.test.ts Support submodule diffs and upstream-base compares in Source Control (#6350) 2026-06-28 23:43:33 -07:00
status-porcelain-parser.ts Support submodule diffs and upstream-base compares in Source Control (#6350) 2026-06-28 23:43:33 -07:00
status-upstream-negative-cache.test.ts Reduce CPU from source-control git polling on Windows (#6736) 2026-06-29 15:25:13 -07:00
status-upstream-probe-churn.test.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
status.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
status.ts perf(source-control): stop gh rate-limit storms and idle git-status spawn churn (#7595) 2026-07-06 15:12:56 -07:00
upstream.test.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
upstream.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
worktree-base-ref-probe.ts fix(worktrees): fall back from stale default base refs (#7398) 2026-07-04 21:31:51 -07:00
worktree-list-paths.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
worktree-separate-git-dir.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
worktree.test.ts Fix STA-1292: prevent Windows worktree-create hang (disable interactive credential prompt + timeout create-path git) (#7301) 2026-07-04 13:37:06 -07:00
worktree.ts Fix STA-1292: prevent Windows worktree-create hang (disable interactive credential prompt + timeout create-path git) (#7301) 2026-07-04 13:37:06 -07:00