Debug panel: list the task queue #76

Closed
opened 2026-09-07 20:37:25 +01:00 by liamjd · 1 comment
Owner

Part of milestone #5. Depends on #67.

The task system's behaviour is mostly invisible; the headless suite proves the logic but a running game needs a window into the queue.

AC:

  • When debug mode is on, the debug layer lists every task: id, type, status, priority, target cell, assignee
  • Updates on the manager's signals rather than polling every frame
  • Sorted in the same order next_for would consider them, so the display is a check on the selection policy
  • Cancelled and completed tasks drop off after a short delay or are shown greyed; decide and note in the PR
Part of milestone #5. Depends on #67. The task system's behaviour is mostly invisible; the headless suite proves the logic but a running game needs a window into the queue. AC: - When debug mode is on, the debug layer lists every task: id, type, status, priority, target cell, assignee - Updates on the manager's signals rather than polling every frame - Sorted in the same order `next_for` would consider them, so the display is a check on the selection policy - Cancelled and completed tasks drop off after a short delay or are shown greyed; decide and note in the PR
Author
Owner

This was largely completed during #75. Didn't worry about the ordering. Completed tasks are removed from the list.

This was largely completed during #75. Didn't worry about the ordering. Completed tasks are removed from the list.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
liamjd/UntitledColonyBuilder#76
No description provided.