Skip to content

Add runGitSync helper to replace repeated execFileSync(getGitExecutable( - #451

Merged
404-Page-Found merged 2 commits into
mainfrom
bot/issue-449
Dec 5, 2026
Merged

404-Page-Found merged 2 commits into
mainfrom
bot/issue-449

Conversation

@404-Page-Found

@404-Page-Found 404-Page-Found commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #449

View guided diff Turn on auto-fix

@404-Page-Found 404-Page-Found added the assignee:coding-bot Implementation-ready; assigned to coding-bot label Dec 5, 2026
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 42 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 8f2cec5d-c305-4067-a339-b9d88f206523
Commits

Reviewing files that changed from the base of the PR and between a7618de and 7f9a574.

Files selected for processing: 2

  • src/git/diff.ts
  • src/git/hook.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Shadow auto-approve: would not auto-approve because issues were found.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread src/git/diff.ts Resolved
@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would require human review. Refactor adds runGitSync helper and replaces repeated git exec calls, but checkGitRepo now resolves the Git executable inside its try/catch via runGitSync, changing missing-executable errors; the dismissed finding still applies and needs a human decision.

View guided diff | Turn on auto-fix | Re-trigger cubic

@404-Page-Found
404-Page-Found merged commit 8d47129 into main Dec 5, 2026
11 checks passed
@404-Page-Found
404-Page-Found deleted the bot/issue-449 branch December 5, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assignee:coding-bot Implementation-ready; assigned to coding-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor-bot] Add a runGitSync helper for the repeated execFileSync(getGitExecutable()) calls

1 participant