Skip to content

Fix federation for comments on cached ActivityPub posts - #685

Merged
akirk merged 2 commits into
mainfrom
fix/comment-on-cached-ap-post-federation
Jul 7, 2026
Merged

akirk merged 2 commits into
mainfrom
fix/comment-on-cached-ap-post-federation

Conversation

@akirk

@akirk akirk commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Mark cached ActivityPub-capable Friends posts as federated before ActivityPub evaluates newly inserted local comments.
  • Allows local replies on cached remote ActivityPub posts to enter the ActivityPub outbox.
  • Update the regression test so it starts without pre-seeded activitypub_status metadata, matching the production failure case.

Test plan

  • composer test -- --filter ActivityPubTest::test_comment_on_cached_post_federation
  • composer check-cs
  • Confirmed repaired comment 88645 reached the Mastodon status thread.

Test in WordPress Playground

Changelog
  • Automatically create a changelog entry from the details below

Type

  • Fixed

Message

Fix local replies on cached ActivityPub posts not entering the outbox.

@akirk
akirk merged commit 16adfed into main Jul 7, 2026
26 checks passed
@akirk
akirk deleted the fix/comment-on-cached-ap-post-federation branch July 7, 2026 12:02
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