Normalize actor timestamp test serialization #14

Merged
erik merged 1 commit from task-7638ca9f-normalize-timestamp-test into main 2026-07-30 12:29:38 -05:00
Owner

Summary

  • normalize the persisted actor update timestamp with Temporal.Instant before asserting against Fedify's serialized JSON-LD
  • avoid false failures when equivalent ISO timestamps differ only by trailing fractional-second zeroes

Verification

  • timestamp test passed three consecutive runs
  • npm run typecheck
  • npm run lint
  • npm test (312 tests)
## Summary - normalize the persisted actor update timestamp with `Temporal.Instant` before asserting against Fedify's serialized JSON-LD - avoid false failures when equivalent ISO timestamps differ only by trailing fractional-second zeroes ## Verification - timestamp test passed three consecutive runs - `npm run typecheck` - `npm run lint` - `npm test` (312 tests)
Normalize serialized actor update timestamps in tests
All checks were successful
CI / build-lint-test (push) Successful in 51s
139cb734d8
Author
Owner

Review: Approved. The assertion now compares the canonical Temporal.Instant serialization used by Fedify, eliminating false failures from trailing fractional-second zeroes. No runtime behavior changes. Typecheck, lint, 312 tests, three repeated focused runs, and CI run 45 passed.

Review: Approved. The assertion now compares the canonical Temporal.Instant serialization used by Fedify, eliminating false failures from trailing fractional-second zeroes. No runtime behavior changes. Typecheck, lint, 312 tests, three repeated focused runs, and CI run 45 passed.
erik merged commit b3241f4f98 into main 2026-07-30 12:29:38 -05:00
erik deleted branch task-7638ca9f-normalize-timestamp-test 2026-07-30 12:29:38 -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!14
No description provided.