Repository navigation
test: resolve the thread instead of ending its pick in the envelope-growth journey - #6185
Merged
Merged
Conversation
…rowth journey #6106 removed the agent's `todo_end` on a question; it now ends a question the user answered in words by resolving the thread. The journey still ended each pick with `task end widget:wN`, which admission refuses, so it failed before measuring anything. It now resolves the thread each turn, and the user's next reply reopens it. The behavior the test protects, a delivery's thread digest staying flat as the thread grows, is unchanged. Closes #6174
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.
test_the_envelope_stops_growing_with_the_threadhas failed since #6106, which removed the agent's way of ending a question (todo_endonwidget:wNis now refused) and directs it to resolve the question's thread instead. The journey still ended each answered pick withtask end, so admission raisedEventRefusedon the first turn. It now resolves the thread withthread.cmd_resolve, as the delivery tells the agent to; the user's next reply reopens it. What the test protects — a delivery's thread digest staying flat across 30 exchanges, with the opening message kept and 52 elided — is unchanged.Run by node id, the test fails on
main(f1b367375) with the refusal and passes with this change; the file's other two tests also pass.Closes #6174 — automated triage