Skip to content

Add ActivityPub subscription status check#613

Merged
akirk merged 3 commits intomainfrom
fix/activitypub-subscription-check
Mar 26, 2026
Merged

Add ActivityPub subscription status check#613
akirk merged 3 commits intomainfrom
fix/activitypub-subscription-check

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Mar 26, 2026

Screenshot 2026-03-26 at 10 42 31 Screenshot 2026-03-26 at 10 41 42 Screenshot 2026-03-26 at 10 43 01

Summary

  • Addresses diagnostic aspect of Friends Main Feed Not Updating #596 (feeds not updating after following via ActivityPub)
  • Adds a Check Subscription button on the Edit Feeds page for ActivityPub feeds
  • Checks the local follow status via the ActivityPub plugin (accepted, pending, or not following)
  • Compares the latest remote outbox post date with the latest local post to detect if inbox delivery has stopped
  • Shows clear status messages (ok/warning/error) to help users diagnose subscription issues

Test plan

  • Go to Edit Feeds for a friend with an ActivityPub feed
  • Click "Check Subscription" and verify it shows the follow status and post freshness
  • Test with a working subscription (should show green "ok")
  • Test with a subscription where follow was never accepted (should show warning/error)

Test in WordPress Playground

akirk added 3 commits March 26, 2026 10:47
Adds a "Check Subscription" button on the Edit Feeds page for
ActivityPub feeds that verifies:
- Whether the local follow status is accepted, pending, or missing
- Whether the remote outbox has posts newer than the latest local post
  (indicating inbox delivery may not be working)

This helps diagnose why feeds might not be updating after following
someone via ActivityPub.
Instead of showing a hard error and stopping, show a warning when the
follow status is not tracked by the ActivityPub plugin and continue
with the outbox freshness check. Also warn if the ActivityPub plugin
is not active at all.
When the subscription check finds remote posts but no local ones,
offer a Fetch posts button that triggers the existing fetch feeds
mechanism to retrieve the latest posts immediately.
@akirk akirk force-pushed the fix/activitypub-subscription-check branch from be90c5e to f25c8eb Compare March 26, 2026 09:49
@akirk akirk merged commit 723a86a into main Mar 26, 2026
25 checks passed
@akirk akirk deleted the fix/activitypub-subscription-check branch March 26, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant