Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
fix: stop republishing unchanged posts on legacy state master
The previous legacy fallback at publish.ts treated any state entry without a noteHash as "changed", forcing a full note republish on the first run after upgrading to v0.5.0. That was wasteful: contentHash already detects every local change, so when contentHash matches the file is unchanged and PDS still matches it. Now: if contentHash matches and noteHash is missing, silently backfill noteHash from local content and skip the republish. Also split the "content changed" reason string into "document changed" / "note changed" / "content changed" so the change-detection trigger is visible at a glance.
Author Julien Calixte Date (May 5, 2026, 12:47 PM UTC) Commit 5d299c01 5d299c018fc9b0947c67ae1a28c3ddd5684afbe1 Parent a2afa4f0 a2afa4f0184b55a4c74a84a1fd40348029395d61