Skip to content

Conversation

@sbuerk
Copy link
Contributor

@sbuerk sbuerk commented Jan 24, 2026

The two Build/Scripts/runTests.sh -s composerUpdateMin and
Build/Scripts/runTests.sh -s composerUpdateMax uses multiple
commands passed to a single php container as chained command
concatenated using ; executing all commands, not stopping
if one failes only returning the exit code of the last command
composer show, which is mostly 0 and communication success.

This change reworks the command building using && to chain
the commands and abort in case one fails and using exitcode
of the failed command.

Resolves: #1882

@coveralls
Copy link

coveralls commented Jan 24, 2026

Pull Request Test Coverage Report for Build 21316108713

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 21288067095: 0.0%
Covered Lines: 111
Relevant Lines: 111

💛 - Coveralls

…|Max)` fails

The two `Build/Scripts/runTests.sh -s composerUpdateMin` and
`Build/Scripts/runTests.sh -s composerUpdateMax` uses multiple
commands passed to a single php container as chained command
concatenated using `;` executing all commands, not stopping
if one failes only returning the exit code of the last command
`composer show`, which is mostly `0` and communication success.

This change reworks the command building using `&&` to chain
the commands and abort in case one fails and using exitcode
of the failed command.

Resolves: TYPO3BestPractices#1882
@sbuerk sbuerk force-pushed the bugfix/runtests-composerupdate-exitcode-handling branch from f2f4b41 to fc844c4 Compare January 24, 2026 13:49
@oliverklee oliverklee added bug Something isn't working runTests.sh labels Jan 24, 2026
@oliverklee oliverklee marked this pull request as draft January 24, 2026 17:06
@oliverklee
Copy link
Contributor

Thanks a lot, @sbuerk! 🙏

Marking as draft so we can resolve the to-dos first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working runTests.sh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

composerUpdateMax and composerUpdateMin should return an error exit code if installation fails

3 participants