mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3533] [Issue]: Noodle profile generation fails entire batch on overlong formatted Name field #1906
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#1906
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 (Jul 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3533
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Noodle Social Network mode, auto-generated profile metadata can fail when a character name with custom formatting exceeds the 120-character schema limit. A single validation error causes the entire timeline refresh/profile generation batch to fail.
Expected behavior
Overlong generated fields should be truncated or the invalid profile should be skipped with a warning, while valid profiles continue to apply.
Actual behavior
The entire timeline refresh fails with a Zod validation error when one generated profile has a name longer than 120 characters. Retries can fail again with the error index shifting between profiles.
Steps to reproduce
Environment
a0113e5Logs, screenshots, or video
No logs or screenshots provided. User reports Professor Mari identified a ZodError from noodleGeneratedProfilesSchema.parse() when generated profile name exceeds max length. Relevant code locations mentioned: schema in noodle.schema.ts around line 305 with name .max(120); prompt in noodle.routes.ts line 900 hints max 120; failing parse in noodle.routes.ts line 944.
Additional context
Example formatted name: "Who̶̥͛ is…she…?". User notes this is low priority because characters can be renamed, but it may affect custom-formatted names or imported characters. Suggested fixes from the report: use .max(120).transform(s => s.slice(0, 120)) or switch to safeParse with per-profile error handling.
Discord thread: Noodle profile generation fails entire batch on single field validation error (Name)
Discord thread link: https://discord.com/channels/1417099416812392641/1525889625393201383
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (1 message)
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 12, 2026):
Claimed for implementation in draft PR #3539.
@SpicyMarinara commented on GitHub (Jul 12, 2026):
Fixed in PR #3539. Generated profile fields are bounded safely and malformed rows no longer discard valid profiles from the same batch. Covered by the Noodle regression suite.