diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-02-24 01:59:59 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-02-24 01:59:59 +0000 |
| commit | 8ee1fb5747e777f6e0672367148b2c8226f5a9d2 (patch) | |
| tree | 6fe21575c3d671f0bcf1ae52a87c4bb43bed981e /internal/task/task_test.go | |
| parent | 46ba3f5d560c88405ee93e68995740fd1207e663 (diff) | |
Add json tags to Task, ClaudeConfig, and RetryConfig structs
Without json tags, Go serialized fields with capitalized names (State,
CreatedAt, Name) but the UI expected snake_case (task.state,
task.created_at). This caused createTaskCard to throw TypeError when
tasks existed, which poll() caught and displayed as "Could not reach
server".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task/task_test.go')
0 files changed, 0 insertions, 0 deletions
