-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Bump problem-builder to v2.6.3 #14013
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
Conversation
|
FYI @gsong This PR affects the edx.org and edge.edx.org environments. |
pomegranited
left a comment
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.
👍 Thanks for doing this change, @mtyaka !
- I tested this on your sandbox.
- I reviewed the code change, paying attention to the installed version tag, and verifying that it matches the tag on problem-builder.
-
AccessibilityNo GUI changes; a11y not affected -
Includes documentationBugfix, no documentation required.
|
@maxrothman As the oncall, can you work with OpenCraft on this. Prod has a 4 million row table being migrated, but depending on the ALTER it may be ok. Edge is much smaller. @mtyaka Please provide the output of sqlmigrate for this migration. |
|
@mtyaka or @pomegranited Can you put the deployment targets at the top of the PR description? Thank you! |
|
@jibsheet @maxrothman This is the output of sqlimigrate for the migration included in this version bump: It changes the |
adampalay
left a comment
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.
👍 from a code POV, but would like devops's insight into how the migration might affect us
|
Thanks for the pull request, @mtyaka! It looks like you're a member of a company that does contract work for edX. If you're doing this work as part of a paid contract with edX, you should talk to edX about who will review this pull request. If this work is not part of a paid contract with edX, then you should ensure that there is an OSPR issue to track this work in JIRA, so that we don't lose track of your pull request. |
|
This migration takes 8 minutes to run on our production database. With ~10+ updates to the table per hour, we'd be likely to cause user-facing issues. Instead, I'd recommend we do this in a few steps:
Steps 1 and 3 will have to take place in separate releases, so at minimum we'll have to spread this over 2 weeks. |
|
Thanks @maxrothman, in that case we will prepare multiple migrations and problem-builder releases that do this in steps, as per your suggestion. |
Migration locks the table, which is not desired since the production table on edx.org is quite large. The course_id field will be extended in a multiple steps instead. For more info see: - https://github.com/edx/edx-platform/pull/14013 - #131
|
Closing this in favor of https://github.com/edx/edx-platform/pull/14044 |
The new version extends the
course_idfield to support courses with course keys longer than 50 characters: open-craft/problem-builder#130Note that this includes changes from https://github.com/edx/edx-platform/pull/13953, which hasn't been merged yet.
Below is the output of sqlmigrate for the new migration:
Environments: edx.org and edge.edx.org
Merge deadline: ASAP - this is blocking a course on Edge
JIRA tickets: TNL-5932
Discussions: See JIRA ticket.
Dependencies: https://github.com/edx/edx-platform/pull/13953
Sandbox URL:
Partner information: hosted on edX Edge (Davidson College)
Testing instructions:
Check that you can successfully add a Problem Builder "Long Answer" component to a course with a course key that is longer than 50 character. See working example on the sandbox: https://studio-pr14013.sandbox.opencraft.hosting/container/block-v1:VeryLongOrganizationName+VeryLongCourseName+VeryLongCourseRun2016+type@vertical+block@44e0d2e57f3840faa7278164960338ff
Compare this to the broken problem on the old (v2.6.2) sandbox where I created a course with the same course key length and tried to add a "Long Answer" component to it: https://studio-pr13953.sandbox.opencraft.hosting/container/block-v1:VeryLongOrganizationName+VeryLongCourseName+VeryLongCourseRun2016+type@vertical+block@0ce09c73c6874411907ff24cbd325394
Author notes and concerns:
Reviewers
Settings