Skip to content

fix(ops): skip Runtime heartbeat when main.yml disabled - #362

Merged
Pigbibi merged 1 commit into
mainfrom
ops/runtime-heartbeat-disabled-workflow
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
ops/runtime-heartbeat-disabled-workflow

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Runtime Heartbeat run https://github.com/QuantStrategyLab/BinancePlatform/actions/runs/37911924433 failed with no_successful_runtime_run_observed because .github/workflows/main.yml is disabled_manually (no Runtime · strategy successes in lookback since ~2026-10-06).

This change treats disabled_manually / disabled_inactivity as not_applicable (exit 0), same family as runtime_target_disabled. Lookback is unchanged when the workflow is active.

Does not touch TG delivery / tokens.

Test plan

  • uv run --no-sync python -m unittest tests.test_runtime_workflow_heartbeat
  • After merge: dispatch Runtime Heartbeat; expect skip while main.yml remains disabled

When GitHub reports the watched Runtime workflow as disabled_manually
or disabled_inactivity, treat the heartbeat as not_applicable instead of
alerting on an empty lookback. Matches run 37911924433 (0 strategy runs
while Runtime was disabled).
@Pigbibi
Pigbibi merged commit e75c6e5 into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the ops/runtime-heartbeat-disabled-workflow branch October 9, 2026 10:08
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