Skip to content

chore(studio): move AgentPanel components to AgentDetailRoute; remove dead panel UI - #1061

Merged
nv-odrulea merged 6 commits into
mainfrom
od/studio-agent-detail-cleanup
Aug 6, 2026
Merged

chore(studio): move AgentPanel components to AgentDetailRoute; remove dead panel UI#1061
nv-odrulea merged 6 commits into
mainfrom
od/studio-agent-detail-cleanup

Conversation

@nv-odrulea

@nv-odrulea nv-odrulea commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Stacked PR — depends on #1060 (od/studio-agents-sample-ux). Retarget to main after that merges.

Summary

The AgentPanel side-panel UI was superseded by the tabbed AgentDetailRoute. This cleans up the leftovers:

  • Moves live components from sidePanels/AgentPanels/AgentPanel/ to routes/agents/AgentDetailRoute/: ChatPlaygroundContent, DeploymentLogsView, Coachmark, WalkthroughCoachmarks, walkthrough, walkthroughStorage, helpers, NoHealthyDeploymentsBanner, constants
  • Renames useAgentPaneluseAgentDetails; wires walkthrough coachmarks into AgentDetailRoute with updated tab names (agent-detailsdeployments, chat-playgroundchat)
  • Removes dead panel UI: AgentPanel index, AgentDetailsContent, types.ts, test files
  • EvaluationsTab: shows eval kind in parentheses next to job name; moves date right under the status chip; adds "Eval Config:" prefix

Summary by CodeRabbit

  • New Features

    • Added deployment log viewing with live updates, retry handling, and downloadable logs.
    • Added deployment guidance with status messaging and deploy actions when no healthy deployment is available.
    • Added an interactive agent-detail walkthrough with coachmarks and progress steps.
  • Improvements

    • Consolidated agent details, chat, deployments, evaluations, and logs into the agent detail experience.
    • Improved evaluation listings with clearer types, configurations, statuses, timestamps, and navigation.
    • Updated walkthrough behavior and session persistence for the new agent-detail tabs.

@github-actions github-actions Bot added the chore label Aug 4, 2026
@nv-odrulea
nv-odrulea marked this pull request as ready for review August 4, 2026 18:34
@nv-odrulea
nv-odrulea requested review from a team as code owners August 4, 2026 18:34
@nv-odrulea
nv-odrulea force-pushed the od/studio-agents-sample-ux branch 3 times, most recently from 595d8eb to 449c9b0 Compare August 5, 2026 04:20
@nv-odrulea
nv-odrulea force-pushed the od/studio-agent-detail-cleanup branch from 263a551 to cb96e3b Compare August 5, 2026 17:24
@nv-odrulea
nv-odrulea force-pushed the od/studio-agents-sample-ux branch 2 times, most recently from a0e5b98 to eda2644 Compare August 5, 2026 22:20
Base automatically changed from od/studio-agents-sample-ux to main August 6, 2026 02:40
@nv-odrulea
nv-odrulea force-pushed the od/studio-agent-detail-cleanup branch from cb96e3b to f8f8673 Compare August 6, 2026 05:41
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8de13953-3b4b-4562-a3ce-71a7e3ce048b

📥 Commits

Reviewing files that changed from the base of the PR and between f2d5603 and 75bd4c0.

📒 Files selected for processing (20)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/ChatPlaygroundContent.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/Coachmark.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/NoHealthyDeploymentsBanner.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/WalkthroughCoachmarks.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/constants.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/helpers.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.ts
  • web/packages/studio/src/routes/agents/AgentsListRoute/CreateExampleAgentModal/index.tsx
💤 Files with no reviewable changes (5)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
🚧 Files skipped from review as they are similar to previous changes (15)
  • web/packages/studio/src/routes/agents/AgentDetailRoute/WalkthroughCoachmarks.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentsListRoute/CreateExampleAgentModal/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/ChatPlaygroundContent.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/constants.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/NoHealthyDeploymentsBanner.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/Coachmark.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/helpers.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx

📝 Walkthrough

Walkthrough

The agent detail UI moves from deleted side-panel components to route-local components. The route adds streamed deployment logs, evaluator-job data, and walkthrough coachmarks with session storage.

Changes

Agent detail route migration

Layer / File(s) Summary
Route-local deployment views
web/packages/studio/src/routes/agents/AgentDetailRoute/...
The route adds deployment banners, status mapping, deployment selection, and streamed deployment logs.
Evaluator job integration
web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts, web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx
Agent details use evaluator-job queries, normalized evaluation rows, recent-evaluation limits, and job-ID routes.
Walkthrough state and coachmarks
web/packages/studio/src/routes/agents/AgentDetailRoute/Coachmark.tsx, web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts, web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.ts, web/packages/studio/src/routes/agents/AgentDetailRoute/WalkthroughCoachmarks.tsx
The walkthrough uses route-local storage, updated tab names, positioned coachmarks, and accessible tour cards.
Agent detail route wiring
web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx, web/packages/studio/src/routes/agents/AgentsListRoute/CreateExampleAgentModal/index.tsx
The route uses useAgentDetails, tracks walkthrough state, attaches target refs, and renders coachmarks. The example-agent modal imports the relocated storage utilities.

