Skip to content

Remove platform helpers left unused by the slash-n-burn block removals #39468

Backlog

Description

@irfanuddinahmad

Follow-up to the slash-n-burn PRs of the Slash-n-Burn Built-In XBlocks epic. The Video items are tracked separately in #39467.

These platform helpers lose their last production caller when the built-in blocks are removed. They weren't removed in the block PRs, either because their tests need a home first (no test is deleted without a counterpart) or because they are shared library code.

Helpers whose tests need a home first

Shared library code with no platform caller left

  • get_css_dependencies and get_js_dependencies in openedx/core/lib/xblock_utils/__init__.py (the Discussion PR, refactor: remove built-in Discussion XBlock implementation (slash-n-burn #37819) #38749). Their only non-test caller was the built-in Discussion block. The forum views call separate same-named methods on openedx/core/djangoapps/plugin_api/views.py. Because this is an openedx.core.lib API that plugins could import, decide whether to deprecate it before removing it and its tests in openedx/core/lib/tests/test_xblock_utils.py.

Test tooling

Generated using Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions