Skip to content

fix(docs): fix playwright webserver using serve on nonexistent out/ dir#7639

Open
carlagn wants to merge 2 commits intomainfrom
fix/DR-7616-playwright-docs
Open

fix(docs): fix playwright webserver using serve on nonexistent out/ dir#7639
carlagn wants to merge 2 commits intomainfrom
fix/DR-7616-playwright-docs

Conversation

@carlagn
Copy link
Contributor

@carlagn carlagn commented Mar 12, 2026

Replaced npx serve@latest out -l 3000 with pnpm run start (next start) since docs never had output: 'export' configured — next build outputs to .next/, not out/. Also removed stale prebuild: rimraf out script and added a start script.

Summary by CodeRabbit

  • Chores
    • Simplified docs startup scripts: replaced prebuild step with a direct start script for serving the site.
    • CI test startup now uses the project start command to run the docs server during automated checks.
    • Disabled the "request changes" automation in review workflow configuration.

Replaced `npx serve@latest out -l 3000` with `pnpm run start` (next start)
since docs never had `output: 'export'` configured — next build outputs to
.next/, not out/. Also removed stale `prebuild: rimraf out` script and
added a `start` script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 12, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Mar 12, 2026 5:34pm
docs Ready Ready Preview, Comment Mar 12, 2026 5:34pm
eclipse Ready Ready Preview, Comment Mar 12, 2026 5:34pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a443bb56-66cd-431d-9ccc-2ae5c206c754

📥 Commits

Reviewing files that changed from the base of the PR and between 1f6f2d9 and baaa9ca.

📒 Files selected for processing (1)
  • .coderabbit.yaml
✅ Files skipped from review due to trivial changes (1)
  • .coderabbit.yaml

Walkthrough

Adds a start script to apps/docs/package.json, updates Playwright CI to use that start command for webServer, and toggles request_changes_workflow from true to false in .coderabbit.yaml. No dependency or API surface changes.

Changes

Cohort / File(s) Summary
Docs app scripts
apps/docs/package.json
Added start script (next start); removed prebuild script entry.
Playwright CI config
apps/docs/playwright.config.ts
CI webServer command changed to run pnpm run start instead of npx serve@latest out -l 3000; dev command remains pnpm run dev.
Repo automation config
.coderabbit.yaml
Switched request_changes_workflow flag from true to false in reviews configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main fix: resolving a Playwright webserver configuration issue where serve was incorrectly pointing to a nonexistent out/ directory.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot]
coderabbitai bot previously approved these changes Mar 12, 2026
@argos-ci
Copy link

argos-ci bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Mar 12, 2026, 5:41 PM

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