Skip to content

Sort scheduler reconciliation by UTC timestamp - #1308

Merged
joeszilagyi merged 1 commit into
mainfrom
codex/scheduler-reconciliation-utc-sort
Jun 9, 2026
Merged

Sort scheduler reconciliation by UTC timestamp#1308
joeszilagyi merged 1 commit into
mainfrom
codex/scheduler-reconciliation-utc-sort

Conversation

@joeszilagyi

Copy link
Copy Markdown
Owner

Fixes #743.

Summary:

  • Sort runtime-ledger events and derived outcomes by parsed UTC timestamps instead of raw timestamp strings.
  • Add a regression covering offset timestamps that lexical-sort differently from chronological UTC order.

Validation:

  • python3 -m py_compile tools/common/scheduler_failure_reconciliation.py tests/test_scheduler_failure_state_reconciliation.py
  • /tmp/codex-ruff-venv/bin/ruff format --check tools/common/scheduler_failure_reconciliation.py tests/test_scheduler_failure_state_reconciliation.py
  • /tmp/codex-ruff-venv/bin/ruff check tools/common/scheduler_failure_reconciliation.py tests/test_scheduler_failure_state_reconciliation.py
  • python3 -m pytest -q tests/test_scheduler_failure_state_reconciliation.py

@joeszilagyi
joeszilagyi merged commit 43675df into main Jun 9, 2026
6 checks passed
@joeszilagyi
joeszilagyi deleted the codex/scheduler-reconciliation-utc-sort branch June 9, 2026 19:44
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.

unspecified: Runtime-ledger reconciliation sorts raw timestamp strings

1 participant