Repository navigation
fix(ops): skip Runtime heartbeat when main.yml disabled - #362
Merged
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Runtime Heartbeat run https://github.com/QuantStrategyLab/BinancePlatform/actions/runs/37911924433 failed with
no_successful_runtime_run_observedbecause.github/workflows/main.ymlisdisabled_manually(noRuntime · strategysuccesses in lookback since ~2026-10-06).This change treats
disabled_manually/disabled_inactivityasnot_applicable(exit 0), same family asruntime_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