Skip to content

fix: register new table templates in build test, sandbox routes, and docsite lock - #7156

Merged
ernestt merged 2 commits into
mainfrom
fix/build-test-table-comparison
Oct 8, 2026
Merged

ernestt merged 2 commits into
mainfrom
fix/build-test-table-comparison

Conversation

@josephfarina

@josephfarina josephfarina commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Fixes three CI failures caused by the table-collapsible (#6065) and table-comparison (#6251) template merges landing on a September CI base.

Changes

  1. build.test.mjs — test expectation table-page → table-comparison for "a pricing page with three plans and a comparison table". Two independent blind reviewers both chose table-comparison as the best start.

  2. next-export-routes.json — adds 2 sandbox static routes (/templates/table-collapsible/, /templates/table-comparison/), 773 → 775.

  3. routes.lock.json — adds 1 ShadCN registry entry (template-table-collapsible, +5 lines); template-table-comparison was already in the lock from feat(templates): add the model comparison page template #6251.

One-line test change, two manifest updates. No template code, no keywords, no page.tsx.

The comparison table template (#6251) correctly matches "a pricing
page with three plans and a comparison table" — the request
literally describes a comparison matrix. Two independent blind
labelers both chose table-comparison as the best start.

Updates the test expectation from table-page to table-comparison.
The test's purpose ("starts a page the words describe from its
template") is unchanged; table-comparison is now the template
those words describe.
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Oct 8, 2026 12:28am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 8, 2026
@astracat-bot

astracat-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 8, 2026, 12:36 AM UTC

@josephfarina josephfarina changed the title fix(cli): update build test expectation for table-comparison template fix: register new table templates in build test, sandbox routes, and docsite lock Oct 8, 2026
Adds table-collapsible and table-comparison to the sandbox static-route manifest (next-export-routes.json, +2 routes) and refreshes the docsite ShadCN route lock (routes.lock.json, +2 entries). No old route changed.
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR

🧪 Sandbox Preview

View Sandbox for this PR

No new or modified components detected.

Bundle Size Summary

No component packages changed.

Accessibility Audit

Status: No accessibility violations detected.

Visual Regression

24 of 436 shot(s) changed.

A change here is a question, not a failure: check whether the after is the
picture you intended. Record that review on the PR. Baseline maintenance is an
explicit dispatch of CI; this report never rewrites the baseline or adds a release gate.

component story theme mode pixels
Selector Indicator Space Bottom Sheet Narrow End RTL neutral light 754,077
Selector Indicator Space Bottom Sheet Wide Start neutral light 740,188
Chat Full AI Chat probe light 155,733
Chat Full AI Chat probe dark 155,005
Chat Default neutral dark 33,205
Chat Default neutral light 32,876
Chat Empty State probe light 23,531
Chat Empty State probe dark 22,622
ChatAutoScroll Scroll Behavior Comparison neutral dark 15,378
ChatAutoScroll Scroll Behavior Comparison neutral light 14,107
Chat With Attachments probe light 13,229
Chat With Attachments probe dark 11,065
TableRowExpansion Detail Panel neutral dark 5,129
TableRowExpansion Detail Panel neutral light 4,050
SideNav Resizable in AppShell probe dark 3,208
SideNav Resizable in AppShell probe light 3,208
TableGroupedRows Default neutral light 2,133
TableGroupedRows Default neutral dark 2,116
Markdown Default probe dark 897
Markdown Default probe light 897

and 4 more.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks — this completes the registration for the two table templates that already landed. The build test now expects the Comparison Table for a pricing-page request, the sandbox route list gains both template deep links, and the registry route lock gains the missing Collapsible Table entry.

I verified each piece at this revision: the build suite passes with the new expectation (the matcher already names the comparison template for those words, and that template is marked ready), the sandbox route contract passes against the expanded 775-route list, and the docsite generator's exact route-lock comparison passes with the new entry, so no existing route or lock entry has changed.

One reading note: the branch is behind its base, so a plain two-dot diff makes it look as though the compact template summary is being removed. The pull request's own file list contains only these three files, and merging will not remove that summary — refreshing the branch before merge will clear up the picture.

[Automated review]

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. This adds only the three missing pieces for the two new table templates, each one matches what its generator or check expects, and the checks those templates broke on main pass on this head.

  • Route lock: after a full package build, the registry generator with UPDATE_SHADCN_ROUTE_LOCK=1 rewrites the lock byte for byte as it is here, and the generator's check passes without it. template-table-comparison was already locked, so template-table-collapsible is the only new entry. Main fails this check with "Generated ShadCN names or routes changed".
  • Sandbox routes: main's sandbox build fails with exactly extra /templates/table-collapsible/, /templates/table-comparison/. These are the two routes added here, in sorted order with no duplicates (775 routes). The export check requires an exact match, and build-sandbox passes on this head.
  • Build test: build now picks table-comparison for "a pricing page with three plans and a comparison table", and that template describes itself as a comparison matrix and pricing table. With the old table-page expectation the test fails with exactly that result, and the whole file passes 46 of 46 with the new one.
  • Nothing else changes: no template, keyword or runtime code. The commits since this branched off touch none of these files, and it merges cleanly onto current main.

[Automated review]

@ernestt
ernestt merged commit cfef51a into main Oct 8, 2026
48 checks passed
@ernestt
ernestt deleted the fix/build-test-table-comparison branch October 8, 2026 04:43

This branch was successfully deployed

1 active deployment
Preview — e2128e12 Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants