Review 13.4 Merged

91382[BUGFIX] Avoid performance bottleneck in system information toolbar

Benjamin Franzke CR +2 V +2 Easy +17 −7 updated 10/31/25, 05:21

Commit message

The system information toolbar renders the entire backend in the toolbar
dropdown, if logged out in another tab, because the request to the
information refresh route is redirected to the login page (and once
logged back in, to the main backend controller).

Once the main backend controller is inserted (e.g. after relogin in
another tab), a nested system information toolbar will be updated
to contain the backend again and again and again, resulting in
exponential growth, which can lead to 10GB of RAM usage and
4 million DOM nodes over time, making the entire backend unresponsive.

To circumvent this issue, we're now instruction `fetch()` to avoid
following redirects, which means we can detect that a redirect
would have performed and ignore the request result instead of
inserting invalid markup.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Benjamin Franzke commented on patch set 1 10/31/25, 05:02

    Cherry Picked from branch main.
  2. Benjamin Franzke voted on patch set 1 CR +2 V +2 10/31/25, 05:05

  3. core-ci voted on patch set 1 V +1 10/31/25, 05:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88224

  4. Benjamin Franzke merged patch set 2 10/31/25, 05:21