mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4327] [Issue]: Development can serve absent or stale shared-package output #2343
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#2343
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 @Xelvanis on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4327
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Development orchestration can use missing or stale
@marinara-engine/sharedcompiled output. This frequently affects source development involving shared
types, constants, registries, or runtime helpers.
Expected behavior
Documented development commands should establish the shared-package build they
depend on. When shared source changes after startup, the tooling should either
coordinate the required rebuild/restart or clearly state the manual boundary.
Actual behavior
pnpm devbuilds@marinara-engine/sharedonce before starting the serverand client, but it does not run the existing shared-package watcher.
pnpm dev:serverstarts the API server without first building shared output.dist/index.jsanddist/index.d.ts, whiledistis intentionally untracked.../shared/dist, so rebuildingshared after startup does not restart the server. The running process can
therefore continue using the previously loaded implementation.
The
distexclusion was added intentionally in #3779 to keep Playwrightstartup from disturbing an active development server. The issue is the
unhandled and undocumented development boundary around that safeguard, not the
production build order.
Steps to reproduce
packages/shared/disthas not been built.pnpm dev:server.pnpm dev, change runtime code underpackages/shared/src,and rebuild shared.
previously loaded shared module until manually restarted.
Environment
staging)Logs, screenshots, or video
No runtime log attached. Static package-resolution and watcher tracing
establishes the failure mechanism; an implementation should verify both an
absent-
diststart and a shared-runtime edit after startup.Additional context
A small initial fix would make
pnpm dev:serverbuild shared first and documentthat shared-source changes require
pnpm build:sharedplus a server restart.Fully coordinated shared watching and server restarts could be considered
separately if restart storms and the #3779 Playwright safeguard are preserved.
Template check
Please uncheck (untick) the box below before submitting so we know you read
the template. It is intentionally pre-checked:
@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.