Skip to content

ci/vercel-build-log: Keep big changed-page lists a Slack table - #2161

Open
marcleblanc2 wants to merge 1 commit into
mainfrom
marc/slack-table-overflow
Open

marcleblanc2 wants to merge 1 commit into
mainfrom
marc/slack-table-overflow

Conversation

@marcleblanc2

Copy link
Copy Markdown
Contributor

When a PR's changed-page table is over Slack's 10,000-character limit for table cells, the build log reply fell back to one line of text per row. Slack then split that text into several replies and unfurled the preview links under it, e.g. the post for #2132 (4 replies) and the one for #2158.

Now the reply stays a table: it keeps the pages that fit, and a last row counts the rest, including the pages past the preview-links comment's own 40-page limit (…and 18 more in the PR comment).

Test plan

Ran changedPageRows + fileMessage against the real preview-links comments:

PR Pages Table rows Cell characters (text + URLs) Last row
#2132 (merged) 50 header + 32 + count 9,407 …and 18 more in the PR comment
#2158 (open) 284 header + 25 + count 9,486 …and 259 more in the PR comment

A 6-row table comes out the same as before, and rows from two PRs still fall back to text.

A table over Slack's 10,000 characters fell back to text rows, which
Slack split into several replies and unfurled the preview links under.
Now the table keeps the pages that fit and counts the rest in a last
row, with the pages past the PR comment's own limit.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d43a-2ab9-77c4-9ac4-aeea3b840866
Co-authored-by: Amp <amp@ampcode.com>
@vercel

vercel Bot commented Nov 13, 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 Nov 13, 2026 9:31am UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
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.

1 participant