quality_gate #220

Merged
Anja Leichsenring merged 5 commits from quality_gate into main 2026-11-12 11:37:15 +00:00
No description provided.
The tool controlls the architectural boundaries of the system
and limits access to classes within those boundaries.
[!!!][TASK] Remove the Extension class
Some checks failed
CI / base-qa (pull_request) Successful in 40s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m3s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 11m56s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Failing after 17m28s
34631ee0e2
Extension mixed constants every layer used with the cache bootstrap,
which tied the shared layer to the import's settings. Each part now
lives with its owner:

- Configuration files and ext_localconf.php use plain EXT:thuecat
  paths and the extension key as string literals.
- ImportCacheRegistration registers the fetch and vocabulary caches.
- FrontendCacheRegistration registers the teaser, list and search
  mask caches and owns their identifiers.

This removes the Extension -> ImportSetting entry from the deptrac
baseline. Code calling Extension constants or methods has to switch
to the literals or the registration classes.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Anja Leichsenring scheduled this pull request to auto merge when all checks succeed 2026-11-12 08:14:50 +00:00
[TASK] Check uncovered lines beside line coverage against the baseline
Some checks failed
CI / base-qa (pull_request) Successful in 40s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m9s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m37s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been cancelled
ec6e7a50a0
Deleting covered code lowers the line coverage percentage although no
coverage is lost: removing three covered lines took the total from
7700/8374 to 7697/8371 and failed the check with the same 674
uncovered lines.

The baseline now also records the number of uncovered lines, which
must not rise. The line coverage baseline is lowered to 91.94. Either
gate alone can trip on a refactor that moves a lot of code, so both
apply.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
[TASK] Cover the frontend cache registration and an unwritable folder
Some checks failed
CI / base-qa (pull_request) Successful in 47s
CI / advanced-qa (84, ^14.3) (pull_request) Failing after 1m46s
CI / advanced-qa (85, ^14.3) (pull_request) Failing after 1m49s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been cancelled
45f3662c77
The mutation gate left two changed lines without a covering test: the
guard keeping an integrator's own frontend cache configuration, and the
exception for a folder the import cannot write to.

Only functional tests covered FrontendCacheRegistration, because
ext_localconf.php calls it during every bootstrap. Each of its mutants
ran functional tests until one failed, which stalled the gate on the
single-threaded CI runner. A unit test now kills them in milliseconds,
so a single-threaded run of the gate drops to about 30 seconds.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Anja Leichsenring force-pushed quality_gate from 45f3662c77
Some checks failed
CI / base-qa (pull_request) Successful in 47s
CI / advanced-qa (84, ^14.3) (pull_request) Failing after 1m46s
CI / advanced-qa (85, ^14.3) (pull_request) Failing after 1m49s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been cancelled
to 2418ab91da
Some checks failed
CI / base-qa (pull_request) Successful in 41s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m17s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m28s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been cancelled
2026-11-12 09:39:20 +00:00
Compare
Anja Leichsenring force-pushed quality_gate from 2418ab91da
Some checks failed
CI / base-qa (pull_request) Successful in 41s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m17s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m28s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been cancelled
to b19aefd46c
Some checks failed
CI / base-qa (pull_request) Failing after 4s
CI / advanced-qa (84, ^14.3) (pull_request) Has been skipped
CI / advanced-qa (85, ^14.3) (pull_request) Has been skipped
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been skipped
2026-11-12 10:20:40 +00:00
Compare
Anja Leichsenring force-pushed quality_gate from b19aefd46c
Some checks failed
CI / base-qa (pull_request) Failing after 4s
CI / advanced-qa (84, ^14.3) (pull_request) Has been skipped
CI / advanced-qa (85, ^14.3) (pull_request) Has been skipped
CI / Tests and mutation gate on PHP 8.4 (pull_request) Has been skipped
to f98ba62a76
Some checks failed
CI / base-qa (pull_request) Successful in 44s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m2s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m28s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Failing after 24m9s
2026-11-12 10:22:08 +00:00
Compare
Anja Leichsenring force-pushed quality_gate from f98ba62a76
Some checks failed
CI / base-qa (pull_request) Successful in 44s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m2s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m28s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Failing after 24m9s
to a1747f6785
All checks were successful
CI / base-qa (pull_request) Successful in 49s
CI / advanced-qa (84, ^14.3) (pull_request) Successful in 2m19s
CI / advanced-qa (85, ^14.3) (pull_request) Successful in 12m49s
CI / Tests and mutation gate on PHP 8.4 (pull_request) Successful in 18m27s
2026-11-12 11:15:30 +00:00
Compare
Anja Leichsenring deleted branch quality_gate 2026-11-12 11:37:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
typo3/thuecat!220
No description provided.