Skip to content

ci: Add Vercel error message to Slack comment - #1981

Merged
marcleblanc2 merged 1 commit into
mainfrom
vercel-build-report-error-message
Sep 17, 2026
Merged

marcleblanc2 merged 1 commit into
mainfrom
vercel-build-report-error-message

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Add Vercel's build error message to the build failure Slack post, to avoid posting empty log files like this one when the build job fails before the build begins.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
sourcegraph-docs Ignored Ignored Preview Sep 17, 2026 10:10am UTC

Request Review

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

@marcleblanc2 marcleblanc2 changed the title ci: Report Vercel's deployment error message with the build log ci: Add error message to build log Sep 17, 2026
@marcleblanc2 marcleblanc2 changed the title ci: Add error message to build log ci: Add Vercel error message to Slack comment Sep 17, 2026
@marcleblanc2
marcleblanc2 requested review from a team and enriquegh September 17, 2026 06:40
A deployment that fails before its first build step, such as on an invalid
vercel.json, has no log events, so the log attached to Slack was empty.
fetch-log now heads the log with the deployment's errorMessage, errorCode,
errorStep and errorLink, and the Slack reply quotes the message.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0acc7-c03a-739a-ad89-32773080f40e
Co-authored-by: Amp <amp@ampcode.com>
@marcleblanc2
marcleblanc2 force-pushed the vercel-build-report-error-message branch from 573d326 to b7e92bf Compare September 17, 2026 10:09
@marcleblanc2
marcleblanc2 merged commit d295a95 into main Sep 17, 2026
6 checks passed
@marcleblanc2
marcleblanc2 deleted the vercel-build-report-error-message branch September 17, 2026 10:10
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.

2 participants