Changeset 14f54a7 in Klonkt for CHANGELOG.de.md


Ignore:
Timestamp:
07/04/2026 05:31:45 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
6ec0433
Parents:
6dd1a3f
Message:

fix(ap): self-heal retries until a clean pass; feed re-boost also refreshes

Scale fix (think 1M instances, not this one row): the previous remedies
still had two gaps that only showed up per-user.

  • selfHealTimeline consumed its version even when some origins were unreachable at that exact moment - phone-hosted instances are offline routinely, so their notes stayed stale forever with no retry. The version is now only persisted after a CLEAN pass (0 unreachable); otherwise it retries on the next boots and gives up after 5 attempts (dead origins answer 404/410 and are pruned, so no infinite loop). SELFHEAL_VERSION 6 -> 7 so already-healed instances rerun with the new semantics.
  • The /news feed boost only did markBoosted, so "boost again to heal a stale copy" silently worked from the interact page but not the feed. Boosting from the feed now also re-resolves the note (fire-and-forget) and refreshes the cached row via upsertBoostedNote.

Retry state machine verified in isolation (offline-then-reachable ->
heals; permanently dead -> gives up after 5 passes, then skips). Suite
45/45.

  • src/services/ActivityPubService.js - clean-pass gating + attempts counter (app_settings, no schema change); SELFHEAL_VERSION 7
  • src/routes/posts.js - /news/boost refreshes the cached row on boost
  • CHANGELOG(.nl/.de).md - extended the Unreleased bullet (3 languages)

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.de.md

    r6dd1a3f r14f54a7  
    99- **Boosts, die ihr Cover verloren hatten, bekommen es automatisch zurück.**
    1010  Beiträge, die du vor dem Cover-Fix geboostet hast, waren ohne Artwork
    11   gespeichert; sie werden beim nächsten Neustart einmalig aufgefrischt. Einen
    12   Beitrag erneut zu boosten aktualisiert jetzt ebenfalls die gespeicherte Kopie
    13   (Cover, Inhalt) — ein veralteter Boost lässt sich also auch von Hand heilen.
     11  gespeichert; sie werden beim nächsten Neustart einmalig aufgefrischt. Ist der
     12  Heimserver eines Beitrags in dem Moment kurz nicht erreichbar, wird es bei den
     13  nächsten Neustarts erneut versucht statt endgültig übersprungen. Einen Beitrag
     14  erneut zu boosten aktualisiert jetzt ebenfalls die gespeicherte Kopie (Cover,
     15  Inhalt) — aus dem Feed wie von der Interact-Seite.
    1416
    1517## [1.3.3] — 2026-07-03
Note: See TracChangeset for help on using the changeset viewer.