Repository navigation
Order readiness check runs by timestamp instants - #1508
Conversation
Keep numeric check-run IDs primary and preserve API order when instants tie. Compare workflow retry and replacement timestamps with the same strict parser used by the freshness change. Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 1e768fe7464ca0ab40c0996152ab4d948e56bd8f, 30.5s: approve (0 critical, 0 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| ) | ||
|
|
||
|
|
||
| def readiness_timestamp(value: object) -> datetime | None: |
There was a problem hiding this comment.
suggestion: New parser is public, but the module's other readiness helpers are private
readiness_timestamp has no leading underscore, while its neighbours (_check_run_order, _has_active_replacement, _check_signals) all do. Nothing outside github.py calls it in this diff. The task says #1453 will share this parser. If #1453 also lives in github.py, renaming it to _readiness_timestamp keeps the module's API surface unchanged. If #1453 imports it from another module, keep the public name and add a one-line docstring saying it is strict and offset-aware and returns None for untrusted or invalid input. Either way, choose one name before merging so the two PRs don't produce two parsers.
Co-Authored-By: Codex <noreply@openai.com> Architecture-Review: unchanged; comparison order still uses the same producer identity and retry gates.
There was a problem hiding this comment.
loopzero delta review by claude on 96d7ca0b176069deeffb7d8a9d1384f83750fd7e, 22.1s: approve (0 critical, 0 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
|
@Mergifyio queue |
🚫 Left the queue · queue conditions no longer match1 min in the queue, with no time running CI. So far
Reason Pull request #1508 has been dequeued Queue conditions are not satisfied:
To get back in the queue
Times in UTC · dashboard · how the merge queue works |
|
No description provided. |
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Order readiness check runs by timestamp instants
Context and goal
Closes #1462
Acceptance
Notes
The timestamp parser landed in #1841. The changes share the same strict, offset-aware timestamp parser. Treat GitHub's timestamp strings as untrusted values and retain the existing identity checks before waiting on a replacement.
The issue replays failed on the base. The updated head passes 64 focused readiness cases. A clean combined tree with #1453 retains one parser and passes the same 64 readiness cases and all 66 freshness cases. The test diff adds zero net lines.
Base
Base: a68ef3b
Validation
Recorded for
455cfc8df18fuv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Review
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.