Repository navigation
Fixed chatimport-bug - #109
Merged
Merged
Conversation
Imported chats could get their messages shuffled because message order relies solely on created_at (ms): there is no dedicated sequence column and ids are random v4 UUIDs, so the tiebreaker is arbitrary. Sources with colliding timestamps (e.g. second-granularity SillyTavern send dates, or missing dates) produced identical created_at, so the order resolved non-deterministically and re-shuffled across save/reload cycles. - Import now assigns strictly increasing created_at in source-array order (running maximum, +1 on collision/backstep) in both the Lettuce backup importer and the SillyTavern jsonl importer (single and group chats). Real, already-increasing timestamps are left untouched. - The missing-timestamp fallback anchors one minute before now so a turn sent right after the import still sorts after the imported history. - read_session's message load gains the ", id ASC" tiebreaker to match the other load paths, so order is deterministic across reloads.
android-actions/setup-android@v3 defaults to packages 'tools platform-tools', but the legacy 'tools' SDK package has been removed from the Android repository. sdkmanager then fails with "Failed to find package 'tools'" (exit 1), breaking every Android CI run regardless of the committed changes. Pin packages to an empty set in all four Android workflows (android-build, android-release-build, pr-check, espeak-android-bundle); the runner already ships the command-line tools and Gradle resolves platform/build-tools itself.
MegalithOfficial
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chatimports had a bug in which a simultanious created_at-timestamp messed up the order in the frontend.