Skip to content

staticExport: add yarn hacky-static-export - #1493

Merged
zbycz merged 7 commits into
masterfrom
yarn-static
Jun 20, 2026
Merged

staticExport: add yarn hacky-static-export#1493
zbycz merged 7 commits into
masterfrom
yarn-static

Conversation

@zbycz

@zbycz zbycz commented Jun 20, 2026

Copy link
Copy Markdown
Owner

No description provided.

zbycz and others added 7 commits June 9, 2026 10:06
The SSR check piped `curl` into `grep -q`. With `set -o pipefail`, grep -q
closes the pipe on its first match, so curl gets SIGPIPE and exits non-zero
while still writing the body - the pipeline then fails and reports "SSR FAILED"
even though the string was present (it passed when run by hand without
pipefail). Capture the response first and grep via a here-string, no pipe.

Also fix cleanup: killing only the yarn wrapper left the next-server listener
orphaned on port 3000, so a stale server could answer the next run's check.
Now kill the actual port-3000 listener and its children too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BNZNaqq5GCWzbHccySTxSE
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
osmapp-preview Ready Ready Preview Jun 20, 2026 10:58am

@zbycz
zbycz merged commit 777e9db into master Jun 20, 2026
3 checks passed
@zbycz
zbycz deleted the yarn-static branch June 20, 2026 10:59
zbycz added a commit that referenced this pull request Jun 20, 2026
Fixed version of #1492 which got reverted.

- it failed to render anything, and thus static-export was 500
- ssr-check for static-export was fixed in #1493 so it doesnt happen
again
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