Skip to content

fix(cli): hint at a cut-short message ID on channel_not_found - #798

Open
vercel[bot] wants to merge 1 commit into
mainfrom
factory/partial-message-id-hint
Open

vercel[bot] wants to merge 1 commit into
mainfrom
factory/partial-message-id-hint

Conversation

@vercel

@vercel vercel Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

From an agent's CLI feedback: board read msg_<thread> (a message ID missing its _<n>) answered only that no channel has that name.

board read now says a value that starts like Vercel's msg_/thr_ ID but isn't a whole one looks like a message ID cut short, and suggests the thread's root (msg_<thread>_1) when the thread's part is complete.

  • Users: board read <partial msg_ ID> keeps channel_not_found and exit code 1, with Did you mean msg_<thread>_1? and a detail line saying to check the full ID.
  • Protocol / backends: none
  • Performance / I/O: none: computed from the argument after the existing channel lookup.
  • Tests: test/cli.test.ts drives the CLI end to end on the local board with cut-short IDs with and without a whole thread part, and checks a plain typo gets no such hint. Fails without the change.

@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

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

Project Deployment Actions Updated
vboard-preview-publisher Ready Ready Preview Nov 22, 2026 6:43pm UTC

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.

0 participants