Skip to content

ci: stage Vite Sandbox alongside Storybook in docsite previews - #6601

Merged
cixzhang merged 2 commits into
mainfrom
vercel-sandbox-preview
Sep 25, 2026
Merged

cixzhang merged 2 commits into
mainfrom
vercel-sandbox-preview

Conversation

@cixzhang

@cixzhang cixzhang commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Stack and scope

Base #6627 has landed. This PR is rebased directly on main and changes only the existing docsite Vercel Preview staging, static route resolution, exact-head PR comment path, and their workflow contract test. The separate Framework=Other Sandbox project is not part of this change.

Behavior

  • Vercel Preview/canary builds stage Storybook and adapter-free Vite Sandbox under /storybook/ and /sandbox/ in the existing docsite project. Production release docs remove both preview-only trees.
  • Next resolves physical Sandbox HTML at trailing-slash routes. JS, CSS, embed documents, and template assets remain direct static files; missing paths return HTTP 404 rather than an SPA fallback.
  • The PR report advertises both links only from one successful exact-head Vercel Preview after both apps pass bounded route probes, and rechecks the latest deployment before writing. Same-head redeploys preserve CI, accessibility and visual evidence. No Pages, production, canary or older-head PR-link fallback.
  • The workflow contract test requires both Vercel preview trees and exact-head links while retaining the current separate Pages publisher until its later migration.

Verification

Activation gate

The trusted PR-comment workflow executes default-branch code, so this PR cannot itself show the newly authored two-link report before its code lands. No durable canary or Pages links are redirected by this change.

@vercel

vercel Bot commented Sep 24, 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 Sep 25, 2026 6:34am UTC

Request Review

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

astracat-bot Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🔄 In progress (for maintainers only) Sep 25, 2026, 6:58 AM UTC

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Preview availability: Storybook is not ready on the exact-head Vercel preview. Sandbox was not published for this CI run.

No new or modified components detected.

Bundle Size Summary

No component packages changed.

Accessibility Audit

Status: No accessibility violations detected.

Visual Regression

25 of 420 shot(s) changed. View the report

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
Chat Full AI Chat probe light 42,708
Chat Empty State probe light 42,708
Chat Full AI Chat probe dark 41,786
Chat Empty State probe dark 41,786
Slider Default probe light 15,617
Slider Default probe dark 15,615
Chat With Attachments probe light 12,964
Chat With Attachments probe dark 12,114
InputGroup With Typeahead probe light 11,012
InputGroup With Typeahead probe dark 9,189
ComplexSelector Tree list with search probe light 6,245
TextArea Vertical Form Alignment probe light 5,634
ComplexSelector Tree list with search probe dark 5,602
TextArea Vertical Form Alignment probe dark 5,047
ComplexSelector Fruit ripeness selector neutral light 4,007
ComplexSelector Fruit ripeness selector neutral dark 3,825
ToggleButton Group Single probe dark 1,538
ToggleButton Group Single probe light 1,538
MediaTheme On Dark neutral dark 838
Banner Collapsible Content (Expanded) probe dark 92

and 5 more.

Chat — Full AI Chat — probe light
BeforeAfterDiff
Before visual regression frame After visual regression frame Pixel difference frame
Chat — Empty State — probe light
BeforeAfterDiff
Before visual regression frame After visual regression frame Pixel difference frame
Chat — Full AI Chat — probe dark
BeforeAfterDiff
Before visual regression frame After visual regression frame Pixel difference frame

Generated by PR Enrichment workflow | View full report

github-actions Bot added a commit that referenced this pull request Sep 24, 2026
github-actions Bot added a commit that referenced this pull request Sep 24, 2026
github-actions Bot added a commit that referenced this pull request Sep 24, 2026
github-actions Bot added a commit that referenced this pull request Sep 24, 2026
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch from 13044b3 to 7172f9e Compare September 24, 2026 17:36
@cixzhang cixzhang changed the title ci: stage Sandbox with the Vercel docsite preview ci: configure standalone static Sandbox Vercel project Sep 24, 2026
github-actions Bot added a commit that referenced this pull request Sep 24, 2026
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch from 7172f9e to ea7b914 Compare September 25, 2026 01:58
@cixzhang cixzhang changed the title ci: configure standalone static Sandbox Vercel project ci: stage Vite Sandbox alongside Storybook in docsite previews Sep 25, 2026
@cixzhang
cixzhang changed the base branch from main to feat/sandbox-vite-static September 25, 2026 01:58
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch 2 times, most recently from 6d863d4 to d7993ac Compare September 25, 2026 02:08
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch from d7993ac to cbf8784 Compare September 25, 2026 02:34
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch from cbf8784 to 3a3f201 Compare September 25, 2026 05:36
@cixzhang
cixzhang changed the base branch from feat/sandbox-vite-static to main September 25, 2026 06:12
@cixzhang
cixzhang force-pushed the vercel-sandbox-preview branch from 3a3f201 to 4e009b0 Compare September 25, 2026 06:12
@cixzhang
cixzhang marked this pull request as ready for review September 25, 2026 06:57
github-actions Bot added a commit that referenced this pull request Sep 25, 2026
@cixzhang
cixzhang merged commit 29be688 into main Sep 25, 2026
46 checks passed
@github-actions
github-actions Bot deleted the vercel-sandbox-preview branch September 26, 2026 06:21

This branch was successfully deployed

1 active deployment
Preview — adc6e60e Deployed Sep 25, 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.

1 participant