Skip to content

[stable33] ci(psalm): run taint analysis with all available threads - #66358

Merged
susnux merged 1 commit into
stable33from
backport/66345/stable33
Nov 5, 2026
Merged

susnux merged 1 commit into
stable33from
backport/66345/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 5, 2026

Copy link
Copy Markdown

Backport of PR #66345

The taint analysis job was forced to a single thread, which made it
the slowest Psalm job (8-20 min) and the critical path of the workflow.
The psalm:security composer script already passes --threads=$(nproc).

Local measurements on master (Psalm 6.20, 4 CPUs) show identical
results with 1, 4 and 8 threads, including cross-file taint flows,
while the run time drops from ~345s to ~70s. Peak memory grows from
~4.5GB to ~8GB, which fits the 16GB runners.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot
backportbot Bot requested a review from a team as a code owner November 5, 2026 09:10
@backportbot
backportbot Bot requested review from CarlSchwan, SystemKeeper, icewind1991, susnux and szaimen and removed request for a team November 5, 2026 09:10
@backportbot backportbot Bot added 3. to review Waiting for reviews CI AI assisted labels Nov 5, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.11 milestone Nov 5, 2026
@susnux
susnux merged commit ab912c2 into stable33 Nov 5, 2026
155 of 162 checks passed
@susnux
susnux deleted the backport/66345/stable33 branch November 5, 2026 09:22
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise.
If you discovered any issues with this pull request, please open a new issue instead. In case you want to discuss this pull request or have further questions, please use our forum: https://help.nextcloud.com

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants