mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7686] Finish splitting generate.routes.ts: empty-reply branch, game turn resolution, post-save game data, roleplay extra #4244
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#4244
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 (Oct 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7686
Originally assigned to: @Gunterlie on GitHub.
Problem
#7573 splits
packages/server/src/routes/generate.routes.tsinto bounded modules, one part per PR, with no behaviour change. Eight slices are merged intostaging. The route went from 15,619 to 14,820 lines. The largest parts are still inline in the route, so it is still hard to read, review and test.Merged so far (all with a regression):
routes/generate/generation-stream-output.tsroutes/generate/tool-rounds.tsroutes/generate/reply-commands.tsroutes/generate/reply-text-cleanup.tsroutes/generate/saved-message-extra.tsservices/generation/roleplay-rolls.tsroutes/generate/save-generated-reply.tsroutes/generate/hidden-command-anchor.tsProposal
Continue with the same rules: one part per PR, no behaviour change, and each PR adds or names a regression that pins the moved behaviour.
Remaining parts, in the planned order:
saveHiddenCommandAnchor.Notes for whoever picks this up
scripts/regressions/*.regression.tsfiles pin the source text ofgenerate.routes.tswith regexes. Every move must repoint those pins to the new file. Grep the regressions for the moved code before you push.staging, not on another slice. A stacked PR that GitHub retargets after its base merges does not get the required CodeQL runs and is skipped by GitHub CodeRabbit until you mergestaginginto it and push.multiplayer-peer-server-securityfails with a TLS altname error for::1onstagingtoo. It is not caused by this work.Follow-up to #7573.
@SpicyMarinara commented on GitHub (Oct 19, 2026):
Closing this for now to clear the board for the next release. The eight slices that already landed stay; reopen it after the release when you continue with the remaining parts.
@Gunterlie commented on GitHub (Oct 30, 2026):
Closing for now to clear the board before the next stable release. This is not a rejection; I will reopen it after the release.