Skip to content

Add links to changed pages to Slack thread - #2117

Merged
marcleblanc2 merged 2 commits into
mainfrom
marc/vercel-build-log-preview-links
Oct 30, 2026
Merged

marcleblanc2 merged 2 commits into
mainfrom
marc/vercel-build-log-preview-links

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Added links to changed pages in the bot's Slack thread replies in #alerts-vercel-doc-site.

Preview deployment (Open PR)

image image

Production deployments (PR merged to main)

A merged PR's reply links the changed pages in production (https://sourcegraph.com/docs/<path>), from the same PR comment.

image image

The preview-links workflow comments on each PR with direct links to the
docs pages it changed on the preview deployment. Copy those links, as
Slack links, into the build log reply on the Vercel app's Slack post, so
readers get to the changed pages without opening the PR. Only for a
preview deployment that built: a failed build has no preview, and a
merged PR's preview is behind production. The comment is looked for up
to a minute, since the preview-links workflow runs on the same event.
@vercel

vercel Bot commented Oct 30, 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 Oct 30, 2026 7:43am UTC

Request Review

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

@marcleblanc2 marcleblanc2 changed the title Add the PR's preview page links to the Vercel build log Slack reply Add preview page links to Slack thread Oct 30, 2026
The Slack reply on a production deployment's post now lists the pages the
merged PR changed, at https://sourcegraph.com/docs/<path>, using the same
preview-links PR comment. A merged PR's comment is there or never coming,
so it is not waited for.
@marcleblanc2 marcleblanc2 changed the title Add preview page links to Slack thread Add links to changed pages to Slack thread Oct 30, 2026
@marcleblanc2
marcleblanc2 requested review from a team and enriquegh October 30, 2026 07:51
@marcleblanc2
marcleblanc2 merged commit d068965 into main Oct 30, 2026
18 checks passed
@marcleblanc2
marcleblanc2 deleted the marc/vercel-build-log-preview-links branch October 30, 2026 08:02
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