feat: implement federation post/connections backfill schedulers
Some checks failed
lint / lint (push) Failing after 5m12s
test / integration (push) Has been cancelled
test / unit (push) Has been cancelled

schedule_actor_posts_fetch now spawns backfill_outbox in background,
fetching all pages of a remote outbox and persisting via accept_note.
schedule_connections_fetch follows AP collection next-links, resolves
profiles, and caches them in the DB. Both were no-ops ("deferred").

Add connections_repo field to ActivityPubService; wire both factories.
This commit is contained in:
2026-05-17 11:49:53 +02:00
parent 8ea24461ba
commit b58c96b843
3 changed files with 118 additions and 12 deletions

View File

@@ -86,6 +86,7 @@ pub async fn build(cfg: &Config) -> Infrastructure {
"thoughts".to_string(),
cfg.debug,
None,
Arc::new(PgRemoteActorConnectionRepository::new(pool.clone())),
)
.await
.expect("Failed to build ActivityPubService"),