refactor: remove canViewAutofixFlow feature flag usage#3746
Merged
rohitpaulk merged 1 commit intomainfrom Feb 12, 2026
Merged
Conversation
Remove the canViewAutofixFlow flag from feature-flags service and all consuming code in course stage instructions controller and test results bar component. Simplify test status update handling by always collapsing the test results bar on passed tests and expanding on evaluating status when appropriate, without conditional feature flag checks. This cleanup removes dead code and streamlines feature flag usage.
Bundle ReportChanges will decrease total bundle size by 169.94kB (-0.43%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: client-array-pushAssets Changed:
Files in
Files in
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
Remove the canViewAutofixFlow flag from feature-flags service and all
consuming code in course stage instructions controller and test results
bar component. Simplify test status update handling by always collapsing
the test results bar on passed tests and expanding on evaluating status
when appropriate, without conditional feature flag checks. This cleanup
removes dead code and streamlines feature flag usage.
Note
Low Risk
Small refactor removing a dead feature-flag gate; behavior changes are limited to when the Autofix tab and test-results-bar auto-expand/collapse logic triggers.
Overview
Removes the
canViewAutofixFlowcomputed flag fromFeatureFlagsServiceand drops all injections/usages offeatureFlagsin the course stage instructions controller andTestResultsBar.Autofix UI is now shown whenever an
autofixRequestForActiveStepexists (instead of being feature-flag gated), and test status handling is simplified to always collapse the results bar onpassed(with scroll-to-top) and expand onevaluatingfor non-system submissions.Written by Cursor Bugbot for commit 7d5c7dc. This will update automatically on new commits. Configure here.