Skip to content

chore(autofix): Clean up backend feature flags for autofix-on-explorer#111244

Merged
Zylphrex merged 2 commits intomasterfrom
txiao/chore/clean-up-backend-feature-flags-for-autofix-on-explorer
Mar 20, 2026
Merged

chore(autofix): Clean up backend feature flags for autofix-on-explorer#111244
Zylphrex merged 2 commits intomasterfrom
txiao/chore/clean-up-backend-feature-flags-for-autofix-on-explorer

Conversation

@Zylphrex
Copy link
Member

This allows access to the new autofix endpoints when any of the following flags are enabled

  • seer-explorer
  • autofix-on-explorer
  • autofix-on-explorer-v2

This allows access to the new autofix endpoints when any of the following flags
are enabled
- seer-explorer
- autofix-on-explorer
- autofix-on-explorer-v2
@Zylphrex Zylphrex requested a review from a team as a code owner March 20, 2026 19:57
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 20, 2026
@Zylphrex Zylphrex merged commit fcb7dbd into master Mar 20, 2026
62 of 63 checks passed
@Zylphrex Zylphrex deleted the txiao/chore/clean-up-backend-feature-flags-for-autofix-on-explorer branch March 20, 2026 20:36
Copy link
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 is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

# Access to seer explorer powered autofix
"organizations:autofix-on-explorer",
"organizations:autofix-on-explorer-v2",
]
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicated feature flag list across two files

Low Severity

The feature_names list (seer-explorer, autofix-on-explorer, autofix-on-explorer-v2) and the batch_has + iteration/any-check pattern are duplicated between _should_use_explorer in group_ai_autofix.py and has_seer_explorer_access_with_detail in client_utils.py. If a flag is added or removed, both locations must be updated in sync, which is error-prone. Extracting the list into a shared constant (and optionally a shared helper) would reduce maintenance burden.

Additional Locations (1)
Fix in Cursor Fix in Web

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

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants