task/testdata/prompt/testdata
Graham Dennis 94f82cbc5a
fix: make task failure errors include stack of running tasks (#2286)
Previously if a task was run as a dependency of another task,
the error message simply reported something like:

    exit status 1

It is desirable instead to name the root task and all child tasks in the tree
to the failing task.

After this PR, the error message will read:

    task: Failed to run task "root": task: Failed to run task "failing-task": exit status 1
2025-11-11 16:40:40 -03:00
..
TestPromptAssumeYes---yes_flag_should_skip_prompt.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptAssumeYes-task_should_raise_errors.TaskCancelledError-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPromptAssumeYes-task_should_raise_errors.TaskCancelledError.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_Enter_stops_task-test_Enter_stops_task-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPromptInSummary-test_Enter_stops_task-test_Enter_stops_task.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_junk_value_stops_task-test_junk_value_stops_task-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPromptInSummary-test_junk_value_stops_task-test_junk_value_stops_task.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_long_approval-test_long_approval.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_short_approval-test_short_approval.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_stops_task-test_stops_task-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPromptInSummary-test_stops_task-test_stops_task.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptInSummary-test_uppercase_approval-test_uppercase_approval.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00
TestPromptWithIndirectTask.golden refactor: unify how executor tests are written (#2042) 2025-03-31 17:53:58 +01:00