Skip to content

Respect explicit IBKR heartbeat services#144

Merged
Pigbibi merged 1 commit into
mainfrom
codex/fix-ibkr-heartbeat-required-services
Jun 6, 2026
Merged

Respect explicit IBKR heartbeat services#144
Pigbibi merged 1 commit into
mainfrom
codex/fix-ibkr-heartbeat-required-services

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make explicit RUNTIME_HEARTBEAT_REQUIRED_SERVICES override services derived from CLOUD_RUN_SERVICE_TARGETS_JSON
  • add heartbeat unit tests for explicit override and target fallback behavior

Root cause

Execution Report Heartbeat derived every Cloud Run target as required. That included the monthly smart-dca service, whose scheduler only runs near month end, so the daily heartbeat failed outside its expected reporting window.

Validation

  • timeout 120 pytest -q tests/test_execution_report_heartbeat.py
  • git diff --check

Follow-up config

After merge, set RUNTIME_HEARTBEAT_REQUIRED_SERVICES to the two daily services: interactive-brokers-live-u1599-tqqq-service,interactive-brokers-live-u1660-soxl-service.

@Pigbibi Pigbibi merged commit bbd2fb5 into main Jun 6, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/fix-ibkr-heartbeat-required-services branch June 6, 2026 01:58
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