Skip to content

Conversation

@timmc-edx
Copy link
Contributor

@timmc-edx timmc-edx commented Jun 13, 2025

This brings an important security improvement (although codejail-service has other protections against misconfigured codejail.)

It is now also safe to import codejail.safe_exec at any time, rather than having to delay it until after configuration has happened. Our safe_exec wrapper can now be simplified a bit as a result.

Also, add missing super.tearDown() in a test class.

Merge checklist:
Check off if complete or not applicable:

  • Changelog record added
  • Documentation updated (not only docstrings)
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

Post-merge:

@timmc-edx timmc-edx force-pushed the timmc/cj4 branch 2 times, most recently from e2dab60 to c246824 Compare June 13, 2025 17:13
This brings an important security improvement (although codejail-service
has other protections against misconfigured codejail.)

It is now also safe to import `codejail.safe_exec` at any time, rather
than having to delay it until after configuration has happened. Our
safe_exec wrapper can now be simplified a bit as a result.

Also, add missing `super.tearDown()` in a test class.
@timmc-edx timmc-edx merged commit 3123e04 into main Jun 17, 2025
7 checks passed
@timmc-edx timmc-edx deleted the timmc/cj4 branch June 17, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants