Skip to content

Add execution report heartbeat alerts#119

Merged
Pigbibi merged 1 commit into
mainfrom
codex/report-heartbeat
Jun 2, 2026
Merged

Add execution report heartbeat alerts#119
Pigbibi merged 1 commit into
mainfrom
codex/report-heartbeat

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an Execution Report Heartbeat workflow that checks recent runtime report JSON instead of Cloud Run request success
  • filter reports by platform/service so shared report buckets cannot mask a missing service report
  • document setup and behavior in English and Chinese

Validation

  • python -m py_compile scripts/execution_report_heartbeat.py
  • real read-only GCS smoke with Telegram disabled
  • git diff --check

@Pigbibi Pigbibi merged commit f0fd6e6 into main Jun 2, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/report-heartbeat branch June 2, 2026 12:17

@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: d9b850366b

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

RUNTIME_HEARTBEAT_ACCOUNT_SCOPE: ${{ vars.ACCOUNT_REGION }}
RUNTIME_HEARTBEAT_REQUIRED_SERVICES: ${{ vars.RUNTIME_HEARTBEAT_REQUIRED_SERVICES || vars.CLOUD_RUN_SERVICE }}
RUNTIME_HEARTBEAT_GCS_URIS: ${{ vars.RUNTIME_HEARTBEAT_GCS_URIS || vars.EXECUTION_REPORT_GCS_URI }}
RUNTIME_HEARTBEAT_LOOKBACK_HOURS: ${{ inputs.lookback_hours || vars.RUNTIME_HEARTBEAT_LOOKBACK_HOURS || '36' }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Tighten the default heartbeat window

With the scheduled job running only once per weekday at 23:25 UTC, the 36-hour default can let yesterday's accepted report satisfy today's check. For example, if the PAPER/US service wrote a report after Monday's close and then misses all Tuesday scheduler runs, Tuesday's heartbeat still finds that report within 36 hours and returns OK, so the missed daily completion is not alerted. Use a window that cannot include the prior trading day's completion, or derive the expected window per market/day.

Useful? React with 👍 / 👎.

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