Skip to content

test(e2e): Fix scripts for nuxt dev server - #22942

Merged
chargome merged 1 commit into
developfrom
cg/nuxt-canary-bash
Aug 3, 2026
Merged

test(e2e): Fix scripts for nuxt dev server#22942
chargome merged 1 commit into
developfrom
cg/nuxt-canary-bash

Conversation

@chargome

@chargome chargome commented Aug 3, 2026

Copy link
Copy Markdown
Member

nuxt-start-dev-server.bash starts a throwaway pnpm dev to generate sentry.server.config.mjs, then cleans it up with pkill -P $DEV_PID. That only kills the direct children of pnpm dev, so the actual nuxt dev server survives and keeps holding the port. On the canary channel, Nuxt added a directory-scoped dev lock, so the leftover process makes the real nuxt dev refuse to start (Another Nuxt dev is already running), exiting 1.

Cleanup now force-kills whatever still holds the port after the wait loop, releasing the lock so the real server can start.

Applied to nuxt-5 as well, which carries the identical script.

closes #22938

@chargome chargome self-assigned this Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 29.91 kB - -
@sentry/browser - with treeshaking flags 28.11 kB - -
@sentry/browser (incl. Tracing) 47.35 kB -0.05% -22 B 🔽
@sentry/browser (incl. Tracing + Span Streaming) 47.36 kB -0.05% -22 B 🔽
@sentry/browser (incl. Tracing, Profiling) 52.13 kB -0.04% -18 B 🔽
@sentry/browser (incl. Tracing, Replay) 86.69 kB -0.03% -21 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.13 kB -0.03% -18 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 91.41 kB -0.02% -18 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 104.05 kB -0.02% -18 B 🔽
@sentry/browser (incl. Feedback) 47.22 kB - -
@sentry/browser (incl. sendFeedback) 34.76 kB - -
@sentry/browser (incl. FeedbackAsync) 39.86 kB - -
@sentry/browser (incl. Metrics) 30.99 kB - -
@sentry/browser (incl. Logs) 31.22 kB - -
@sentry/browser (incl. Metrics & Logs) 31.89 kB - -
@sentry/react 31.73 kB - -
@sentry/react (incl. Tracing) 49.61 kB -0.07% -32 B 🔽
@sentry/vue 34.98 kB -0.03% -9 B 🔽
@sentry/vue (incl. Tracing) 49.34 kB -0.05% -20 B 🔽
@sentry/svelte 29.94 kB - -
CDN Bundle 31.98 kB - -
CDN Bundle (incl. Tracing) 47.72 kB -0.04% -19 B 🔽
CDN Bundle (incl. Logs, Metrics) 33.55 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.07 kB -0.04% -17 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) 72.9 kB - -
CDN Bundle (incl. Tracing, Replay) 85.34 kB -0.03% -18 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.64 kB -0.03% -19 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 91.13 kB -0.03% -22 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.44 kB -0.03% -23 B 🔽
CDN Bundle - uncompressed 95.49 kB - -
CDN Bundle (incl. Tracing) - uncompressed 143.08 kB -0.12% -171 B 🔽
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.2 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 147.06 kB -0.12% -171 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.96 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.34 kB -0.07% -171 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.3 kB -0.07% -171 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.04 kB -0.07% -171 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280 kB -0.07% -171 B 🔽
@sentry/nextjs (client) 52.2 kB -0.03% -11 B 🔽
@sentry/sveltekit (client) 47.8 kB -0.04% -17 B 🔽
@sentry/core/server 80 kB +0.02% +8 B 🔺
@sentry/core/browser 51.96 kB +0.08% +37 B 🔺
@sentry/node 121.89 kB +0.04% +39 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 85.36 kB +0.06% +47 B 🔺
@sentry/aws-serverless 94.01 kB +0.06% +54 B 🔺
@sentry/cloudflare (withSentry) - minified 199.28 kB +0.05% +90 B 🔺
@sentry/cloudflare (withSentry) 490.77 kB +0.05% +213 B 🔺

View base workflow run

@chargome
chargome marked this pull request as ready for review August 3, 2026 11:19
@chargome
chargome requested review from Lms24 and nicohrubec August 3, 2026 11:20
@chargome
chargome merged commit 993aebf into develop Aug 3, 2026
43 checks passed
@chargome
chargome deleted the cg/nuxt-canary-bash branch August 3, 2026 11:24
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.

nuxt-4 (canary) Test Failed

2 participants