Repository navigation
feat(interaction): configure question and approval deadlines - #839
Merged
Merged
Conversation
hakula139
force-pushed
the
feat/ask-tool
branch
from
November 7, 2026 15:49
c0c712a to
6d03c31
Compare
hakula139
force-pushed
the
feat/interaction-timeouts
branch
from
November 7, 2026 15:56
e3a5a90 to
5682bd4
Compare
hakula139
force-pushed
the
feat/ask-tool
branch
from
November 7, 2026 16:12
0b36d7b to
23676b2
Compare
hakula139
force-pushed
the
feat/interaction-timeouts
branch
from
November 7, 2026 16:14
5682bd4 to
7d6a8a7
Compare
hakula139
force-pushed
the
feat/ask-tool
branch
from
November 7, 2026 16:28
4933a67 to
543dbe9
Compare
hakula139
force-pushed
the
feat/interaction-timeouts
branch
from
November 7, 2026 16:32
7d6a8a7 to
7b4738d
Compare
Deadline outcomes must remain distinguishable from entered user input, and late answers must not resolve the next prompt. Cover engine deadlines with paused Tokio time and match real modal closure to its request ID.
hakula139
force-pushed
the
feat/interaction-timeouts
branch
from
November 7, 2026 16:44
7b4738d to
7ece592
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
hakula139
marked this pull request as ready for review
November 7, 2026 16:58
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
Let user configuration limit how long TUI questions and permission approvals wait. Deadlines remain disabled until configured and measure total time from publication of the request.
The user-only
[interaction.questions]and[interaction.approvals]tables accept positivetimeout_secondsand anon_timeoutaction./configshows their resolved values and sources.Closes #832.
Test plan
cargo fmt --check,cargo build --locked, both Clippy modes, andcargo doc --locked --no-deps.cargo llvm-cov --locked: 3,356 tests passed, five live tests ignored, and 99.20% line coverage.pnpm format,pnpm lint, andpnpm spellcheck.After the review fixes, the focused question, approval, modal lifecycle, and dispatch tests passed, along with both Clippy modes and formatting. The shared engine test fixture boxes construction so its callers stay within the future-size lint on Windows. Its 19 login tests and both local Clippy modes passed. The full verification block above ran before these layout and message fixes.
Real model tests were not run.