Never ingest another feed's document into a followed podcast

Subscribing from a URL that maps onto an existing podcast only through
an alias or the feed's itunes:new-feed-url claim no longer writes that
document into the podcast: its episodes, metadata and validators stay,
and an unsubscribed podcast is subscribed again with its stored
metadata. The document is ingested only for a new podcast or when it
came from the podcast's own fetch URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sanapachandClaude Opus 5.5 committed 2026-11-20 15:12:52 +02:00
1 parent bbdac75967
commit c5f3b3cfa4
4 files changed
+204 -24

No files matched your search

+5 -1
View File
@@ -203,7 +203,11 @@ from). If you follow the feed only under the newer address of a card's
moved feed, the result list cannot tell yet; opening the card reads the
feed, sees the move and shows **Already subscribed** with **Open**, and
neither **Subscribe** nor **Add RSS** with the old address creates a
second subscription.
second subscription. A podcast you follow is changed only by its own
address: when a feed found under another address only claims to have
moved to yours (or is an old copy of it), nothing of that feed is written
into your podcast; if you had unsubscribed, it is subscribed again with
its own data and refreshed from its own address.
- Opening a card shows its title, author, description, artwork and the feed
URL, then loads the seasons and episodes from the feed itself through the
+9 -4
View File
@@ -304,10 +304,15 @@ Search and subscription from a card (`src/podcasts/search.rs`):
newest 50 episodes of the season, without storing anything; subscribe
fetches the origin URL, then `runner::subscribe_fetched` writes a
private subscription with the card's id, or the account's existing
podcast for the first known URL of `runner::document_urls` (the origin,
the end of a permanent redirect chain, the feed's `itunes:new-feed-url`;
also used by "add RSS"). Nothing is written when the account is already
subscribed, by id or known URL, before or after the fetch. Both share
podcast for a known URL of `runner::document_urls` (the origin, the end
of a permanent redirect chain, the feed's `itunes:new-feed-url`;
`search::known_podcast`; also used by "add RSS"). The document is
ingested only into a new podcast or when it came from the existing
podcast's own fetch URL (requested there, or a permanent redirect ended
there); otherwise the podcast is subscribed again with its stored
metadata and nothing of the document is written. Nothing is written when
the account is already subscribed, by id or known URL, before or after
the fetch. Both share
the "add RSS" request limits; the browser aborts a preview it no longer
shows (`AbortController`), so a closed card frees its slot once the
server sees the connection close.