Skip to content

fix: harden runtime scheduling and notifications - #342

Merged
Pigbibi merged 3 commits into
mainfrom
codex/runtime-hardening-longbridge-20260730
Jul 30, 2026
Merged

fix: harden runtime scheduling and notifications#342
Pigbibi merged 3 commits into
mainfrom
codex/runtime-hardening-longbridge-20260730

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • derive heartbeat expectations from configured runtime targets and real exchange sessions instead of a single US-weekday assumption
  • add grace-aware, scoped runtime-report checks so delayed publication does not create false missing-report alerts
  • fail closed on runtime/Telegram delivery errors and preserve the terminal notification outcome for monitoring
  • strengthen runtime-guard diagnostics without changing strategy selection or order decisions

Validation

  • uv sync --locked --extra test
  • uv run --no-sync ruff check --exclude external .
  • uv lock --check
  • PYTHONPATH=. PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 uv run --no-sync python -m pytest -q
  • 305 passed, 2 warnings, 15 subtests passed

Co-Authored-By: Codex <noreply@openai.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7645a607dd

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/runtime_heartbeat_policy.py Outdated
Comment thread scripts/runtime_heartbeat_policy.py Outdated
Comment thread main.py
Comment thread scripts/runtime_heartbeat_policy.py Outdated
Co-Authored-By: Codex <noreply@openai.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 522d6f724e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/execution_report_heartbeat.py Outdated
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 188a46b into main Jul 30, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the codex/runtime-hardening-longbridge-20260730 branch July 30, 2026 05:42
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