mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8329] [Issue]: Zod 4 bump prevents Slurp2 and Hierarchical Maps from loading #8277
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#8277
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 @SpicyMarinara on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8329
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On staging with Marinara Engine 2.5.1, Slurp2 0.4.1 and Hierarchical Maps 1.7.1 fail to activate after the host's Zod dependency was bumped from v3 to v4. Both agents import Zod from the host and appear to rely on Zod 3 behavior.
Expected behavior
Both agents should activate successfully on staging, including after their packages are updated.
Actual behavior
Hierarchical Maps 1.7.1 fails with
TypeError: At.innerType is not a functionand rolls back to 1.5.1, which appears to load. Slurp2 0.4.1 fails withTypeError: Cannot read properties of undefined (reading 'curve'); it rolls back to 0.3.47, which fails with the same error, leaving Slurp unavailable.Steps to reproduce
Environment
Logs, screenshots, or video
Hierarchical Maps 1.7.1:
TypeError: At.innerType is not a function. Slurp2 0.4.1 and 0.3.47:TypeError: Cannot read properties of undefined (reading 'curve'). No screenshots or video provided.Additional context
The reporter identifies staging commit
0dddb04dc(Oct 23) as the change that moved Zod from^3.25.76to^4.6.7; main remains on Zod 3. Hierarchical Maps appears to call.innerType().extend(...)on a superRefine'd schema, while Slurp2's settings schema uses.default({})and later reads nestedcommission.curveandmessage.curvevalues. The reporter notes other third-party packages importing the host's Zod may also be affected.Discord thread: Some agents fail to load on staging after the zod4 bump (Slurp2 and Hierarchical Maps for me)
Discord thread link: https://discord.com/channels/1417099416812392641/1564017244613124208
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
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 (Oct 26, 2026):
Verified this report against current staging
5b7d81b83and the exact published package archives. The existing compatibility repair in #8210 (merge7bb1c9c19) is present in that staging history; no additional runtime patch is needed for these failures.Results:
server.mjsreproducesAt.innerType is not a functionwith native Zod 4.6.7, then imports successfully with Engine’s actual managed Zod 3.25.76 snapshot mapping.Cannot read properties of undefined (reading 'curve')error with native Zod 4.6.7, then import successfully with that managed Zod 3 mapping.active/readyat the requested versions, with no rollback or errors; the probe recorded zerofetchrequests.These checks ran on macOS/Node with disposable data and the exact current staging source tree, not a physical Windows installation or the browser UI. The report was filed after #8210 merged; Engine 2.5.1 / capability API 1.384 alone cannot identify whether its checkout contained that repair, because the repair did not bump those versions. I am not treating the report date as proof of a stale installation.
Closing as fixed by #8210, with the exact affected packages now validated. Update/rebuild staging and restart Engine before retrying the package updates. If the same errors persist, please reopen with the exact Engine commit from Support Diagnostics and the current activation stack trace so we can investigate that installation.