mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3781] [Feature]: Extract the public Noodle generation service seam #2041
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#2041
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 @Gunterlie on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3781
Originally assigned to: @Gunterlie on GitHub.
What problem does this solve?
The existing public Noodle timeline generation pipeline is implemented inside
POST /api/noodle/refresh. This makes the route double as the reusable business-logic layer and gives later NoodleR slices the wrong extension point. It corresponds to P2 Finding 5: routes should not own reusable business logic.This issue tracks Slice 3 of the NoodleR PR-stack plan. It builds on Slice 1A (#3744), Slice 1B (#3751), and Slice 2 (#3759).
Proposed solution
Extract only the public Noodle generation pipeline that currently exists on
staginginto a typed, DB-backed service. Keep request validation, HTTP status mapping, connection checks, and in-flight request coordination in the route. Preserve prompt assembly, provider fallback, correction retry, generated media, persistence, digests, and refresh-run behavior.Active owner: @Gunterlie on branch
noodl-split-3-public-generation-seam.Acceptance criteria:
pnpm regression:promptpasses.Alternatives considered
Additional context
Authoritative plan:
.github/plans/noodl-split/noodler-pr-stack-plan-v2.md, Slice 3.This is intended to be a mechanical extraction. Any behavior change must remain separate from the pure move. Later NoodleR capabilities are intentionally out of scope.
Template check