Repository navigation
fix: declare gallery prose questions as message obligations - #4590
Merged
Merged
Conversation
After #4366 made lf-ask a frame for answering widgets, both gallery photo replies still used its removed prose-only form. Keep the question in the message text and declare obligation: true, preserving the unanswered question after the later agent reply. Extend the seed admission test to submit message obligations as well as markup. Closes #4455
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.
The photo-question seeds in the feature and thread-panel galleries still used prose-only
lf-askmarkup after #4366 made it a frame for answering widgets. Both seeds now put the same question in their message text withobligation: true, so the question remains on On me after the later agent reply without weakening validation. On screen, the question moves into the message above its photo and uses the message's Waiting on me state.The existing seed-admission test now submits messages carrying obligations as well as markup through
thread reply, including their actual text. It failed on current main, then exposed the second gallery's identical failure after the first seed was corrected; it passes with both fixes. The focused reply-declaration and question-settlement tests also pass (3 tests total). Python compilation andgit diff --checkpassed; Ruff was unavailable in this environment.Closes #4455 — automated triage