YAML values like '1.0' (unquoted) parse as double, not String.
Changed parseStringList to use string interpolation ('$e') instead
of 'e as String', so numeric YAML scalars in labels/milestones
don't crash ticket parsing.
Also quote all '1.0' label values in existing ticket files so they
are unambiguously strings in YAML.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
666 B
666 B
| id | title | type | created | milestones | labels | |||
|---|---|---|---|---|---|---|---|---|
| DEW-0026 | Expand MCP server tool registration tests | task | 2026-04-25T19:53:14.810785Z |
|
|
The MCP serve command and server startup are not covered by tests. Extend packages/mcp/test/mcp_test.dart:
- McpServer registers all expected tool names (currently partially tested — confirm all 14 kanban tools are present)
- Tool schemas have correct required fields (e.g. kanban_create_ticket requires
title) - Tool handlers return expected shape (mock TicketStore, call handler, verify output)
Reference packages/mcp/lib/src/dew_mcp_server.dart and the DewToolCommand mixin in dew_core.