Sequence Diagram(s)

sequenceDiagram
  participant AgentDetailRoute
  participant DeploymentLogsView
  participant DeploymentLogsAPI
  participant LogViewer
  AgentDetailRoute->>DeploymentLogsView: render selected deployment
  DeploymentLogsView->>DeploymentLogsAPI: fetch recent logs
  DeploymentLogsAPI-->>DeploymentLogsView: return log entries
  DeploymentLogsView->>DeploymentLogsAPI: open authenticated SSE stream
  DeploymentLogsAPI-->>DeploymentLogsView: stream log events
  DeploymentLogsView->>LogViewer: render composed logs
Loading

Possibly related PRs

Suggested reviewers: steramae-nvidia

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the move to AgentDetailRoute and removal of obsolete AgentPanel UI.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch od/studio-agent-detail-cleanup

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts (1)

24-28: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Add an explicit result interface.

useAgentDetails is an exported complex API. Declare UseAgentDetailsResult and annotate the hook return type.

As per coding guidelines, “use explicit return types for public APIs and complex functions.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`
around lines 24 - 28, Define an exported UseAgentDetailsResult interface
describing the value returned by useAgentDetails, then annotate the hook’s
return type with it. Update the useAgentDetails declaration while preserving its
existing returned shape and behavior.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx`:
- Around line 119-166: Reset streamedLines when tailOffset changes, in addition
to deploymentName, so stale-query results are not appended to existing streamed
entries. Update the relevant clearing useEffect before the stream-opening
effect; preserve the existing stream initialization and cleanup behavior.
- Around line 53-61: Update the deployment-selection effect to reconcile stale
controlled selections: when isControlled is true and selectedDeploymentName is
not present in sortedDeployments, call onSelectDeployment with the newest
available deployment (sortedDeployments[0]?.name). Preserve the existing
internalName synchronization for uncontrolled mode and avoid invoking the
callback when the controlled selection remains valid.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`:
- Around line 66-71: Update the evaluator-job query around fetchEvaluatorJobs so
it requests only the current agent’s recent evaluations through a server-side
agent filter or bounded endpoint, rather than fetching every workspace page and
filtering locally. Preserve the RECENT_EVAL_LIMIT behavior for the rendered
results and use the existing agentName/workspace query context.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts`:
- Line 18: Update the walkthrough label returned by the selectedTab check in the
walkthrough logic from “Chat Playground” to “Chat”, while preserving the
existing chat-tab targeting behavior.

---

