Commit 1bbf2d3
committed
Add queue error handling and status reporting
Introduces structured error tracking for queue-level errors in SweepQueue, including a QueueError dataclass. Adds an is_queued flag to ProgressState and ensures it is set/cleared appropriately as sweeps are added or removed from the queue. Implements comprehensive status() and clear_error() methods for queue state reporting and recovery. Improves error handling for sweep and callable execution, and adds a kill_all() method to fully reset the queue.1 parent 654b271 commit 1bbf2d3
File tree
3 files changed
+366
-55
lines changed- src/measureit
- sweep
- tools
3 files changed
+366
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
| 607 | + | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
21 | 43 | | |
22 | 44 | | |
23 | 45 | | |
24 | 46 | | |
25 | 47 | | |
26 | 48 | | |
27 | 49 | | |
| 50 | + | |
28 | 51 | | |
29 | 52 | | |
30 | 53 | | |
0 commit comments