WS-A2 [PROTO] Timestamps: all wall-clock -> google.protobuf.Timestamp, durations -> Duration #274

Closed
opened 2026-07-31 18:12:42 +00:00 by KofTwentyTwo · 1 comment
KofTwentyTwo commented 2026-07-31 18:12:42 +00:00 (Migrated from github.com)

Fix the seconds-vs-nanoseconds mix (received_at/created_at/start_time/matched_at seconds vs AuditRecord.timestamp_ns). Size M.

Part of the Roadmap-to-9/10 program (design: scratchpad/design/, ROADMAP-TO-9.md). Serial PROTO queue: only one [PROTO] story in flight at a time; WS-A is the sole .proto editor. Detailed brief written at dispatch. DoD per docs/STORY-WORKFLOW.md (engine+proto+CLI+offline mock-only E2E, no fabrication, golden regen on proto change).

Fix the seconds-vs-nanoseconds mix (received_at/created_at/start_time/matched_at seconds vs AuditRecord.timestamp_ns). Size M. Part of the Roadmap-to-9/10 program (design: scratchpad/design/, ROADMAP-TO-9.md). Serial PROTO queue: only one [PROTO] story in flight at a time; WS-A is the sole .proto editor. Detailed brief written at dispatch. DoD per docs/STORY-WORKFLOW.md (engine+proto+CLI+offline mock-only E2E, no fabrication, golden regen on proto change).
KofTwentyTwo commented 2026-07-31 21:00:50 +00:00 (Migrated from github.com)

Delivered via PR #348 (WS-A2, squash-merged to dev). All wall-clock fields -> google.protobuf.Timestamp, durations -> google.protobuf.Duration (fixes the seconds-vs-nanoseconds mix incl. AuditRecord.timestamp_ns->timestamp, sync_interval_secs->sync_interval, execution_time_us->execution_time). prost-types confined to nuncio-proto via a single time.rs conversion module; store/core stay native i64/u64; only grpc mappers + CLI changed. Audit ns precision preserved losslessly (seconds+nanos split, tested). CLI renders RFC-3339. Golden regenerated; contract_stability passes; 498 tests. Absent start/end window now rejected with invalid_argument (honest-error).

Delivered via PR #348 (WS-A2, squash-merged to dev). All wall-clock fields -> google.protobuf.Timestamp, durations -> google.protobuf.Duration (fixes the seconds-vs-nanoseconds mix incl. AuditRecord.timestamp_ns->timestamp, sync_interval_secs->sync_interval, execution_time_us->execution_time). prost-types confined to nuncio-proto via a single time.rs conversion module; store/core stay native i64/u64; only grpc mappers + CLI changed. Audit ns precision preserved losslessly (seconds+nanos split, tested). CLI renders RFC-3339. Golden regenerated; contract_stability passes; 498 tests. Absent start/end window now rejected with invalid_argument (honest-error).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/nuncio#274