Skip to content

feat(seer): Setup Agent bulk-edit on the Seer Autofix list page, and bring back Create PR bulk edits#112249

Merged
ryan953 merged 3 commits intomasterfrom
ryan953/seer-autofix-bulk-agent-edit
Apr 7, 2026
Merged

feat(seer): Setup Agent bulk-edit on the Seer Autofix list page, and bring back Create PR bulk edits#112249
ryan953 merged 3 commits intomasterfrom
ryan953/seer-autofix-bulk-agent-edit

Conversation

@ryan953
Copy link
Copy Markdown
Member

@ryan953 ryan953 commented Apr 3, 2026

SCR-20260403-oruo

@ryan953 ryan953 requested review from a team as code owners April 3, 2026 23:41
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 3, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

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.

Create PR

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.

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>
@ryan953 ryan953 merged commit a85469a into master Apr 7, 2026
67 of 68 checks passed
@ryan953 ryan953 deleted the ryan953/seer-autofix-bulk-agent-edit branch April 7, 2026 15:23
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants