You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(dashboard): agent status reports empty recentTasks and activityTimeline it never measured #21270
get_agent_statuses() in autobot-backend/services/agent_org_service.py returns recentTasks: [] and activityTimeline: [] for every agent. No source feeds them, so the Agent Activity widget shows "no recent tasks" and an empty timeline as if it had measured them. It cannot tell "nothing happened" from "not measured". This is the same class #17514 fixed for tasksCompleted, uptime, successRate and currentTask (now absent or None, rendered as not reported).
Closure check, 2026-11-12 (Riga), against merged main. PR #21277 landed via train #21382, merge commit 6199adc. The issue was closed by Closes #21270; all four ACs are now ticked with code evidence, so it stays closed.
AC
Status
Evidence
recentTasks / activityTimeline are real data or None, never a placeholder []
Met
autobot-backend/services/agent_activity_feed.py: get_agent_feeds (:127) returns None for an unreadable store and for agents past the cap; used by services/agent_org_service.py:149 and api/agent_org.py:153; model schemas_agent.py:1116-1117 is List[...] | None = None
Widget: "not reported" for None, "no recent tasks" only for a measured empty list
Met
autobot-frontend/src/components/visualizations/AgentActivityVisualization.vue:160 (activityTimeline == null) and :254 (recentTasks == null picks notReported else noRecentTasks); keys at src/i18n/locales/en.json:7492,7501
Activity
fix(dashboard): one strict history reader, batched feeds, per-record …
chore(types): regenerate api.ts for activityWindowStart (#21270)
test(agent-activity): cover the timeline not-reported branch (#21270)
refactor(agent-activity): import TaskStatus from autobot_shared (#21270)
test(agent-activity): drive the real fallback route through the feed …
test(agents): pin the feed tests to a fixed clock and make the null-t…
fix(agents): skip feed records with overflowing or non-finite duratio…
fix(agents): validate duration via the helper, clamp negatives, summa…
github-actions commentedon Nov 12, 2026
Landed via the merge train (#21382, merge
6199adcab0) via #21277, #21374mrveiss commentedon Nov 12, 2026
Closure check, 2026-11-12 (Riga), against merged main. PR #21277 landed via train #21382, merge commit 6199adc. The issue was closed by
Closes #21270; all four ACs are now ticked with code evidence, so it stays closed.recentTasks/activityTimelineare real data orNone, never a placeholder[]autobot-backend/services/agent_activity_feed.py:get_agent_feeds(:127) returnsNonefor an unreadable store and for agents past the cap; used byservices/agent_org_service.py:149andapi/agent_org.py:153; modelschemas_agent.py:1116-1117isList[...] | None = NoneNone, "no recent tasks" only for a measured empty listautobot-frontend/src/components/visualizations/AgentActivityVisualization.vue:160(activityTimeline == null) and:254(recentTasks == nullpicksnotReportedelsenoRecentTasks); keys atsrc/i18n/locales/en.json:7492,7501None, measured empty[]), frontend (both states distinct)tests/unit/test_agent_activity_feed_21270.py:test_unreadable_store_is_none_not_empty,test_measured_empty_history_is_empty_lists;__tests__/AgentActivityVisualization.notReported.test.ts:83(null feeds) and:90(measured empty)src/types/generated/api.ts:58310-58317both feeds typed... | nullTicked 4 of 4. Not evidenced: the widget on a live install (host runs pre-update bundles, #21343); no AC requires it. Parent: #18242.
github-actions commentedon Nov 12, 2026
Landed via the merge train (#21374, merge
080095370b) via #21277fix(dashboard): agent feeds are measured or not reported (mrveiss#21270)
fix(dashboard): agent feeds are measured or not reported (mrveiss#21270)