aglinxinyuan opened a new pull request, #6340: URL: https://github.com/apache/texera/pull/6340
### What changes were proposed in this PR? Adds a Vitest/TestBed spec for `AgentChatComponent` (previously ~2.6% covered): workflow-polling wiring, auto-persist toggling, hovered-step advancement, HEAD-path filtering, isActive reload dedup, send-message guards, state→icon/tooltip maps, tool-result/operator-access helpers, system-info defaults + sorting, the five `save*` settings methods, operator-type toggle/filter, ReAct-step export, and template rendering (bubbles, spinners, disconnected banner, disabled send, system-info modal tabs). ### Any related issues, documentation, discussions? Closes #6337. ### How was this PR tested? Added `agent-chat.component.spec.ts` (52 tests) with a subject-backed AgentService mock and stubbed WorkflowActionService/NotificationService/WorkflowPersistService. Verified locally with Vitest (`ng test --watch=false --include=...`) and `eslint`/`prettier` clean. Test-only change — no production code is modified. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8 [1M context]) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
