Skip to content

Centralize git command execution and error handling#20

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/brave-marten
May 24, 2026
Merged

Centralize git command execution and error handling#20
SDSLeon merged 1 commit into
masterfrom
lightcode/brave-marten

Conversation

@SDSLeon

@SDSLeon SDSLeon commented May 24, 2026

Copy link
Copy Markdown
Owner
  • PR Type: Refactor
  • Centralize git command routing, sync action derivation, and error/toast handling in a new unified gitCommandRunner module to improve maintainability and reduce logic duplication.
  • Update the sidebar sync badge, review sidebar components, and source pull dialogs to consume the new runner instead of invoking IPC bridge methods directly.
  • Introduce unit test coverage for the git command runner and the sidebar's sync badge component to ensure robust command routing and error notification behavior.

- Extract git command runners and sync action logic to a unified `gitCommandRunner` helper
- Standardize toast notifications and exception capture for git actions
- Add unit tests for the command runner and `SyncBadge` component
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment May 24, 2026 11:32pm

@SDSLeon SDSLeon merged commit 55109d1 into master May 24, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/brave-marten branch May 24, 2026 23:35
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