Conversation
…bring back Create PR bulk edits
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Bulk agent mutation applies to all projects, not selected
- Filtered the projects array to only include selected projects (matching projectIds) before passing to bulkMutateSelectedAgent, consistent with the Create PRs dropdown pattern.
Or push these changes by commenting:
@cursor push cbb2a94d34
Preview (cbb2a94d34)
diff --git a/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx b/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx
--- a/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx
+++ b/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx
@@ -148,7 +148,10 @@
key: typeof value === 'object' ? value.provider : value,
label,
onAction: () => {
- bulkMutateSelectedAgent(projects, value);
+ const selectedProjects = projects.filter(project =>
+ projectIds.includes(project.id)
+ );
+ bulkMutateSelectedAgent(selectedProjects, value);
},
})) ?? []
}This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7a89eef. Configure here.
static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx
Outdated
Show resolved
Hide resolved
static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableHeader.tsx
Show resolved
Hide resolved
scttcper
approved these changes
Apr 6, 2026
The Agent dropdown in the bulk-edit header was passing the full projects prop to bulkMutateSelectedAgent, causing the agent change to apply to all projects in the table view rather than only the user's checkbox selections. Filter projects by projectIds (which already resolves selectedIds === 'all' to all project IDs, or uses the specific selected IDs) to match the behavior of the Create PRs bulk-edit dropdown. Co-Authored-By: Claude Sonnet 4 <noreply@example.com>
george-sentry
pushed a commit
that referenced
this pull request
Apr 9, 2026
…bring back Create PR bulk edits (#112249) <img width="279" height="198" alt="SCR-20260403-oruo" src="https://github.com/user-attachments/assets/c8b49017-40fe-49ec-aa47-d364ed9b4d8c" /> --------- Co-authored-by: Claude Sonnet 4 <noreply@example.com>
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.


Uh oh!
There was an error while loading. Please reload this page.