Skip to content

Feature: Update Engine to cap the agent execution time#357

Merged
camfairchild merged 1 commit intomainfrom
feat/limit_each_problem_execution_to_1_hour
May 1, 2026
Merged

Feature: Update Engine to cap the agent execution time#357
camfairchild merged 1 commit intomainfrom
feat/limit_each_problem_execution_to_1_hour

Conversation

@jmnmv12
Copy link
Copy Markdown
Contributor

@jmnmv12 jmnmv12 commented Apr 30, 2026

Changelog

This PR forwards the existing running_agent_timeout_seconds variable, defined by the validators, to the ExecutionEngine.

This way, if a task definition does not specify a agent_timeout_sec the ExecutionEngine will fallback to the value defined by the validator. This also allows us to set harder limits at the validator, e.g. task definition has an agent timeout of 30 minutes, but the validator defines a timeout of 15 minutes -> the ExecutionEngine will always pick the lowest value.

This behaviour can be configured by editing the environment variable VALIDATOR_RUNNING_AGENT_TIMEOUT_SECONDS on the validator.

@camfairchild camfairchild merged commit 005deb3 into main May 1, 2026
2 checks passed
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.

3 participants