mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #707] [MERGED] Fix random connection schedule generation #4737
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#4737
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/707
Author: @cha1latte
Created: 5/11/2026
Status: ✅ Merged
Merged: 5/11/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-693-random-schedule📝 Commits (1)
78a8a3eFix random connection schedule generation📊 Changes
1 file changed (+21 additions, -5 deletions)
View changed files
📝
packages/server/src/routes/conversation.routes.ts(+21 -5)📄 Description
Linked issue
Closes #693
Why this change
"random") as a real API connection id, so chats configured for random connections returned400 No connection configuredinstead of selecting from the random pool.What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
connectionIdwas"random":/api/conversation/schedule/generatereturned400withNo connection configured, and the stub provider received 0 calls.200, produced a generated weekly schedule, and the stub provider received 1 call.400 No connections marked for the random pool, provider calls stayed at 0.200, generated a schedule, provider calls = 1.200, generated a schedule, provider calls = 1.pnpm check; Impeccable context check, lint, and shared/server/client builds passed.scratch/bugfix-verification.jsonandscratch/issue-693-after-random.json.Docs and release impact
No docs or version/release file changes are needed; this is a narrow server route bug fix.
UI evidence (if applicable)
N/A - backend route behavior only. The bug was verified with a route-level scratch harness against the real server route.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.