• 
      

    Move the discovery of extensions into a helper method.

    Review Request #15430 — Created Oct. 26, 2026 and updated

    Information

    Djblets
    release-6.x

    Reviewers

    This moves the logic for discovering extensions via entrypoint, loading
    their classes, and setting up registrations out of _load_extensions()
    and into a new _discover_extensions() method.

    No logic has changed, just code movement. This work is being done in
    preparation for upcoming work to add fine-grained reloading of
    extensions.

    Unit tests pass.

    Summary ID
    Move the discovery of extensions into a helper method.
    This moves the logic for discovering extensions via entrypoint, loading their classes, and setting up registrations out of `_load_extensions()` and into a new `_discover_extensions()` method. No logic has changed, just code movement. This work is being done in preparation for upcoming work to add fine-grained reloading of extensions.
    d91f871ce6a85c1f493871747900a56e4e163799
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.
    david
    1. Ship It!
    2.