mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1562] Active World Info masks scan errors as no active entries #804
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#804
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 @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1562
Originally assigned to: @Promansis on GitHub.
Summary
Active World Info can silently show "No active entries for this chat" when its scan fails before activation. In the verified case, the chat had active lorebook entries, but its
connectionIdpointed at a missing connection, so the active-lorebook scan failed while the panel rendered the empty state instead of an error.Expected behavior
Active World Info should either:
It should not present a failed scan as "No active entries".
Actual behavior
The panel showed:
The same disposable chat normally shows four active entries, and the saved provider prompt snapshot for the prior generation includes the expected lore block.
Source trace:
scanActiveLorebookEntries(...)insrc/engine/generation/active-lorebooks.tscallsresolveGenerationConnection(...).resolveGenerationConnection(...)throws when the chat points to a missing connection.WorldInfoPanelreadsdata/isLoadingbut does not renderisError/error, so the query failure falls through to the empty state.Steps to reproduce
connectionIdto a missing/deleted connection id.Impact area
Environment
refactoratf120eb33Logs, screenshots, or video
No public attachment. Local native QA observed the panel render "No active entries for this chat" after the scan failed due the missing chat connection.
Regression notes
Unknown.
Additional context
This was found during the Lorebooks native Tauri QA pass. The disposable chat was restored to its original connection after the probe.
The likely fix is to render query errors in
WorldInfoPaneland consider whetherscanActiveLorebookEntriesshould depend on resolving a generation connection when the user only asked to inspect active lorebook entries.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: