Skip to content

refactor(session): improve CLI error rendering and extract TaskErrorHints#301

Open
HaasStefan wants to merge 4 commits intovoidzero-dev:mainfrom
HaasStefan:master
Open

refactor(session): improve CLI error rendering and extract TaskErrorHints#301
HaasStefan wants to merge 4 commits intovoidzero-dev:mainfrom
HaasStefan:master

Conversation

@HaasStefan
Copy link
Copy Markdown
Collaborator

@HaasStefan HaasStefan commented Mar 27, 2026

  • Add structured error messages for task-not-found and nested-task-not-found
  • Show actionable 'Next steps' hints when tasks are missing
  • Extract TaskErrorHints struct from SessionConfig into CommandHandler trait
  • Add nested_missing_task() helper to vite_task_plan::Error

Closes #200

HaasStefan and others added 4 commits March 27, 2026 18:29
…ints

- Add structured error messages for task-not-found and nested-task-not-found
- Show actionable 'Next steps' hints when tasks are missing
- Extract TaskErrorHints struct from SessionConfig into CommandHandler trait
- Add nested_missing_task() helper to vite_task_plan::Error

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rendering

# Conflicts:
#	crates/vite_task_bin/src/main.rs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
--verbose after task name is captured as trailing arg, not as a flag,
so verbose details are not shown. This was a pre-existing fixture issue.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@HaasStefan HaasStefan requested a review from branchseer March 27, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prettify + make actionable vp run error output (missing task)

1 participant