mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6457] [MERGED] fix: add day-by-day schedules and visible generation errors #7185
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#7185
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/6457
Author: @SpicyMarinara
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept20-assigned-schedule-sweep📝 Commits (10+)
c526ff6chore: coordinate assigned schedule issue sweepfcb7058fix: expose schedule connections and generate weeks day by day491bec4fix: reject unusable generated schedule time ranges83a472drefactor: reuse schedule generation busy state4aa0ee0fix: discard cancelled day and summary generations5879003Merge remote-tracking branch 'origin/staging' into codex/sept20-assigned-schedule-sweep88e598bMerge branch 'staging' into codex/sept20-assigned-schedule-sweep663624bfix: validate complete generated days and refresh week datesb3459d3Merge remote-tracking branch 'origin/codex/sept20-assigned-schedule-sweep' into codex/sept20-assigned-schedule-sweep09af90dMerge remote-tracking branch 'origin/staging' into codex/sept20-assigned-schedule-sweep📊 Changes
7 files changed (+915 additions, -96 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/schedule-generation.e2e.ts(+319 -0)📝
packages/client/src/components/chat/CharacterScheduleEditorModal.tsx(+259 -50)📝
packages/client/src/localization/locales/en.json(+14 -0)📝
packages/server/src/routes/conversation.routes.ts(+37 -8)📝
packages/server/src/services/conversation/schedule.service.ts(+84 -38)➕
scripts/regressions/schedule-generation.regression.ts(+200 -0)📄 Description
Linked issue
Closes #6449
Closes #6455
Why this change
Generating an entire week in one response can overwhelm smaller models. When generation failed, the schedule editor showed only a temporary toast and gave no indication of the connection it used.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated checks run:
pnpm check,pnpm regression:prompt, the new schedule-generation regression, and existing character schedule ownership/transfer regressions. All listed checks pass locally.Nine Playwright cases pass on desktop Chromium, mobile Chromium, and iPhone WebKit. They exercise both themes, connection selection, persistent errors, partial failure without draft replacement, seven-day assembly, settings preservation, saving, closing mid-generation, character-card editing without any connections, and cancellation of day/summary requests without late draft updates or saves. Provider replies use deterministic fixtures; live model quality and physical devices are not claimed.
A local runtime container built with the compiled artifacts on the existing identical-dependency production base and returned a healthy
/api/health. The required GitHub container check performs the full source build.Manual verification notes
Browser screenshots were visually inspected. Human checklist items remain unchecked. Manually verify generation with your own provider and the installed mobile app.
Review follow-up: generated days must form a complete 24-hour cycle without gaps, overlaps, or duplicate ranges. Overnight blocks and full-day blocks starting at any hour remain accepted. Regenerating a single day applies the returned week date. The response-validation regression failed before the coverage fix and now passes; all nine browser cases pass again, including saving a regenerated day with a newer week date. The final browser proof also checks that Cancel aborts before its click handler returns, that close-button/Escape dismissal rejects late replies, and that equal-clock full-day ranges fill the timeline. These cases pass in both themes on all three browsers. External close and character changes abort the same request controller during layout cleanup.
Docs and release impact
Added canonical English UI strings and an Unreleased changelog entry. No dependency, version, or translated-document changes.
UI evidence
Before/after screenshot sheets contain synthetic fixtures only. No private chats or user screenshots were uploaded.
Summary by CodeRabbit
New Features
Bug Fixes
Full-day timeline before/after screenshots cover desktop and mobile in both themes, with synthetic data only.
Final review follow-up: the existing schedule fieldset and tuning controls now disable for any active generation, preventing replies from overwriting day, talkativeness, or timing edits made during the request.
pnpm checkand the six day-by-day browser cases pass again across both themes and all three browsers; the cases assert day activity, talkativeness, and timing controls are disabled while requests are pending. The tuning-control regression failed before its fix and passes afterward.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.