Repository navigation
fix(handler): restore usable configurable command deadlines - #349
Merged
Merged
Conversation
Eager evaluation in #347 accidentally made a five-second deadline cut off normal longer commands. The operator chose a configurable five-minute default. Read validated startup command.timeout.ms, retain shorter explicit limits and unchanged late-effect scope closure, and cover an actual command exceeding five seconds plus numeric/string configuration boundaries.
Member
Author
Production repair verified — 2026-11-12 UTCPR #347 caused two separate regressions: eager blocking/recursive evaluation inside
No failed meme/model/account request was automatically replayed. Fresh natural Discord behavior remains for operator feedback. The original app command-to-chart/inherited-agent feature is still unreleased; its retained U3 work was paused and preserved during this incident. |
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
Restore usable timing for longer commands after #347 made evaluation eager. The old lazy path did not apply its nominal five-second limit to full evaluation; eager evaluation began cutting off ordinary model and other longer-running commands.
The operator explicitly selected a configurable five-minute default, separately from #348's shared-dispatcher starvation repair.
command.timeout.ms/YETIBOT_COMMAND_TIMEOUT_MS, defaulting to 300,000 ms.Verification
Boundaries
No production config/credentials, permissions, provider/model selection, provider/tool socket timeouts, generation limits, call budgets, schema or updater changes. This is an overall evaluation deadline, not a spending cap or automatic retry. The original inherited-execution app feature is still unreleased.