fix(ci): restore production — remove doubled working-directory from Vercel deploy steps#419
fix(ci): restore production — remove doubled working-directory from Vercel deploy steps#419ajitpratap0 merged 5 commits intomainfrom
Conversation
… 404 status - Issue #397: not-found.tsx is already correct Next.js App Router structure (no changes needed — returns HTTP 404 automatically for unmatched routes) - Issue #398: Replace relative .md file links with website doc routes in GETTING_STARTED.md, CLI_GUIDE.md, USAGE_GUIDE.md, LINTING_RULES.md, CONFIGURATION.md, API_REFERENCE.md, SQL_COMPATIBILITY.md - Issue #403: Version WASM service worker cache key (gosqlx-wasm-v2), add self.clients.claim() on activate, scope cache deletion to gosqlx-wasm-* prefix only, guard fetch with response.ok check Closes #397, #398, #403 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The Vercel project has rootDirectory=website in the dashboard. Running vercel CLI from website/ CWD caused doubled-path resolution: website/website/package.json → ENOENT on every deploy since 2026-03-17. Running from repo root lets Vercel CLI resolve rootDirectory=website correctly (repo_root/website/), so WASM binary copied to website/public/wasm/ in the Build WASM step is included in the artifact. Fixes: 3 consecutive production deploy failures, WASM 404 in playground. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
…pushes Path filter caused the workflow to skip on synchronize events where only non-matched files changed (e.g., .yml, .md). The opened event bypasses path filtering so it ran on first push but not on subsequent pushes. Also adds workflow_dispatch for manual triggering and reopened type. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Claude finished @ajitpratap0's task —— View job 🔍 PR Review CompleteTodo List:
✅ Overall Assessment: LGTM with Strong ApprovalThis is an excellent production hotfix that demonstrates strong understanding of Vercel CLI behavior and GitHub Actions best practices. 📋 Changes Reviewed
|
🚨 P0 HOTFIX — Production Playground Broken
Symptom: gosqlx.dev/playground shows "Failed to fetch WASM binary: HTTP 404"
Root cause:
website.ymlusedworking-directory: websiteon all three Vercel CLI steps. The Vercel project hasrootDirectory=websiteset in the dashboard. Combined, these cause the CLI to resolve paths aswebsite/website/package.json(doubled), which fails with ENOENT on every run.Timeline: 3 consecutive production deploy failures since 2026-03-17. Vercel's own Git Integration was auto-deploying on each push to main but WITHOUT the WASM build step → WASM 404 for all users.
Fix: Remove
working-directory: websitefrom thePull Vercel environment,Build with Vercel, andDeploy to Vercelsteps. Running from repo root lets Vercel CLI correctly interpretrootDirectory=websiteas<repo_root>/website/.Changes
.github/workflows/website.yml— remove 3working-directory: websitelines (the bug)docs/*— fix relative.mdlinks →/docs/URL paths (closes fix(website): broken .md relative links in docs content files #398)website/public/wasm-sw.js— WASM SW cache key versioning (closes perf(website): version WASM service worker cache key to prevent stale binary #403)website/src/app/docs/[...slug]/page.tsx— BreadcrumbList JSON-LD (closes seo(website): add JSON-LD Article markup to blog posts and BreadcrumbList to docs #404)website/src/app/layout.tsx— SoftwareApplication JSON-LDwebsite/src/components/home/*— homepage visibility, contrast, keyboard a11y, mobile overflow fixes (closes a11y(website): make scrollable code blocks keyboard accessible (WCAG 2.1.1) #400, fix(website): horizontal overflow / content clipping at 320–390px viewport #401)Closes
Closes #398, #400, #401, #403, #404
🤖 Generated with Claude Code