mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7337] [MERGED] feat(agents): show running and failed agents on the Agent activity icon #7688
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7688
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7337
Author: @SpicyMarinara
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/7322-agent-activity-status📝 Commits (2)
c7264fbfeat(agents): show running and failed agents on the Agent activity icon7704d18Merge origin/staging into feat/7322-agent-activity-status📊 Changes
12 files changed (+247 additions, -6 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/roleplay/getting-started.md(+2 -0)📝
e2e/chat-settings-tools.e2e.ts(+81 -0)➕
packages/client/src/components/agents/AgentActivityIcon.tsx(+50 -0)📝
packages/client/src/components/agents/AgentActivitySection.tsx(+16 -3)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+2 -1)📝
packages/client/src/components/chat/RoleplayTrackerWindow.tsx(+2 -1)📝
packages/client/src/features/tracker-panel/components/TrackerAgentActivitySection.tsx(+2 -1)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/client/src/stores/agent.store.ts(+17 -0)📝
packages/client/src/styles/globals.css(+6 -0)➕
scripts/regressions/agent-activity-status.regression.ts(+66 -0)📄 Description
Linked issue
Closes #7322
Why this change
What changed
AgentActivityIcon(packages/client/src/components/agents/AgentActivityIcon.tsx) wraps each surface's own Agent activity icon:processingChatIdsstate, no new polling), a spinner takes the icon's place and size. It stops spinning under reduced motion and stays a spinner shape.--marinara-app-accent-static, the same pattern as the Advanced Memory attention dot), so Accent Pulse never makes it flash.Activity), the Trackers window drawer (ListChecks) and the Tracker Panel section (Sparkles). Because the status is part of the icon, it also shows on a popped-out Agent activity window's title, its bubble and the phone Chat tools menu, on desktop and phone.RoleplayHUD): it followsfailedAgentTypes, so a new reply, a retry, Clear Trackers or a chat change clears it.AgentActivitySectionwatches itself with anIntersectionObserverwhile there are unseen failures, and marks them seen through a newfailedAgentsSeenflag inagent.store. Every later failure resets the flag. Seeing the failures never drops them, so Retry Failed Agents still works.withAgentActivityStatus(chatId, <Icon />), sochat-window-icons.regression.tsstill sees and checks each surface's own icon.docs/roleplay/getting-started.md, Agent activity) and the CHANGELOG mention the indicator. A[docs-i18n]follow-up issue tracks the translations.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks:
node ./scripts/run-regressions.mjs --filter agent-activity-status(new; a mutation that drops the reset on a later failure makes it fail),--filter chat-window-icons,--filter agent-progress,pnpm localization:check,pnpm check:e2e-typesandpnpm checkpassed. Playwright, desktop-chromium and mobile-chromium:e2e/chat-settings-tools.e2e.ts(including the new "the Agent activity icon shows running and failed agents until it is opened"),e2e/tracker-window.e2e.tsand thephone-bubbles.e2e.tstracker / "agents run" tests passed (16 passed, 8 skipped by their own project guards). mobile-webkit was not run locally. A throwaway Playwright script (not committed) also checked that on desktop the Trackers window's Agent activity, popped out and closed to a bubble, shows the spinner and the dot, and that opening the bubble clears the dot; the screenshots looked right. Local CodeRabbit (--committedagainst the staging merge base) finished with 0 findings.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.