mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1840] [MERGED] Fix SillyTavern bulk import parity #5310
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#5310
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/1840
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1806-st-import-parity📝 Commits (1)
dcfd3daFix SillyTavern bulk import parity📊 Changes
1 file changed (+797 additions, -50 deletions)
View changed files
📝
src-tauri/src/commands/storage/imports/bulk_imports.rs(+797 -50)📄 Description
Linked issue
Closes #1806
Why this change
refactorlost legacy-compatible import context for common preset folders, one-on-one chat branch grouping, group chat metadata, speaker attribution, and transcript display/timestamp fields.What changed
presets,TextGen Settings, andOpenAI Settings.metadata.branchNamefrom the source file.groups/*.jsonmetadata for ST group chats, preserves member names in metadata, imports group chats as individual group roleplay chats, and maps speaker names tomessage.characterId.send_datewhen it can be parsed intocreatedAt, and keeps rawsend_dateplusextra.display_textin message extra.Refactor impact
Primary owner:
Rust storage imports.
Impact areas reviewed:
Boundary notes:
src-tauri/src/commands/storage/imports/bulk_imports.rs; no React, engine, shared API, schema, dependency, or remote-runtime contract changes.Pressure points touched:
src-tauri/src/commands/storage/imports/bulk_imports.rs.Validation
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 st_bulk_import --libafter the latestupstream/refactormerge: passed.cargo test --manifest-path src-tauri/Cargo.toml scan_st_folder_includes_legacy_preset_folders_and_group_metadata --lib: passed.cargo test --manifest-path src-tauri/Cargo.toml import_st_chat_text_does_not_link_character_name_only_rows --lib: passed.pnpm checkafter installing locked dependencies in the issue worktree: passed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json: passed.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; this is a Rust storage/import compatibility fix with command/test proof.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.