While reviewing PR #3440, the shepherd-progress branch was correctly removed from _is_claim_abandoned(). However, the constant DEFAULT_HEARTBEAT_STALE_THRESHOLD (defined at line 34 of loom-tools/src/loom_tools/claim.py) was its only consumer and is now unreferenced.
Changes needed
- Remove
DEFAULT_HEARTBEAT_STALE_THRESHOLD definition from claim.py (lines 33-36, including the env-var read via os.environ.get)
- Verify no other file in
loom-tools/ imports or references this constant
Context
Discovered during evaluation of PR #3440 (chore: remove dead shepherd-progress logic from _is_claim_abandoned()).
While reviewing PR #3440, the shepherd-progress branch was correctly removed from
_is_claim_abandoned(). However, the constantDEFAULT_HEARTBEAT_STALE_THRESHOLD(defined at line 34 ofloom-tools/src/loom_tools/claim.py) was its only consumer and is now unreferenced.Changes needed
DEFAULT_HEARTBEAT_STALE_THRESHOLDdefinition fromclaim.py(lines 33-36, including the env-var read viaos.environ.get)loom-tools/imports or references this constantContext
Discovered during evaluation of PR #3440 (chore: remove dead shepherd-progress logic from
_is_claim_abandoned()).