openedx / openedx/xblocks-core
Investigate/replace GlobalParserTLS thread local
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 15
- Avg merge
- 5d 16m
- Merged PRs (30d)
- 7
Description
Ensure this is async-safe:
Because we're in a transitional state, this overlaps with the equivalent code that's still in https://github.com/openedx/openedx-platform/issues/38698
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading xblocks_contrib/problem/xmlparser.py lines 68-75 and the linked openedx-platform issue 38698. Trace how GlobalParserTLS is used and compare the transitional implementations. Done means the parser state is safe across async execution and the overlapping work is accounted for.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100