Skip to content

refactor: migrate 10 more flags off FEATURES-as-dict (batch 6)#38903

Draft
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-6
Draft

refactor: migrate 10 more flags off FEATURES-as-dict (batch 6)#38903
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-6

Conversation

@feanil

@feanil feanil commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates 10 more feature flags off settings.FEATURES['X'] dict-style access onto flat settings (settings.X) with @override_settings(X=Y) in tests. Follows the pattern established in #38772.

Each commit migrates a single flag:

  • ENABLE_PREREQUISITE_COURSES
  • ENABLE_DISCUSSION_HOME_PANEL
  • ENABLE_COURSE_HOME_REDIRECT
  • DISPLAY_COURSE_MODES_ON_DASHBOARD (also adds the flag + annotation to openedx/envs/common.py)
  • ENABLE_VERIFIED_CERTIFICATES
  • ENABLE_ENROLLMENT_TRACK_USER_PARTITION
  • AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING
  • ENABLE_INSTRUCTOR_BACKGROUND_TASKS
  • ENABLE_ENROLLMENT_RESET
  • DISABLE_SET_JWT_COOKIES_FOR_TESTS

@feanil
feanil force-pushed the feanil/features-dict-batch-6 branch 3 times, most recently from eeee769 to 7f7db06 Compare July 18, 2026 01:28
@feanil
feanil force-pushed the feanil/features-dict-batch-6 branch from 7f7db06 to 70ae384 Compare July 18, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant