Publish actor creation and update timestamps #13

Merged
erik merged 2 commits from task-7638ca9f-actor-timestamps into main 2026-07-30 12:12:34 -05:00
Owner

Summary

  • publish the actor's persisted creation time as ActivityPub published
  • publish the latest actor, profile-settings, or social-account change as ActivityPub updated
  • include both timestamps in public actor documents and outbound actor Update activities

Verification

  • npm run build
  • npm run lint
  • npm test (311 tests)
  • focused actor route, persistence, and settings delivery tests (48 tests)
## Summary - publish the actor's persisted creation time as ActivityPub `published` - publish the latest actor, profile-settings, or social-account change as ActivityPub `updated` - include both timestamps in public actor documents and outbound actor `Update` activities ## Verification - `npm run build` - `npm run lint` - `npm test` (311 tests) - focused actor route, persistence, and settings delivery tests (48 tests)
Publish actor creation and update timestamps
All checks were successful
CI / build-lint-test (push) Successful in 49s
78112c1a9f
Use generic actor timestamp fixtures
All checks were successful
CI / build-lint-test (push) Successful in 55s
de0d89fc3c
Author
Owner

Review summary

The PR maps persisted actor creation time to ActivityPub published and computes updated from the newest actor, profile-settings, or social-account timestamp. The shared actor document feeds both the public endpoint and outbound actor Update activities, so both paths receive identical timestamps. Tests use generic actor and URL fixtures.

Acceptance criteria

  • Met — Public actor documents include persisted published timestamps.
  • Metupdated reflects the newest actor, profile-settings, or account timestamp.
  • Met — Outbound actor Update payloads contain both timestamps.
  • Pending production verification — Mastodon joined date requires merge, release, deployment, and a production actor update.
  • Met — Actor endpoint and outbound-update tests use generic fixture data.
  • Met — Build, lint, all 311 tests, focused tests, and Forgejo CI run 43 passed.

Blocking issues

  • None.

Warnings

  • Production Mastodon joined-date correction must be verified after deployment before task closure.

Verdict

Approved for merge.

### Review summary The PR maps persisted actor creation time to ActivityPub `published` and computes `updated` from the newest actor, profile-settings, or social-account timestamp. The shared actor document feeds both the public endpoint and outbound actor `Update` activities, so both paths receive identical timestamps. Tests use generic actor and URL fixtures. ### Acceptance criteria - **Met** — Public actor documents include persisted `published` timestamps. - **Met** — `updated` reflects the newest actor, profile-settings, or account timestamp. - **Met** — Outbound actor `Update` payloads contain both timestamps. - **Pending production verification** — Mastodon joined date requires merge, release, deployment, and a production actor update. - **Met** — Actor endpoint and outbound-update tests use generic fixture data. - **Met** — Build, lint, all 311 tests, focused tests, and Forgejo CI run 43 passed. ### Blocking issues - None. ### Warnings - Production Mastodon joined-date correction must be verified after deployment before task closure. ### Verdict Approved for merge.
erik merged commit 0c1e80c647 into main 2026-07-30 12:12:34 -05:00
erik deleted branch task-7638ca9f-actor-timestamps 2026-07-30 12:12:34 -05:00
Sign in to join this conversation.
No reviewers
No labels
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/erikvancraddock.com!13
No description provided.