diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 20:40:02 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 20:40:02 +0000 |
| commit | 8777bf226529f45a1c29b3e63ba8efee916e1726 (patch) | |
| tree | cf0d6f8cd0f0b030bbd20fe5807dbd24642450df /web/test/active-tasks-tab.test.mjs | |
| parent | 1f36e2312d316969db65a601ac7d9793fbc3bc4c (diff) | |
storage: enforce valid state transitions in UpdateTaskState
UpdateTaskState now validates the transition using ValidTransition inside
a transaction. Invalid transitions return an error rather than blindly
updating. Tests for retry-limit and running-task-rejection test setup
are updated to create tasks with the target state directly via CreateTask
to bypass the transition guard in setup code.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/test/active-tasks-tab.test.mjs')
0 files changed, 0 insertions, 0 deletions
