mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4332] Windows staging emits Node DEP0190 child-process shell warning #2347
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thetopham on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4332
Originally assigned to: @SpicyMarinara on GitHub.
Summary
After updating Marinara Engine to the latest
stagingbuild on Windows, Node.js 24 emits a DEP0190 warning:Node.js v24.18.0 was reported. That version is within Marinara Engine's supported
>=24 <27range, so this is a staging code-path warning rather than an unsupported Node installation.Environment
stagingfcd913930bbb670ad5d66591cb97b74a71d6f615Likely reproduction
staging.A complete
--trace-deprecationstack from the reporting machine would still be useful to distinguish the exact observed caller, but the deprecated call shape is confirmed in current staging.Diagnosis
The newly added build-branch detection runs eagerly while the capability-package catalog URL is initialized:
packages/server/src/services/capability-packages/package-manager.service.ts:59packages/server/src/config/build-info.ts:92-96The Windows path calls:
Passing an argument array together with
shell: trueis exactly the child-process shape deprecated by Node DEP0190. This startup path was introduced by commita3abc395e1b5388068382255a8bd6ab0e9bbd4b4.There are secondary Windows-only instances that may emit the same warning during update/build operations:
packages/server/src/routes/updates.routes.ts:534-539packages/client/scripts/build.mjs:11-15scripts/ensure-native-deps.mjs:85-90and:114-119Node reference: https://nodejs.org/download/release/latest-v24.x/docs/api/deprecations.html#dep0190-passing-args-to-nodechild_process-execfilespawn-with-shell-option
Impact
Suggested scope
Keep this as a focused Windows child-process compatibility bugfix:
git.exedirectly without a shell for build commit/branch detection.shell: process.platform === "win32"sites for argument provenance rather than merely suppressing the warning.Acceptance criteria
@SpicyMarinara commented on GitHub (Jul 31, 2026):
Implementation is in progress by @SpicyMarinara with Codex in draft PR #4340. This issue is part of the current focused staging sweep; existing code paths will be reused and kept narrow.