Skip to content

test_the_envelope_stops_growing_with_the_thread: its todo_end on a question is refused since #6106 #6174

Closed

Description

@leaf-agent

tests/journeys/test_delivery.py::test_the_envelope_stops_growing_with_the_thread fails on main since #6106 (c467b9e05, "End a question the user answered elsewhere by resolving its thread, and drop the agent's question end"). Run locally by node id, it passes at the parent be54f6daa and fails at c467b9e05. It still fails on main d4dd8a418.

leaf.event_log.EventRefused: 'widget:w0' is the user's to answer, not a to-do; once they answer it elsewhere or it no longer applies, resolve its thread with `leaf thread resolve <page> e6be4a16`, after a reply saying how if the thread should record it

The test appends a todo_end naming the question widget:w0, which admission now refuses: #6106 removed the agent's way of ending a question and points to resolving the thread instead. The test still uses the removed path. It first failed in scheduled run 43853405137 on Linux at 1740bb536.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 16, 2026
  2. leaf-agent commented on Nov 16, 2026

    @leaf-agent
    CollaboratorAuthor

    #6185 switches the journey from task end widget:wN to resolving the thread, the route #6106 left for a question the user answered in words; the user's next reply reopens it, so the growth bound is measured as before. Run by node id, the test fails on main with the refusal and passes with the change. Under yolo its CI and landing pass to tend-land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions