Pasture: PeerTube joins, and its videos play through us

PeerTube 8.3.1 runs on the shared Postgres and Redis, transcoding off. Its
scenario passes 24 checks: a persona follows a channel; a new video comes as
the channel's Announce and reaches the persona's home as a boost, playable
through the media proxy with byte ranges; comments both ways thread; a like
and its undo count; renaming and deletion arrive; the unfollow; statistics.

The town's seeder also takes reruns on the same accounts in its stride: a
Lemmy community already made is found, a circle member already approved
asks nothing again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-10-05 03:52:29 +02:00
1 parent d61eac0a01
commit 40217f3261
8 files changed
+187 -2

No files matched your search

+7 -1
View File
@@ -77,7 +77,13 @@ class LemmyApi(Driver):
# -- communities and people
def community(self, s, name, title):
return self.lm(s, "POST", "community", {"name": name, "title": title})["community_view"]["community"]
try:
return self.lm(s, "POST", "community", {"name": name, "title": title})["community_view"]["community"]
except HttpError as e:
# a run on accounts an earlier run made finds the community it made
if "already_exists" not in str(e):
raise
return self.lm(s, "GET", "community", params={"name": name})["community_view"]["community"]
def resolve_community(self, s, ref):
"""ref: !name@host"""