Skip to content

SmartUI Storybook: document tunnel-based rendering for Storybook URLs (TE-28456) - #3575

Merged
surishubham merged 2 commits into
LambdaTest:stagefrom
chaitanyas-maker:docs/TE-28456-storybook-url-tunnel
Sep 23, 2026
Merged

surishubham merged 2 commits into
LambdaTest:stagefrom
chaitanyas-maker:docs/TE-28456-storybook-url-tunnel

Conversation

@chaitanyas-maker

@chaitanyas-maker chaitanyas-maker commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

What

Updates the SmartUI Storybook page for the URL-mode change shipped for TE-28456 (Barnett Waddingham: 30s navigation timeout while fetching stories).

From @lambdatest/smartui-storybook 1.2.0, smartui storybook <url> starts a TestMu AI tunnel and SmartUI renders the stories through it, instead of the CLI serialising each story's DOM.

Changes to docs/smartui-storybook-integration.md

  • New Step 3.2: set LT_USERNAME / LT_ACCESS_KEY (or --userName / --accessKey) for Storybook URL builds; not needed for storybook-static.
  • Config table: new chunkSize row (default 50 for a URL, 100 for a static build; URL values are clamped to 25 to 100 by the renderer).
  • Step 5: info block on how a URL is rendered (localhost, internal and Vite dev servers supported; config tunnel block ignored; keep the CLI running; two-hour limit; warm up a compiling dev server).
  • CI sample (hosted URL): passes PROJECT_TOKEN, LT_USERNAME, LT_ACCESS_KEY as env.
  • CLI options table: adds --buildName, --force-rebuild, --userName, --accessKey (all present in index.js).
  • Troubleshooting: new "Storybook URL Builds" tab mapping the CLI's actual error messages to fixes.

Sources

Release status

@lambdatest/smartui-storybook 1.2.0 is published on npm (2026-09-23, latest; GitHub release tag prod-v1.1.33). Verified the published tarball contains utils/tunnel.js, URL_MODE_DEFAULT_CHUNK_SIZE = 50 and the --userName / --accessKey options. Backend deployed in the 23 Sep morning slot.

Checks

  • Page compiles as MDX 3 (Docusaurus 3.10.2).
  • No new images.
  • Rendered and checked on a local Docusaurus preview.

🤖 Generated with Claude Code

Document CLI 1.2.0 URL mode: LT_USERNAME/LT_ACCESS_KEY for the tunnel,
chunkSize (default 50 for a URL, clamped 25 to 100), the two-hour wait,
the ignored config tunnel block, new CLI flags, CI env and a
troubleshooting tab for URL builds.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@chaitanyas-maker
chaitanyas-maker marked this pull request as ready for review September 23, 2026 08:48
From smartui-rendering-service LambdaTest#1275 and dotlapse-visual-ui-pixel LambdaTest#724:
custom viewport waitForTimeout rules for Storybook URLs, last-batch merge
for chunkSize, 60 s per-story page load with one retry, and the
"tunnel not found" error.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@surishubham
surishubham merged commit b71037f into LambdaTest:stage Sep 23, 2026
1 check failed
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.

2 participants