Skip to content

Pi: You are the senior engineer who opened PR #6020 on simstudioai/sim (... - #6022

Closed
BillLeoutsakosvl346 wants to merge 1 commit into
stagingfrom
"pi/AHNfUroy"

Hidden character warning

The head ref may contain hidden characters: ""pi/AHNfUroy""
Closed

Pi: You are the senior engineer who opened PR #6020 on simstudioai/sim (...#6022
BillLeoutsakosvl346 wants to merge 1 commit into
stagingfrom
"pi/AHNfUroy"

Conversation

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor

Task

You are the senior engineer who opened PR #6020 on simstudioai/sim (branch ""pi/AHNfUroy"" into staging) for this eng-todo task:
<@U0BLD9VE2P4> do this

CI and/or the automated reviewers (GitHub Actions, Cursor Bugbot, Greptile) are not yet green. Address the following concrete feedback by committing to the SAME existing branch and pull request — do NOT open a new PR:

In apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx, include the active/resolved copilot chat ID (falling back to 'new') in copilotDraftScopeKey, so drafts, attachments, and contexts are isolated per chat rather than shared across the workflow.

IMPORTANT: If the feedback above is empty or only indicates that checks are still pending/running (nothing concrete to change), then make NO code changes and simply exit — a later round will re-check. Otherwise: read the relevant code first, make the SMALLEST correct change that follows existing codebase patterns, and do not add defensive code for unlikely scenarios. Rely on CI to re-run after you push; do not try to run the full test suite locally (the sandbox may lack bun/Biome/TypeScript).

Summary

Updated apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx:

  • Added the route workflow ID to the Copilot draft scope.
  • Included copilotChatId, falling back to copilotResolvedChatId, then 'new'.
  • Passed copilotDraftScopeKey to MothershipChat.

This isolates Copilot drafts, attachments, and contexts by workspace, workflow, and chat. Tests were not run per instructions.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 28, 2026 9:53pm

Request Review

@waleedlatif1
waleedlatif1 deleted the "pi/AHNfUroy" branch July 29, 2026 17:41
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.

1 participant