[fix] Enable agent rename on the onboarding playground [AGE-3954]#5340
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe playground header now supports inline agent renaming when the current workflow is unavailable by resolving a persisted root workflow and artifact name. The inline name affordance also adds pointer styling, a rename tooltip, and hover opacity behavior. ChangesAgent naming flow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Railway Preview Environment
Updated at 2026-07-19T15:21:41.497Z |
Context
On a new workspace with no agents, the playground onboarding showed the agent name as a plain "Agent" label you could not rename. Double-clicking it only selected the text, so it looked editable but nothing happened. Renaming worked again after a reload, which is what made this read as a flaky regression.
The header resolved the agent only from
currentWorkflowAtom, which reads the app id out of the URL. Onboarding runs on the project-level playground route (/w/../p/../playground) with noapp_idsegment, so that atom returns null. The header then fell back to a static, non-editable label showing a hardcoded "Agent" string (not even the real agent name). Opening a saved agent at/apps/<id>/playgroundputs the id back in the URL, which is why a reload appeared to fix it.What to QA
/apps/<id>/playgroundand rename it. Behaves exactly as before.Preview