mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4653] [MERGED] fix(noodle): tolerate sloppy stage profile drafts #6456
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#6456
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4653
Author: @Gunterlie
Created: 8/5/2026
Status: ✅ Merged
Merged: 8/5/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/noodler-stage-profile-review📝 Commits (3)
a29b4aefix(noodle): tolerate sloppy stage profile drafts9f24f6ctest(noodle): isolate stage draft validation cases42933c1Merge remote-tracking branch 'origin/staging' into fix/noodler-stage-profile-review📊 Changes
3 files changed (+39 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/services/noodle/noodle-stage-profile-draft.service.ts(+21 -2)📝
scripts/regressions/noodle-prompt.regression.ts(+17 -1)📄 Description
Linked issue
Closes #4626
Why this change
NoodleR stage-profile generation can fail with a ZodError when a local model wraps a valid draft in a single-item array, returns a display-only
disclosureModevalue such asAlways, adds extra keys, or decorates the handle with@. These model variations prevent an otherwise usable draft from reaching the editor.What changed
disclosureModefrom validation because the requested mode is authoritative and is applied after parsing.@characters before schema validation.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated verification notes
NODE_OPTIONS=--max-old-space-size=4096 pnpm checkpassed.pnpm regression:promptpassed, including the new stage-profile parsing assertions.pnpm guard:installer-artifactspassed.pnpm install --frozen-lockfilecompleted successfully.Manual verification notes
Manual browser/app verification and container validation remain for the human contributor/maintainer. This PR contains no UI changes, so no screenshots are applicable.
Docs and release impact
CHANGELOG.mdupdated for the bug fix.docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable; this is a server parser and regression-coverage change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.