This repository was archived by the owner on Nov 27, 2026. It is now read-only.
Repository navigation
ci/vercel-build-log: Keep big changed-page lists a Slack table - #2161
Open
marcleblanc2 wants to merge 2 commits into
Open
marcleblanc2 wants to merge 2 commits into
marcleblanc2 wants to merge 2 commits into
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Contributor
Slack splits text over 4,000 characters into several messages, each carrying the log file again. The text rows for two PRs at one commit now stop short of that and count the rest in a last line. Amp-Thread-ID: https://ampcode.com/threads/T-01a1d43a-2ab9-77c4-9ac4-aeea3b840866 Co-authored-by: Amp <amp@ampcode.com>
Contributor
|
We’re archiving this repo now that maintained docs live in |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 is one message carrying the log once, and 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+fileMessageagainst the real preview-links comments:…and 18 more in the PR comment…and 259 more in the PR commentA 6-row table comes out the same as before. Rows from two PRs still fall back to text, which now stops under Slack's 4,000-character message size (Slack split the old text there, attaching the log file to each piece), with
…and 71 more in the PR commentsfor #2132's rows twice.Ran the workflow from this branch on #2132's production deployment (
gh workflow run vercel-build-log.yml --ref marc/slack-table-overflow): one reply with the log and table, under the four replies the old code posted.