Skip to content

Conversation

@pomegranited
Copy link
Contributor

@pomegranited pomegranited commented Nov 21, 2022

Description

Reverts ef8f841, which added Labxchange-specific code allowing LabXchange XBlocks to be used when loading and rendering non-lx blocks.

This code is no longer required, as LabXchange are storing OLX in their own database, and not using Open edX for rendering anymore. Some Content Libraries (Blockstore) calls are still being made to fetch asset files, but these do not require loading blocks, and so the LX-specific code here (and dependencies in https://github.com/edx/edx-internal/pull/7420) can be removed from edx.org without adversely impacting LabXchange.org.

This change impacts LabXchange only, and should not have any effect on other users of Open edX.

Supporting information

See #29517

Testing instructions

CI should be sufficient to ensure this change is safe for Open edX.
LabXchange testing will take place on (internal) https://gitlab.com/opencraft/client/LabXchange/labxchange-dev/-/merge_requests/1862.

Deadline

None

@openedx-webhooks
Copy link

openedx-webhooks commented Nov 21, 2022

Thanks for the pull request, @pomegranited! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Nov 21, 2022
when fetching block metadata and rendering blocks while maintaining the
original usage IDs/OLX.

Reverts ef8f841
@pomegranited pomegranited force-pushed the jill/remove-labxchange branch from c2b8f31 to 5370185 Compare November 21, 2022 06:44
@pomegranited pomegranited marked this pull request as ready for review December 19, 2022 06:26
@pomegranited
Copy link
Contributor Author

@toxinu This OSPR is ready for your review (at last 😄 ).

FYI @jristau1984

@toxinu
Copy link
Contributor

toxinu commented Dec 19, 2022

I have checked the changes, looks good to be merged @pomegranited 👍

@mphilbrick211
Copy link

Hi @pomegranited! Is this all set to merge?

@pomegranited
Copy link
Contributor Author

Hi @mphilbrick211 yes, this is ready to merge, but needs a 2nd review from a core contributor or edX/2U. I've looped you in on the email thread, thank you!

Copy link
Contributor

@bradenmacdonald bradenmacdonald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for cleaning this up. The changes look good to me. 👍

  • I did not manually test this (relying on earlier review)
  • I read through the code
  • I checked for accessibility issues: n/a
  • Includes documentation: n/a but the docstrings have been improved via this pair of PRs.

@bradenmacdonald bradenmacdonald merged commit 9f5c78e into openedx:master Jan 11, 2023
@bradenmacdonald bradenmacdonald deleted the jill/remove-labxchange branch January 11, 2023 19:20
@openedx-webhooks
Copy link

@pomegranited 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

@pomegranited
Copy link
Contributor Author

Thank you @bradenmacdonald !

awais786 pushed a commit that referenced this pull request Jan 13, 2023
fix: fix 500 error when fetching course run (#31518)

chore: bumping enterprise package version to 3.60.10

feat: ping 2u-tnl for changes to student model

student model changes should notify 2u-tnl team, to trigger a SOX compliance oriented review of the changes.

feat: point to newly refacto
revert: temp: let XBlock API users optionally use LabXchange block types (#31315)

when fetching block metadata and rendering blocks while maintaining the
original usage IDs/OLX.

Reverts ef8f841

chore: Updating Python Requirements

build: Adding constraint to avoid multiple major upgrades.

build: Adding constraint to avoid multiple major upgrades.

chore: Updating Python Requirements (#31525)

build: Adding constraint to avoid multiple major upgrades.

chore: Updating Python Requirements (#31526)

build: Adding constraint to avoid multiple major upgrades.

build: Adding constraint to avoid multiple major upgrades.

feat: release edx-enterprise 3.60.11 (#31528)

build: Adding constraint to avoid multiple major upgrades.

chore: Updating Python Requirements (#31533)

fix: fix the tests in test_register file (#31523)

chore: Updating Python Requirements (#31534)

fix: fixing upgrades.

fixing: fixing upgrades.

chore: Updating Python Requirements (#31535)

fix: fixing upgrades

chore: Updating Python Requirements (#31536)

fix: fixing upgrades

chore: Updating Python Requirements (#31538)

fix: fixing upgrades

chore: Updating Python Requirements (#31539)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-source-contribution PR author is not from Axim or 2U

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants