Skip to content

feat: switch delivery metadata timestamp from Unix to ISO 8601#803

Merged
alexluong merged 5 commits intomainfrom
feat/iso-timestamp-metadata
Apr 3, 2026
Merged

feat: switch delivery metadata timestamp from Unix to ISO 8601#803
alexluong merged 5 commits intomainfrom
feat/iso-timestamp-metadata

Conversation

@alexluong
Copy link
Copy Markdown
Collaborator

@alexluong alexluong commented Apr 3, 2026

Summary

  • Switch timestamp metadata from Unix seconds (1609459200) to ISO 8601 (2021-01-01T00:00:00Z) using Go's time.RFC3339 format
  • Update tests, config structs, provider registration, and docs

Test plan

  • All TestMakeMetadata_* tests pass (6/6)
  • Full build compiles cleanly
  • Verify downstream consumers can parse ISO 8601 timestamps

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Apr 3, 2026 4:30am
outpost-website Ready Ready Preview, Comment Apr 3, 2026 4:30am

Request Review

- timestamp: Unix seconds → RFC3339 (e.g., 2021-01-01T00:00:00Z)
- timestamp-ms: Unix milliseconds → RFC3339Nano (e.g., 2021-01-01T00:00:00.123456789Z)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace AssertTimestampIsUnixSeconds with AssertTimestampIsISO8601
across all provider test asserters.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The webhook-timestamp header is spec-mandated Unix seconds,
separate from our metadata timestamp format.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The signature header t= uses Unix (for signing), while the timestamp
header is now ISO 8601. These are intentionally different formats.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alexluong alexluong merged commit 4b51a0a into main Apr 3, 2026
5 checks passed
@alexluong alexluong deleted the feat/iso-timestamp-metadata branch April 3, 2026 14:52
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.

2 participants