Skip to content

fix(#1236): show exec error when validation script fails to run#1238

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fullsend/code/issue-1236
Open

fix(#1236): show exec error when validation script fails to run#1238
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fullsend/code/issue-1236

Conversation

@fullsend-ai-coder
Copy link
Copy Markdown

When a validation script cannot be executed (e.g., ENOENT or EACCES), CombinedOutput() returns empty output with a non-nil error. Previously the failure message used only the (empty) output, producing a blank "Validation failed:" message. Now falls back to the exec error string when output is empty, giving operators the actual diagnostic.

Co-Authored-By: Claude Opus 4.6 [email protected]


Closes #1236

Post-script verification

  • Branch is not main/master (fullsend/code/issue-1236)
  • Secret scan passed (gitleaks — 7813c92add42ca3ba723cf83de489fd6a67d442a..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

When a validation script cannot be executed (e.g., ENOENT or EACCES),
CombinedOutput() returns empty output with a non-nil error. Previously
the failure message used only the (empty) output, producing a blank
"Validation failed:" message. Now falls back to the exec error string
when output is empty, giving operators the actual diagnostic.

Closes #1236

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions
Copy link
Copy Markdown

Site preview

Preview: https://5b84783e-site.fullsend-ai.workers.dev

Commit: c73a2e038de169303186e0cee1d3d69ce284409e

@fullsend-ai-review
Copy link
Copy Markdown

Review

Findings

No findings.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label May 20, 2026
@rh-hemartin rh-hemartin self-assigned this May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

validation failed shows empty message when script fails to exec (ENOENT / EACCES)

1 participant