Skip to content

Unexpected warning/error message when running sub-recipe and user enters CTRL+C #3553

@lifeizhou-ap

Description

@lifeizhou-ap

Describe the bug
When Goose runs recipe with sub-recipe, it should handle CTRL+C gracefully without showing unexpected warning/error message

To Reproduce
Steps to reproduce the behavior:
1: user runs a recipe with sub-recipes.
2: user enters CTRL+C
3. user see a warning message "WARN goose::agents::subagent_execution_tool::task_execution_tracker: Failed to send tasks update notification: channel close"
4. If the user runs the recipe in interactive mode, user will also see an error message "ERROR goose::agents::subagent_execution_tool::workers: Worker failed to send result: channel closed"

Expected behaviour
Should not see the error/warning message. Goose should handle CTRL+C gracefully.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions