Skip to content

fix(browser-tests): production Next builds in CI, dev servers locally - #90

Merged
VladUZH merged 1 commit into
mainfrom
fix/browser-ci-production-servers
Jul 29, 2026
Merged

fix(browser-tests): production Next builds in CI, dev servers locally#90
VladUZH merged 1 commit into
mainfrom
fix/browser-ci-production-servers

Conversation

@VladUZH

@VladUZH VladUZH commented Jul 29, 2026

Copy link
Copy Markdown
Member

Validation #5 (run 30460483491): 75 passed / 35 failed, and every failure is a first-visit timeout (landing ×16, signup ×16, …) that never reproduces locally. Classic dev-server-in-CI failure: Next dev compiles pages on first hit and a 2-core runner takes >30s per cold page.

CI now runs next build && next start for dashboard and landing (compile paid once inside a 7-min webServer timeout); local runs keep dev servers unchanged. The API stays on its dev server everywhere — tsx has no per-page compile.

Sixth and, evidence suggests, final root cause: 1 missing server → 2 env parity → 3 seed scope drift → 4 stale enum vocab → 5 unscoped locator → 6 dev-server cold compiles. Will dispatch validation #6 after merge.

🤖 Generated with Claude Code

Validation run #5: 75 passed, 35 failed — every failure a selector or
fill timeout concentrated on first-visit pages (landing 16, signup 16),
none reproducible locally. Dev-mode Next compiles each page on first
hit; a 2-core CI runner takes >30s per cold page. CI now builds and
serves production bundles (compile cost paid once, up front, inside a
7-minute webServer timeout); local runs keep dev servers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@VladUZH
VladUZH merged commit 13da79c into main Jul 29, 2026
19 checks passed
@VladUZH
VladUZH deleted the fix/browser-ci-production-servers branch July 29, 2026 15:05
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.

1 participant