Fix actor profile update federation #276

Merged
erik merged 1 commit from fix/task-1ce84a99-actor-profile-updates into main 2026-07-30 13:08:07 -05:00
Owner

Summary

Send signed ActivityPub actor Update activities after actor profile or social-account settings are saved so followers receive current profile data.

Task

Task: #task-1ce84a99

Changes

  • Extract the actor document builder so actor endpoints and update activities share the same current representation.
  • Deliver actor updates through the existing follower queue when federation is enabled and followers exist.
  • Cover summary, social-account, recipient, disabled-federation, and no-follower behavior.

Testing

  • Unit tests added/updated
  • Manual testing performed
  • ./scripts/pre-pr.sh

Checklist

  • ./scripts/pre-pr.sh passes
  • Documentation updated (not needed)
  • No unrelated changes included
## Summary Send signed ActivityPub actor `Update` activities after actor profile or social-account settings are saved so followers receive current profile data. ## Task Task: #task-1ce84a99 ## Changes - Extract the actor document builder so actor endpoints and update activities share the same current representation. - Deliver actor updates through the existing follower queue when federation is enabled and followers exist. - Cover summary, social-account, recipient, disabled-federation, and no-follower behavior. ## Testing - [x] Unit tests added/updated - [ ] Manual testing performed - [x] `./scripts/pre-pr.sh` ## Checklist - [x] `./scripts/pre-pr.sh` passes - [x] Documentation updated (not needed) - [x] No unrelated changes included
fix: federate actor profile updates
All checks were successful
CI / build-lint-test (pull_request) Successful in 2m7s
06bc92068b
Task: #task-1ce84a99
Author
Owner

Review summary

  • PR: #276 is open; CI is green.
  • Result: approved
  • Acceptance criteria:
    • Actor profile and social-account saves deliver an ActivityPub Update.
    • The activity reuses the current actor document and existing signed follower-delivery path.
    • Delivery is skipped when federation is disabled or no followers exist.
    • Tests cover summaries, social accounts, follower recipients, disabled federation, and no followers.
    • Existing generated-site tests pass through ./scripts/pre-pr.sh.
  • Blocking issues: none.
  • Warnings: none.
  • Follow-up: await explicit human merge approval.
### Review summary - PR: #276 is open; CI is green. - Result: **approved** - Acceptance criteria: - [x] Actor profile and social-account saves deliver an ActivityPub `Update`. - [x] The activity reuses the current actor document and existing signed follower-delivery path. - [x] Delivery is skipped when federation is disabled or no followers exist. - [x] Tests cover summaries, social accounts, follower recipients, disabled federation, and no followers. - [x] Existing generated-site tests pass through `./scripts/pre-pr.sh`. - Blocking issues: none. - Warnings: none. - Follow-up: await explicit human merge approval.
erik merged commit ec2bc894ec into main 2026-07-30 13:08:07 -05:00
erik deleted branch fix/task-1ce84a99-actor-profile-updates 2026-07-30 13:08:07 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
erik/slugkit!276
No description provided.