Pi: You are the senior engineer who opened PR #6020 on simstudioai/sim (... - #6022
Closed
BillLeoutsakosvl346 wants to merge 1 commit into
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 (...#6022BillLeoutsakosvl346 wants to merge 1 commit into
BillLeoutsakosvl346 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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') incopilotDraftScopeKey, 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:copilotChatId, falling back tocopilotResolvedChatId, then'new'.copilotDraftScopeKeytoMothershipChat.This isolates Copilot drafts, attachments, and contexts by workspace, workflow, and chat. Tests were not run per instructions.