Repository navigation
fix(platform): qualify Nitro v3 services and deployment behavior - #2535
benpsnyder wants to merge 7 commits into
Conversation
Preserve explicit bundler settings, canonical route rules and HEAD loaders. Use srvx for Node adaptation and close development resources on shutdown. Co-Authored-By: OpenAI Codex <[email protected]>
Preserve request context, response metadata and isolated prerender output. Add Node and Workers conformance, dependency regressions and release review. Keep the submission in draft while broader qualification remains open. Co-Authored-By: OpenAI Codex <[email protected]>
✅ Deploy Preview for analog-blog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for analog-app ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
This PR touches multiple package scopes: Please confirm the changes are closely related. |
|
View your CI Pipeline Execution ↗ for commit b883a93
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
… modes Pass the test flag separately from transformer ownership in both compilers. Qualify real Angular development redirects and hydrated navigation. Co-Authored-By: OpenAI Codex <[email protected]>
|
Follow-up at Upstream review fixes are pushed, with short replies on every finding and all four threads resolved: unjs/env-runner#47 (399 tests pass) and h3js/srvx#303 (1,478 tests pass). Their Actions runs need maintainer approval; srvx also needs Vercel team authorization. This PR stays draft. Remaining CI failures are Windows conformance shutdown, the existing Angular 17.3 compiler-tooling mismatch, and the Nx coordinator cancellation. No checks were disabled. |
Close the development Nitro instance once across Vite environment shutdown hooks. Remove obsolete Cypress installation and isolate compiler-matrix setup. Co-Authored-By: OpenAI Codex <[email protected]>
There was a problem hiding this comment.
Important
At least one additional CI pipeline execution has run since the conclusion below was written and it may no longer be applicable.
Nx Cloud has identified a possible root cause for your failed CI:
This CI failure appears to be related to the environment or external dependencies rather than your code changes.
No code changes were suggested for this issue.
You can trigger a rerun by pushing an empty commit:
git commit --allow-empty -m "chore: trigger rerun"
git push
🎓 Learn more about Self-Healing CI on nx.dev
Normalize Windows entry imports in the env-runner patch and verify relative module loading. Complete the docs plugin and builder migration, run output checks after Nitro finishes, and restore i18n runtime exports and locale configuration. Co-Authored-By: OpenAI Codex <[email protected]>
PR Checklist
Completes integration work around Nitro
3.0.260903-beta, which upstreamalphaalready pins. Replaces obsolete service/bundler assumptions and adds temporary dependency patches for runtime qualification. This remains a draft: the integration checks pass, but broader workspace and remote CI qualification is incomplete.Tracks Nitro v3 integration qualification — analogjs/analog#2534.
Affected scope
platformvite-plugin-nitro,vite-plugin-angular; supporting dependency pins, Node configuration, documentation and conformance CI.Recommended merge strategy for maintainer [optional]
Commit preservation note [optional]
No commit preservation requirement. Squash is recommended.
What is the new behavior?
platform:nitro-conformance,platform:nitro-patchesandplatform:nitro-cloudflaretargets plus Linux/Windows CI.Temporary upstream patches
[email protected][email protected]Both upstream issues include standalone samples, use cases and suggested AI implementation prompts. Patch hashes are locked.
patches/README.mdgives removal criteria and consumer configuration: publishing Analog does not propagate workspace pnpm patches to consumers.Test plan
pnpm nx format:check --base=4225f45090a4cf4bdfb562a788e908787b6ec73c(changed-file Prettier also passed)pnpm nx run-many --target build --all: 23 projects plus 8 dependent tasks, including after patch installation.pnpm test: full equivalent under Xvfb passed 18/19 targets; docs-analog still has five syntax-failing suites./aboutdevelopment SSR returns 200 with rendered content; Node portable production rendering and browser navigation; local Cloudflare Workers development/production conformance.pnpm install --frozen-lockfile, including prepare/artifact verification, with both patches.pnpm nx run platform:nitro-patchesandpnpm nx run platform:nitro-cloudflare.Draft exit checks still open
tools/nitro-v3-adoption.md.@angular-devkit/build-angular/src/tools/esbuild/angular/compiler-plugin.js. Linux/Windows Nitro conformance and other checks were still running at the latest readback.Does this PR introduce a breaking change?
No intentional public API break beyond the existing alpha prerelease baseline. The documented supported runtime floor is aligned to Node 24.15.0 (or Node 26). Explicit settings and legacy Vite fallbacks remain supported. Temporary dependency patches must be applied separately by affected consumers.
Other information
Base is alpha, as requested for this work; targeting beta would include unrelated alpha history. The original checkout remains unchanged. No deployment has been performed.
tools/nitro-v3-adoption.mdreviews every 2026 Nitro v3 release and records checks and measurements. There is no demonstrated build-speed improvement: median app-only build was 13.084s before and 14.702s after. Output grew primarily because the baseline omitted required Sharp/libvips runtime files; the portable baseline returned 500 while the final portable application returned 200.[optional] What gif best describes this PR or how it makes you feel?
Not applicable.
Prepared with OpenAI Codex.
CI repair follow-up
d0cb0dbcc, including Windows/Linux Nitro conformance and the full CI workflow.