Outside diff comments:
In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`:
- Around line 24-28: Define an exported UseAgentDetailsResult interface
describing the value returned by useAgentDetails, then annotate the hook’s
return type with it. Update the useAgentDetails declaration while preserving its
existing returned shape and behavior.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8551dac2-5498-447b-9b87-68caca422a1a

📥 Commits

Reviewing files that changed from the base of the PR and between 747fe9f and f8f8673.

📒 Files selected for processing (20)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/ChatPlaygroundContent.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/Coachmark.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/NoHealthyDeploymentsBanner.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/WalkthroughCoachmarks.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/constants.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/helpers.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.ts
  • web/packages/studio/src/routes/agents/AgentsListRoute/CreateExampleAgentModal/index.tsx
💤 Files with no reviewable changes (5)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts (1)

24-28: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Add an explicit result interface.

useAgentDetails is an exported complex API. Declare UseAgentDetailsResult and annotate the hook return type.

As per coding guidelines, “use explicit return types for public APIs and complex functions.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`
around lines 24 - 28, Define an exported UseAgentDetailsResult interface
describing the value returned by useAgentDetails, then annotate the hook’s
return type with it. Update the useAgentDetails declaration while preserving its
existing returned shape and behavior.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx`:
- Around line 119-166: Reset streamedLines when tailOffset changes, in addition
to deploymentName, so stale-query results are not appended to existing streamed
entries. Update the relevant clearing useEffect before the stream-opening
effect; preserve the existing stream initialization and cleanup behavior.
- Around line 53-61: Update the deployment-selection effect to reconcile stale
controlled selections: when isControlled is true and selectedDeploymentName is
not present in sortedDeployments, call onSelectDeployment with the newest
available deployment (sortedDeployments[0]?.name). Preserve the existing
internalName synchronization for uncontrolled mode and avoid invoking the
callback when the controlled selection remains valid.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`:
- Around line 66-71: Update the evaluator-job query around fetchEvaluatorJobs so
it requests only the current agent’s recent evaluations through a server-side
agent filter or bounded endpoint, rather than fetching every workspace page and
filtering locally. Preserve the RECENT_EVAL_LIMIT behavior for the rendered
results and use the existing agentName/workspace query context.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts`:
- Line 18: Update the walkthrough label returned by the selectedTab check in the
walkthrough logic from “Chat Playground” to “Chat”, while preserving the
existing chat-tab targeting behavior.

---

Outside diff comments:
In `@web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts`:
- Around line 24-28: Define an exported UseAgentDetailsResult interface
describing the value returned by useAgentDetails, then annotate the hook’s
return type with it. Update the useAgentDetails declaration while preserving its
existing returned shape and behavior.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8551dac2-5498-447b-9b87-68caca422a1a

📥 Commits

Reviewing files that changed from the base of the PR and between 747fe9f and f8f8673.

📒 Files selected for processing (20)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/ChatPlaygroundContent.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/Coachmark.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/NoHealthyDeploymentsBanner.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/WalkthroughCoachmarks.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/constants.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/helpers.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/useAgentDetails.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthrough.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.test.ts
  • web/packages/studio/src/routes/agents/AgentDetailRoute/walkthroughStorage.ts
  • web/packages/studio/src/routes/agents/AgentsListRoute/CreateExampleAgentModal/index.tsx
💤 Files with no reviewable changes (5)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/walkthrough.test.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/types.ts
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/AgentDetailsContent.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.test.tsx
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/index.tsx
🛑 Comments failed to post (2)
web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx (2)

53-61: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Reconcile invalid controlled selections.

When the selected deployment is deleted, selectedDeploymentName remains controlled and stale. The view then requests logs for the deleted deployment until the user selects another item.

If the controlled name is absent from sortedDeployments, call onSelectDeployment with the newest available deployment.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx`
around lines 53 - 61, Update the deployment-selection effect to reconcile stale
controlled selections: when isControlled is true and selectedDeploymentName is
not present in sortedDeployments, call onSelectDeployment with the newest
available deployment (sortedDeployments[0]?.name). Preserve the existing
internalName synchronization for uncontrolled mode and avoid invoking the
callback when the controlled selection remains valid.

119-166: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Clear streamed lines when the tail query advances.

A stale-query refetch can return entries already present in streamedLines. Lines 165 then append those entries again, so the viewer and download contain duplicates.

Reset streamedLines when tailOffset changes, before opening the replacement stream.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentLogsView.tsx`
around lines 119 - 166, Reset streamedLines when tailOffset changes, in addition
to deploymentName, so stale-query results are not appended to existing streamed
entries. Update the relevant clearing useEffect before the stream-opening
effect; preserve the existing stream initialization and cleanup behavior.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 31260/39870 78.4% 62.8%
Integration Tests 18205/37822 48.1% 20.6%

nv-odrulea and others added 6 commits August 6, 2026 00:06
… dead panel UI

The AgentPanel side-panel UI was superseded by the tabbed AgentDetailRoute.
This cleans up the leftovers:

- Moves live components (ChatPlaygroundContent, DeploymentLogsView, Coachmark,
  WalkthroughCoachmarks, walkthrough, walkthroughStorage, helpers,
  NoHealthyDeploymentsBanner, constants) from sidePanels/AgentPanels/AgentPanel/
  to routes/agents/AgentDetailRoute/ where they actually belong
- Renames useAgentPanel -> useAgentDetails; wires walkthrough coachmarks into
  AgentDetailRoute (tab names updated: agent-details->deployments,
  chat-playground->chat)
- Removes dead panel UI: AgentPanel index, AgentDetailsContent, types, test files
- EvaluationsTab: shows eval kind in parens next to job name; moves date under
  status chip; adds "Eval Config:" prefix

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
walkthrough.ts was moved to AgentDetailRoute/ with updated tab names;
delete the stale copy which imported the deleted types.ts.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
…location

WalkthroughCoachmarks was moved to AgentDetailRoute/; delete the copy
that remained at sidePanels/AgentPanels/AgentPanel/.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
The move commit copied nine files to routes/agents/AgentDetailRoute/ without
removing the originals, leaving both copies compiling. Deletes the stale
components/sidePanels/AgentPanels/ tree and repoints CreateExampleAgentModal
at the new walkthroughStorage location.

Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
@nv-odrulea
nv-odrulea force-pushed the od/studio-agent-detail-cleanup branch from 1a21276 to 75bd4c0 Compare August 6, 2026 07:09
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@nv-odrulea
nv-odrulea enabled auto-merge August 6, 2026 07:09
@nv-odrulea
nv-odrulea added this pull request to the merge queue Aug 6, 2026
Merged via the queue into main with commit a1b7051 Aug 6, 2026
54 checks passed
@nv-odrulea
nv-odrulea deleted the od/studio-agent-detail-cleanup branch August 6, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants