Skip to content

Timestamp app-server notifications at emission#32905

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b379cb11e8e91c558bcd3d46ce459311a6e81e54
Jul 14, 2026
Merged

Timestamp app-server notifications at emission#32905
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b379cb11e8e91c558bcd3d46ce459311a6e81e54

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 14, 2026

Copy link
Copy Markdown

Timestamp app-server notifications at emission

What changed

  • Add an optional emittedAtMs field to server notification envelopes and expose the envelope in the generated JSON and TypeScript schemas.
  • Populate the Unix timestamp when app-server emits a notification, before transport routing, so every connection in a fan-out receives the same value.
  • Keep the field optional for clients decoding notifications from older app-server versions.

Testing

  • Verify notification serialization includes emittedAtMs.
  • Verify targeted fan-out reuses one timestamp across connections.

## What changed

- Add an optional `emittedAtMs` field to server notification envelopes and expose the envelope in the generated JSON and TypeScript schemas.
- Populate the Unix timestamp when app-server emits a notification, before transport routing, so every connection in a fan-out receives the same value.
- Keep the field optional for clients decoding notifications from older app-server versions.

## Testing

- Verify notification serialization includes `emittedAtMs`.
- Verify targeted fan-out reuses one timestamp across connections.

GitOrigin-RevId: b379cb11e8e91c558bcd3d46ce459311a6e81e54
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b379cb11e8e91c558bcd3d46ce459311a6e81e54 branch from 4c0be52 to c39520f Compare July 14, 2026 00:39
@copyberry
copyberry Bot merged commit c39520f into main Jul 14, 2026
12 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b379cb11e8e91c558bcd3d46ce459311a6e81e54 branch July 14, 2026 00:40
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants