• 
      

    Remove compatibility handling for patch results without ranges.

    Review Request #15286 — Created Sept. 10, 2026 and updated

    Information

    RBTools
    master

    Reviewers

    PatchResult.patch_range was added in RBTools 5.1. Callers had fallback
    logic for results produced by older patcher implementations, which
    assumed a patch number one higher than the previous patch.

    With legacy patching support gone, all patch results carry a range.
    The fallbacks are now asserts.

    Ran unit tests.

    Summary ID
    Remove compatibility handling for patch results without ranges.
    `PatchResult.patch_range` was added in RBTools 5.1. Callers had fallback logic for results produced by older patcher implementations, which assumed a patch number one higher than the previous patch. With legacy patching support gone, all patch results carry a range. The fallbacks are now asserts. Testing Done: Ran unit tests.
    qlupzxsnwwnxypvkkqyyruzzolsspuun
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.