mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2042] [MERGED] Fix SillyTavern hidden chat import rows #5405
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#5405
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/2042
Author: @cha1latte
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2002-sillytavern-import-hidden📝 Commits (1)
78b95bdFix SillyTavern hidden chat import📊 Changes
1 file changed (+177 additions, -24 deletions)
View changed files
📝
src-tauri/src/commands/storage/imports/bulk_imports.rs(+177 -24)📄 Description
Linked issue
Closes #2002
Why this change
is_system, which dropped hidden/system transcript messages instead of preserving them as hidden-from-AI messages.What changed
is_systemrows and mark their messageextrawith bothhiddenFromAIandhiddenFromAi.character_name,name, andextra.namewhen the alias has one unique character match.Refactor impact
Primary owner:
Impact areas reviewed:
extra.hiddenFromAI/extra.hiddenFromAihandlingBoundary notes:
src-tauriimport/storage logic and Rust unit coverage; no React, engine, shared API, or remote-runtime routing changes.Pressure points touched:
src-tauri/src/commands/storage/imports/bulk_imports.rsValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri/Cargo.toml import_st_chat_text_ -- --nocapture: hiddenis_systemrow failed withChat import JSONL must contain at least one message, and duplicateBotaliases guessed a character ID.cargo test --manifest-path src-tauri/Cargo.toml import_st_chat_text_ -- --nocapturepassed: 9 targeted import tests.cargo check --manifest-path src-tauri/Cargo.tomlpassed.pnpm checkpassed.node C:/Users/celia/.codex/tools/marinara-proof-gate.mjs scratch/bugfix-verification.jsoncould not run because the proof-gate helper is not present in this checkout.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A. The changed behavior is covered by Rust import tests and full repo validation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.