-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add & expose courseware.use_learning_sequences_api flag #27993
feat: add & expose courseware.use_learning_sequences_api flag #27993
Conversation
a68d841
to
32e768f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one nit.
button, etc. This has been done so far using the Course Blocks API. | ||
We are switching the views to instead use the Learning Sequences API, | ||
which we expect to be significantly faster. We are putting the transition | ||
behind a flag, for now, to allow incremental rollout and comparison testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Should this docstring (or the waffle flag comments above) say anything about incrementally honoring this flag in courseware calls? We'll have an interim period where this flag will be somewhat misleading - making someone reading the code to think that it actually controls the whether the Learning Sequences API is used - when it doesn't yet in all cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed! I'll call that out better.
Add a Waffle Flag. When enabled, the courseware pages of the Learning MFE should use the Learning Sequences HTTP API instead of the Course Blocks HTTP API in order to load course structure data. We expect that this switchover will lead to performance improvements and a more comprehensible system. (We are putting the switchover behind a temporary flag in order to enable debugging, incremental rollout, and comparison testing.) The flag is exposed to the MFE via the Course API. As of this commit, the new flag is not enabled in any environment, and the MFE does not have any code to act on the flag's value. So, this commit on its own should have no production impact. TNL-8330
32e768f
to
9ea561f
Compare
Your PR has finished running tests. There were no failures. |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR has been deployed to the production environment. |
…x#27993) Add a Waffle Flag. When enabled, the courseware pages of the Learning MFE should use the Learning Sequences HTTP API instead of the Course Blocks HTTP API in order to load course structure data. We expect that this switchover will lead to performance improvements and a more comprehensible system. (We are putting the switchover behind a temporary flag in order to enable debugging, incremental rollout, and comparison testing.) The flag is exposed to the MFE via the Course API. As of this commit, the new flag is not enabled in any environment, and the MFE does not have any code to act on the flag's value. So, this commit on its own should have no production impact. TNL-8330
Description
Supporting information
TNL-8330
Deadline
Soft deadline of 6/25 (weekly goal)