fix(studio): Feedback on deployed agent deletion#57
Conversation
Signed-off-by: Henrique Tolentino <henrique.tolentino@gretel.ai>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDeleteConfirmationModal now accepts an optional ChangesAgent deletion error handling improvements
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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/components/dataViews/AgentsDataView/index.spec.tsx`:
- Around line 345-347: Update the test assertion to match the actual toast copy
emitted by the AgentsDataView component: change the expected text in the
assertion that checks errorToast (in index.spec.tsx) from 'Agent has active
deployments. Please delete all deployments before deleting.' to 'Agent has
active deployments. Please delete all deployments before deleting agent.' so the
test string exactly matches the message emitted by the AgentsDataView component
(index.tsx).
🪄 Autofix (Beta)
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: f40b81ba-1033-4b78-a152-5c32fff70731
📒 Files selected for processing (3)
web/packages/studio/src/components/DeleteConfirmationModal/index.tsxweb/packages/studio/src/components/dataViews/AgentsDataView/index.spec.tsxweb/packages/studio/src/components/dataViews/AgentsDataView/index.tsx
|
* Fix feedback on deployed agent deletion Signed-off-by: Henrique Tolentino <henrique.tolentino@gretel.ai> * Fix tests Signed-off-by: Henrique Tolentino <henrique.tolentino@gretel.ai> --------- Signed-off-by: Henrique Tolentino <henrique.tolentino@gretel.ai> Co-authored-by: Henrique Tolentino <henrique.tolentino@gretel.ai> Signed-off-by: Alex Ray <alray@nvidia.com>
Addresses https://nvbugspro.nvidia.com/bug/6221288
Summary by CodeRabbit
Bug Fixes
Improvements
Tests