[codex] Enrich Git VCS driver errors #3253
Mergedjuliusmarmingemerged 5 commits into
main fromrefs/pull/3253/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- apps/server/src/vcs/GitVcsDriverCore.ts line 1338Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -1290,11 +1315,14 @@12901315 return NON_REPOSITORY_STATUS_DETAILS;12911316 }1292131712931318 if (statusResult.exitCode !== 0) {1294- const stderr = statusResult.stderr.trim();1295- return yield* createGitCommandError(1296- "GitVcsDriver.statusDetails.status",1297- cwd,1298- ["status", "--porcelain=2", "--branch"],1299- stderr || "git status failed",1300- );1319+ return yield* new GitCommandError({1320+ ...gitCommandContext({1321+ operation: "GitVcsDriver.statusDetails.status",1322+ cwd,1323+ args: ["status", "--porcelain=2", "--branch"],1324+ }),1325+ detail: "Git status failed.",1326+ exitCode: statusResult.exitCode,1327+ stdoutLength: statusResult.stdout.length,1328+ stderrLength: statusResult.stderr.length,
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
juliusmarminge merged this4238a0e
juliusmarminge closed this
Sign in to join this conversation.



Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
7b76cd94-b657-4ab8-959b-ee9bd3929a4cYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment `@coderabbitai help` to get the list of available commands and usage tips.