Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
fix: normalize image and link markdown in sync's PDS comparison master
processNoteContent rewrites local image paths to blob CIDs and internal markdown links to AT URIs before writing the note to PDS. matchesPDS was comparing the raw local body against the transformed PDS body, so any post with an image or internal link in its first 5000 chars failed the equality check deterministically. sync would then store contentHash and noteHash as empty strings, and the next publish run would re-flag the post as "content changed" even though nothing had changed. Strip image markdown and link URLs from both sides before comparing so the rewrite asymmetry no longer matters.
Author Julien Calixte Date (May 5, 2026, 12:47 PM UTC) Commit 014116ed 014116edac8967a853b9bc01f59887e2463adc53 Parent 5d299c01 5d299c018fc9b0947c67ae1a28c3ddd5684afbe1