Repository navigation
Move CAPA code and static assets from edx-platform to xblocks-contrib/problem - #38045
Merged
Merged
Conversation
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
from
February 25, 2026 08:28
901afb5 to
2f9fb4f
Compare
irtazaakram
commented
Feb 25, 2026
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
2 times, most recently
from
February 26, 2026 10:07
90d5d48 to
2f73347
Compare
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
from
February 26, 2026 14:27
04bfb07 to
18533de
Compare
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
2 times, most recently
from
March 3, 2026 08:49
c1c0a13 to
64d2479
Compare
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
from
March 4, 2026 12:37
64d2479 to
90ed9e6
Compare
irtazaakram
force-pushed
the
purge-xmodule/capa
branch
from
March 10, 2026 09:52
67f0c7d to
a31353a
Compare
irtazaakram
marked this pull request as ready for review
March 10, 2026 11:29
farhan
approved these changes
Mar 10, 2026
farhan
left a comment
Contributor
There was a problem hiding this comment.
PR seems alright to me.
I am trusting on Irtaza's testing.
Looking forward to the Final Extracted Problem Block Sandbox.
taimoor-ahmed-1
pushed a commit
to edly-io/edx-platform
that referenced
this pull request
Mar 18, 2026
This commit removes the following folders: * `xmodule/capa/` * `common/static/applets/capa/` * `common/static/images/capa/` * `common/static/js/capa/` These directories have been moved to `xblocks-contrib/problem` as-is and will now be maintained and used from there. All relevant imports in openedx-platform have been updated to reference the new paths in `xblocks-contrib/problem`. This removes duplication and consolidates CAPA-related code and static assets within the same repository as the Problem XBlock. Part of: openedx#36538
blarghmatey
added a commit
to mitodl/mitx-grading-library
that referenced
this pull request
Nov 18, 2026
…er (#362) * Run the Tutor integration test on PRs against Ulmo, Verawood and master The monthly run has failed since at least September: it only had a schedule trigger but imported the course from the pull request's head repo and ref, which are empty on a schedule, and it pinned Tutor below 20 (Sumac). python_lib.zip is also no longer committed. This runs it on PRs that touch the library or the demo course, monthly and by hand, against Tutor 21 (Ulmo), 22 (Verawood) and Tutor main (edx-platform master), and imports the course from the checkout with the zip built into it. Claude-Session: https://claude.ai/code/session_01FGZebDvGwVSXfw1tvwmscW * Fix the integration test on Verawood and Tutor main safe_exec moved out of xmodule.capa in openedx/openedx-platform#38045, so the import fails on Verawood and master. No codejail plugin release allows Tutor main yet, so pip can't resolve the master row; it now installs the Verawood plugin without its tutor requirement. Claude-Session: https://claude.ai/code/session_01FGZebDvGwVSXfw1tvwmscW * Name the modules and packages safe_exec comes from Claude-Session: https://claude.ai/code/session_01FGZebDvGwVSXfw1tvwmscW
feanil
added a commit
to feanil/openedx-platform
that referenced
this pull request
Nov 25, 2026
The shim was added in openedx#38045 when capa moved to xblocks-core, so that deployments with CODE_JAIL_REST_SERVICE_REMOTE_EXEC pointing at the old module path kept working. It has warned since Verawood, and the default already points at the new path. Closes part of openedx#39427 Shim added in openedx#38045 BREAKING CHANGE: the xmodule.capa.safe_exec.remote_exec module is gone, so code that imports it directly breaks. A CODE_JAIL_REST_SERVICE_REMOTE_EXEC setting that still points at xmodule.capa.safe_exec.remote_exec.send_safe_exec_request_v0, or at xblocks_contrib.problem.capa.safe_exec.remote_exec.send_safe_exec_request_v0 as the Verawood warning suggested, keeps working: xblocks-core can't import it and falls back to the default sender. Remove the override, or point it at xblock_problem.capa.safe_exec.remote_exec.send_safe_exec_request_v0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the following folders from edx-platform:
xmodule/capa/common/static/applets/capa/common/static/images/capa/common/static/js/capa/These directories have been moved to
xblocks-contrib/problemas-is and will now be maintained and used from there.All relevant imports in edx-platform have been updated to reference the new paths in
xblocks-contrib/problem.This removes duplication and consolidates CAPA-related code and static assets within the Problem XBlock repository.
TESTING
GUILDINES:
Problem XBlock Testing.txt
DATA:
Problem Block Test Data.zip
Settings
Tutor requirements