Commit 0cd6442
committed
Add tests for todo completion, task duplication, and execution limits
- Implement test for finalizing a linked ready todo and ensuring it stays archived after task reconciliation refresh.
- Add test to verify that a local template task duplicates correctly when the stored fallback prompt is empty.
- Introduce test to check that deleting a task restores task and job state when persist fails.
- Add tests to ensure that executing due tasks and running tasks now skips tasks that are already in flight.
- Update todo completion tests to auto-dismiss inline confirm after 30 seconds and clear timers on cancel and confirm.
- Modify todo editor completion to use inline confirm with a 30-second reset.
- Enhance request handling for approve and finalize todo actions to confirm before dispatching.
- Ensure SQLite database writes through a temp-file rename instead of overwriting in place.
- Update types to include new message types for requestApproveTodo and requestFinalizeTodo.1 parent b63fecc commit 0cd6442
33 files changed
Lines changed: 2066 additions & 467 deletions
File tree
- .github/agents
- docs
- images
- media
- generated
- src
- test/suite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
32 | 47 | | |
33 | 48 | | |
34 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
0 commit comments