Skip to content

fix: backfill media from richer Desktop exports - #49

Merged
yusixian merged 1 commit into
mainfrom
codex/fix-desktop-media-reimport
Aug 2, 2026
Merged

yusixian merged 1 commit into
mainfrom
codex/fix-desktop-media-reimport

Conversation

@yusixian

@yusixian yusixian commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • version Telegram Desktop media evidence independently from canonical message content
  • append matched source observations when a later export makes media locally available
  • preserve exact import-run provenance without duplicating messages or revisions
  • bump the Desktop parser version and add a server patch changeset

Validation

  • pnpm --filter @koharu-suite/server test (552 tests)
  • targeted PostgreSQL/Testcontainers media re-import integration suite (5 tests)
  • pnpm --filter @koharu-suite/server build
  • pnpm --filter @koharu-suite/server typecheck
  • pnpm lint

Regression covered

The integration test advances discovery past an earlier not-included placeholder, imports the same message with a real Desktop photo path, and verifies scannedEvidence=1 plus a ready cached object with a SHA-256 blob.

@yusixian
yusixian merged commit 28330a1 into main Aug 2, 2026
1 check passed
@yusixian
yusixian deleted the codex/fix-desktop-media-reimport branch August 2, 2026 16:02
@yusixian yusixian mentioned this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant