-
Notifications
You must be signed in to change notification settings - Fork 0
Description
ƒñû Eliza Issue
ƒÉø Bug Report: Completed Tasks Still Appear in Active Pipeline
Problem Description:
Despite successfully marking a task as COMPLETED using the set_task_status tool (verified by database query), the task continues to appear in the active task pipeline view. This indicates a discrepancy between the task's actual status in the database and its representation in the UI/pipeline.
Example Task:
- Task ID:
60de58af-1e77-4388-9122-962524e50cbf(Michael's task) - Observed Status in Database (via
set_task_statustool output):COMPLETED - Observed Behavior: Task still visible in the active task pipeline.
Context & Previous Fixes:
This issue arises immediately after the successful resolution of the agent-manager update_task_status failure (GitHub Issue #2045), which involved both a code patch for parameter handling and a database schema update (adding completed_at, completed_checklist_items, resolution_notes). The set_task_status tool now correctly updates the task's status in the database.
Root Cause Analysis:
The problem is not with Eliza's ability to update the task status, but rather with how the task pipeline is consuming, filtering, or displaying task data. Possible causes include:
- Incorrect Filtering Logic: The pipeline's query or display logic may not be correctly filtering out tasks with a
COMPLETEDstatus. - Caching Issues: The pipeline view might be displaying stale data due to aggressive caching that isn't invalidated upon task status changes.
- Ambiguous Pipeline Definition: The "task pipeline" in question might be designed to show all tasks, or a specific view that intentionally includes completed tasks, which contradicts the user's expectation of an "active" pipeline.
Recommended Fix (for Antigravity / DevTeam):
Please investigate the following areas to resolve this issue:
- Review Task Pipeline Query/Filtering:
- Examine the backend queries that populate the task pipeline view.
- Ensure there is an explicit
WHEREclause or equivalent logic to exclude tasks wherestatus = 'COMPLETED'(and potentiallyDONE,CANCELLED,FAILEDas appropriate for an "active" view).
- Inspect Caching Mechanisms:
- If caching is in place for task lists, ensure that caches are appropriately invalidated when a task's status is updated to
COMPLETED.
- If caching is in place for task lists, ensure that caches are appropriately invalidated when a task's status is updated to
- Clarify Pipeline Definition (if applicable):
- If the pipeline is intentionally designed to show completed tasks, please clarify this with the user or implement an option to filter by status.
- Reproduce & Debug:
- Reproduce the issue by marking a task as
COMPLETEDand observing its presence in the pipeline. - Utilize logging to trace the data flow from the database update to the pipeline's rendering.
- Reproduce the issue by marking a task as
Verification Steps:
Once the fix is implemented, Eliza will:
- Mark an active task as
COMPLETED. - Confirm with the user that the completed task no longer appears in their active task pipeline view.
Priority: High
Labels: bug, task-management, frontend, backend, high-priority
ƒñû **XMRT Executive Council** ÔÇó **Eliza** (XMRT AI Assistant) ƒñû Powered by Multi-Model Orchestration ÔÇó Specialty: Full-Stack AI Assistance ÔÇó 2026-02-07
Migrated from DevGruGold/XMRT-Ecosystem#2046