Repository navigation
Fix part of #6501: Introduce ADMIN_UNLOCK_CHAPTERS feature flag prototype for Alpha - #6523
Kishan8548 wants to merge 4 commits into
Conversation
…prototype for Alpha Adds an ADMIN_UNLOCK_CHAPTERS feature flag that bypasses chapter prerequisite locking on Alpha builds, allowing direct access to any lesson without completing prior ones. Does not modify actual learner progress data. Enabled by default for Alpha only as a prototype for team testing.
… feature flag order
|
Hi @Kishan8548, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
|
Hi Kishan, Screen_recording_20261109_124958.webm |
adhiamboperes
left a comment
There was a problem hiding this comment.
Thanks @Kishan8548! The feature flag setup looks good.
Please ensure that tests are added for TopicController and TopicFragment for the change. I am pretty sure some of the existing fragment tests are failing.
| remote_server_name: "android_enable_worked_examples" | ||
| default_is_enabled: false | ||
| } | ||
| feature_flag_definition { |
There was a problem hiding this comment.
I think you can remove the pace identifier from the flag name, just make it generic.
|
|
||
| // Corresponds to a feature that allows an admin profile to unlock chapters on Alpha for PACE | ||
| // pilot testing, without modifying actual learner progress. This is a prototype flag following | ||
| // Ben's suggestion to disable the chapter lock and observe what breaks. |
There was a problem hiding this comment.
Also make the comment generic. Assume this is permanent.
| annotation class EnableWorkedExamples | ||
|
|
||
| /** | ||
| * Qualifier for the feature flag that allows an admin profile to unlock all chapters on Alpha |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Explanation
Fixes part of #6501
This is a Draft PR prototyping Ben's feature flag approach to bypass chapter prerequisite locking for testing on Alpha builds with production assets.
Changes
PACE_ADMIN_UNLOCK_CHAPTERSenum value toFeatureFlagIdinplatform_parameter.proto.PACE_ADMIN_UNLOCK_CHAPTERSinfeature_flags.textproto(disabled by default).featureoverrides/alpha/feature_flags_overrides.textproto.@EnablePaceAdminUnlockChapters,PACE_ADMIN_UNLOCK_CHAPTERS, andENABLE_PACE_ADMIN_UNLOCK_CHAPTERS_DEFAULT_VALUEinFeatureFlagConstants.kt.FeatureFlagBindingModule.ktandFeatureFlagsMapBindingModule.kt.@EnablePaceAdminUnlockChapters private val paceAdminUnlockChapters: PlatformParameterValue<Boolean>.NOT_STARTED(playable) instead ofNOT_PLAYABLE_MISSING_PREREQUISITES.forceEnablePaceAdminUnlockChaptershelper inTestPlatformParameterModule.kt.FeatureFlagsFragmentTest.ktandFeatureFlagsLoggerTest.kt.Prototype Test Observations (Alpha Build)
Tested this feature flag prototype directly on an Alpha build:
(Screenshot showing Chapter 2 in progress while Chapter 1 remains untouched)
Essential Checklist
Disclosure of LLM Usage