aglinxinyuan opened a new pull request, #6384:
URL: https://github.com/apache/texera/pull/6384

   ### What changes were proposed in this PR?
   
   Adds a Vitest/TestBed spec for `AgentPanelComponent` (previously ~6% 
covered, no spec): agent-list init/refresh, activation flows with ngOnChanges 
guards, panel open/minimize, onAgentCreated branches, tab selection/switching 
incl. workflow-mismatch warning, canSwitchToAgent, deletion flows, resize/drag 
handling, and panel-settings load/save — with template render passes (tabs, 
count, lock icons, close buttons). Child components (registration/chat) are 
stubbed; each has its own spec.
   
   ### Any related issues, documentation, discussions?
   
   Closes #6381.
   
   ### How was this PR tested?
   
   Added `agent-panel.component.spec.ts` (42 tests) mirroring the agent-chat 
spec's subject-backed MockAgentService harness. Verified locally with Vitest 
and CI's `format:ci` gate 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]

Reply via email to