Skip to content

agent: expose DISABLE_IDLE_TASKS and DISABLE_FAILING_TASKS separately#2802

Open
jshearer wants to merge 1 commit intomasterfrom
agent/independently_control_disablement
Open

agent: expose DISABLE_IDLE_TASKS and DISABLE_FAILING_TASKS separately#2802
jshearer wants to merge 1 commit intomasterfrom
agent/independently_control_disablement

Conversation

@jshearer
Copy link
Contributor

Summary

  • Replaces DISABLE_ABANDONED_TASKS with two independent env vars: DISABLE_IDLE_TASKS and DISABLE_FAILING_TASKS, both defaulting to false
  • Allows enabling auto-disable for idle tasks (30d no data movement) without also auto-disabling chronically failing tasks, and vice versa

Context

Discussion about abandoned task tracking surfaced that many chronically failing tasks are still actively moving data, and the upshot is that we should be able to enable idle-task disablement independently while we work on improving shard failure alerting before acting on chronically failing tasks.

@jshearer jshearer force-pushed the agent/independently_control_disablement branch from b3bcf33 to 107bf68 Compare March 23, 2026 20:41
@jshearer jshearer requested a review from a team March 23, 2026 20:42
@jshearer jshearer force-pushed the agent/independently_control_disablement branch from 107bf68 to 1cabb8d Compare March 24, 2026 13:45
The single `DISABLE_ABANDONED_TASKS` env var prevented turning on auto-disable for idle tasks without also enabling it for chronically failing tasks. Replaces it with `DISABLE_IDLE_TASKS` and `DISABLE_FAILING_TASKS` so each can be enabled independently.
@jshearer jshearer force-pushed the agent/independently_control_disablement branch from 1cabb8d to 1d51882 Compare March 24, 2026 21:52
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