Review 14.3 Merged

96942[BUGFIX] Disable site sets with circular dependencies

Oli Bartsch CR +2 V +2 Normal +212 −3 updated 10/20/26, 16:22

Commit message

Site sets depending on each other, directly or through other sets,
made the set registry recurse until PHP ran out of memory or stack,
before the dependency ordering could report the cycle.

The dependency check now tracks the sets on its way, and every set
in or depending on a cycle is disabled with an error naming the
cycle, the same way a set with a missing dependency is disabled.
Optional dependencies are taken into account, since they take part
in the ordering as well.

Sets with missing required dependencies are excluded before checking
for cycles, so unavailable optional sets do not disable otherwise
valid sets. Successful cycle checks are reused for shared dependencies
to avoid exponential traversal of valid dependency graphs.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 10

Review log 34

  1. Oli Bartsch commented on patch set 1 10/20/26, 16:05

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/20/26, 16:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111881

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 10/20/26, 16:22

  4. Oli Bartsch merged patch set 2 10/20/26, 16:22