Review main Merged

96073[TASK] Optimize pre-merge CI for smaller ReST rendering

Garvin Hicking CR +2 V +2 Normal +76 −10 updated 09/25/26, 15:59

Commit message

Currently, every gerrit patch that contains a change in ANY
file of a `Documentation/` subdirectory of an extension triggers
the `pre-merge` CI full rendering suite.

This utilizes unneeded resources for our CI infrastructure and
may introduce side-effects when for example permalinks are changed
that are not affected by a single commit, and hinder merging
a patch.

To fix this, the pre-merge checks now only specifically render
the documentation of the affected system extensions of a commit.

Note that the `nightly` CI check always renders the full documentation,
so any error that may happen due to removed permalinks or other
network glitches will be caught in this nightly setup.

The `runTests` script is optimized for a sub-process call structure
to unify code. Minimal examples are added.

The `git` binary is utilized through the PHP docker container,
as it is not natively available on the CI runner.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Benni Mack +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Benni Mack +1
    • core-ci +1 CI

Issues 1

Files 2

Review log 79

  1. Garvin Hicking uploaded patch set 1 09/25/26, 13:14

  2. core-ci voted on patch set 1 V -1 09/25/26, 13:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109247

  3. Garvin Hicking uploaded patch set 2 V -1 09/25/26, 13:29

  4. core-ci voted on patch set 2 V +1 09/25/26, 13:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109250

  5. Benni Mack voted on patch set 2 CR +1 V +1 09/25/26, 14:19

  6. Stefan Bürk voted on patch set 2 CR +1 V +1 09/25/26, 15:47

  7. Stefan Bürk voted on patch set 2 CR +2 V +2 09/25/26, 15:48

  8. Garvin Hicking commented on patch set 2 09/25/26, 15:50

  9. Stefan Bürk merged patch set 3 09/25/26, 15:59