Repository navigation
fix(orchestration): emit message timestamps as RFC3339 UTC (partial, refs #8698) - #9167
Merged
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughAdded timestamp normalization helpers that convert SQLite message timestamps to ISO-8601 UTC strings with 🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Jul 17, 2026
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope — partial (does not close #8698)
This lands only the safe, confident sub-fix from triaging #8698: orchestration message timestamps (
created_at,delivered_at) are now emitted as RFC3339 UTC (Z) without changing SQLite storage, plus a regression test.The core issue — a completed
worker_donestaying unseen (read=0,delivered_at=null) until an explicit check when no long-poll is active — is intentionally not addressed here:notifyMessageArrivedonly wakes registered waiters and PTY push is deliberately gated on a reliable idle-agent status; relaxing that gate risks auto-submitting into a busy/unknown PTY on local, Windows, WSL, SSH, or relay. That needs a product decision (a non-PTY runtime→renderer completion notification), tracked separately.Validation
Focused timestamp test + 326 tests pass, typecheck + lint clean.
Refs #8698
Manual validation
PASS — real Orca dev app from the PR branch (
ab5fac347).orchestration send,check --peek, and idle-agent push delivery.check --peekreturned two messages in FIFO sequence order (6, then 7), with RFC3339 UTCcreated_atvalues ending inZ.check --allreturned bothcreated_at: 2026-07-17T19:32:16Zanddelivered_at: 2026-07-17T19:32:16Z. The immediate raw result keptread: 0, preserving the existing distinction between delivered and consumed; the recipient later consumed it.Live created/delivered timestamp output:
Live FIFO ordering output: