Skip to content

Compare the security terminal observation at second granularity - #250

Merged
saagpatel merged 1 commit into
mainfrom
fix/security-terminal-observation-second
Sep 2, 2026
Merged

Compare the security terminal observation at second granularity#250
saagpatel merged 1 commit into
mainfrom
fix/security-terminal-observation-second

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

First live publish attempts (2026-09-02, after operator-scripts #65 and #66) were refused with 'security terminal observation time is invalid'. The security receipt's produced_at carries microseconds; the terminal receipt's observed_at is whole seconds; when the collector writes both within the same second the terminal compares as earlier. The order check now truncates produced_at to the second. A terminal a full second earlier, or in the future, is still refused. Unit test added; full suite 3660+ passing locally. After merge, operator-scripts must move EXPECTED_REF to the merge commit for the nightly publish to use this.

…granularity

The publisher refused every live publish with 'security terminal observation
time is invalid'. The security receipt records produced_at with microseconds
while the terminal receipt records observed_at at whole seconds, so a terminal
written in the same second as the receipt (the normal case for a fast
collector: 12:08:08.576 vs 12:08:08) compared as earlier. The order check now
truncates produced_at to the second; a terminal a full second earlier, or in
the future, is still refused. Unit test covers all four cases.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-02T12:16:13.502026Z b9ebf9d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@saagpatel
saagpatel merged commit 539b28a into main Sep 2, 2026
4 checks passed
@saagpatel
saagpatel deleted the fix/security-terminal-observation-second branch September 2, 2026 12:20
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.

1 participant