mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2131] [Issue]: Conversation @mentions use full busy delay instead of legacy short delay #1043
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#1043
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 @Promansis on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2131
Originally assigned to: @cha1latte on GitHub.
Summary
Conversation-mode @mentions and manual character targets no longer use the shorter legacy schedule delay path. The refactor availability path applies the generic busy delay for idle/DND characters, so directly addressed characters can wait the full normal delay instead of the quick mention delay legacy used.
Expected behavior
When a conversation user explicitly @mentions or manually targets a character, idle and DND schedules should use the short mention delay behavior from legacy:
Normal non-mentioned conversation replies can keep the configured/generic busy delay.
Actual behavior
The refactor
startGenerationpath acceptsmentionedCharacterNames, butresolveConversationAvailabilitydoes not receive or inspect mention/manual-target context. It computesdelayMswithgetBusyDelay(...)for every responding character, so @mentioned/manual-targeted idle or DND characters use the normal configured/generic delay.Steps to reproduce
idleordnd.Impact area
Environment
refactorstatic trace on 2026-06-04Logs, screenshots, or video
Static evidence:
src/engine/generation/start-generation.ts,StartGenerationInput.mentionedCharacterNames.resolveConversationAvailability(...)computes delay fromgetBusyDelay(character.status, character.schedule)and is called without mention context before yieldingdelayedevents.packages/server/src/routes/generate.routes.tsselectedgetMentionDelay(...)when requested mention names or a manual target were present.packages/server/src/services/conversation/schedule.service.tsused 5-15 seconds for idle mentions and 30-90 seconds for DND mentions.Regression notes
Legacy
maintreated @mentions/manual targets as urgent pings and used a shorter delay helper. The refactor keeps offline skip and generic busy delays, but the mention-specific delay branch was not carried over.Additional context
Found during Target 5 Characters parityscan slice: Runtime/Mode Consumers.
Related tracker: #2124.
Suggested repair shape: carry an explicit
isMentionedOrManualTarget/urgent flag intoresolveConversationAvailability, add a chat-ownedgetMentionDelayhelper besidegetBusyDelay, and use it only for mentioned/manual-targeted conversation replies while preserving offline skip and regenerate/impersonate exclusions.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: