Publish ActivityPub actor timestamps #278

Merged
erik merged 1 commit from fix/task-6ebf6900-actor-timestamps into main 2026-07-30 15:26:50 -05:00
Owner

Summary

Publish persisted actor creation and update timestamps in ActivityPub actor documents and outbound profile updates.

Task

Task: #task-6ebf6900

Changes

  • Map actor createdAt and updatedAt values to ActivityPub published and updated timestamps.
  • Verify actor endpoint timestamps with deterministic generic actor data.
  • Verify outbound actor Update activities preserve creation time and carry the current profile update time.

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 Publish persisted actor creation and update timestamps in ActivityPub actor documents and outbound profile updates. ## Task Task: #task-6ebf6900 ## Changes - Map actor `createdAt` and `updatedAt` values to ActivityPub `published` and `updated` timestamps. - Verify actor endpoint timestamps with deterministic generic actor data. - Verify outbound actor `Update` activities preserve creation time and carry the current profile update time. ## 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: publish actor timestamps
All checks were successful
CI / build-lint-test (pull_request) Successful in 18m1s
0a8369db96
Task: #task-6ebf6900
Author
Owner

Review summary

  • PR: #278 is open; CI is green.
  • Result: approved
  • Acceptance criteria:
    • Actor documents derive valid published values from persisted creation timestamps.
    • Actor documents derive valid updated values from current persisted actor state.
    • Outbound actor Update activities contain both timestamps.
    • The standard ActivityPub published value supplies Mastodon with the persisted joined date on profile updates.
    • Generated-template tests cover endpoint and outbound-update timestamps with generic actor data.
    • Existing generated-site tests pass through ./scripts/pre-pr.sh and Forgejo CI.
  • Blocking issues: none.
  • Warnings: none.
  • Follow-up: await explicit human merge approval.
### Review summary - PR: #278 is open; CI is green. - Result: **approved** - Acceptance criteria: - [x] Actor documents derive valid `published` values from persisted creation timestamps. - [x] Actor documents derive valid `updated` values from current persisted actor state. - [x] Outbound actor `Update` activities contain both timestamps. - [x] The standard ActivityPub `published` value supplies Mastodon with the persisted joined date on profile updates. - [x] Generated-template tests cover endpoint and outbound-update timestamps with generic actor data. - [x] Existing generated-site tests pass through `./scripts/pre-pr.sh` and Forgejo CI. - Blocking issues: none. - Warnings: none. - Follow-up: await explicit human merge approval.
erik merged commit 529fff4034 into main 2026-07-30 15:26:50 -05:00
erik deleted branch fix/task-6ebf6900-actor-timestamps 2026-07-30 15:26:50 -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!278
No description provided.