Skip to content

Comments

fix: use CLI session ID and correct URL in Cloud Agent feedback Slack notification#530

Open
kiloconnect[bot] wants to merge 1 commit intomainfrom
fix/cloud-agent-feedback-session-link
Open

fix: use CLI session ID and correct URL in Cloud Agent feedback Slack notification#530
kiloconnect[bot] wants to merge 1 commit intomainfrom
fix/cloud-agent-feedback-session-link

Conversation

@kiloconnect
Copy link
Contributor

@kiloconnect kiloconnect bot commented Feb 24, 2026

Problem

The "New Cloud Agent feedback" Slack notification included a session link pointing to /admin/cloud-agent/{sessionId}, which results in a 404.

Solution

  • Added cli_session_id to the Cloud Agent feedback input schema (optional field, used only for the Slack notification)
  • Updated FeedbackDialog to pass the CLI session ID (from currentDbSessionIdAtom) alongside the existing cloud agent session ID
  • Changed the Slack message link to point to /admin/session-traces?sessionId={cliSessionId}, which is the correct admin page for viewing session traces

Changes

  • src/routers/cloud-agent-next-feedback-router.ts: Added cli_session_id to input schema; updated Slack notification link URL
  • src/components/cloud-agent-next/FeedbackDialog.tsx: Import currentDbSessionIdAtom and pass CLI session ID in mutation

Built for Evgeny Shurakov by Kilo for Slack

… notification

The Slack notification for Cloud Agent feedback was linking to
/admin/cloud-agent/{sessionId} which results in a 404. Updated to:
- Accept cli_session_id in the feedback input schema
- Pass the CLI session ID (from currentDbSessionIdAtom) from FeedbackDialog
- Link to /admin/session-traces?sessionId={cliSessionId} in the Slack message
@kiloconnect
Copy link
Contributor Author

kiloconnect bot commented Feb 24, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/components/cloud-agent-next/FeedbackDialog.tsx - Adds currentDbSessionIdAtom import and passes cli_session_id to the feedback mutation. Dependency array correctly updated.
  • src/routers/cloud-agent-next-feedback-router.ts - Adds cli_session_id to input schema and updates Slack notification link to use the new session-traces admin page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants