ci: the regenerate bot's PHP with mbstring, a Psalm crash fails; the voice image's Python below 3.14 #21

Merged
dawid merged 1 commit from ci-regenerate-mbstring into main 2026-12-03 12:16:59 +00:00
Owner

Fixes the two jobs that fail Renovate's PR #20 (renovate/all-minor-patch).

standards: 22 unused Psalm baseline entries. The regenerate bot's prepare in .forgejo/regenerate.yml had drifted from CI's tools step: it had no mbstring. Psalm 7.24 (from 7.3.0) crashed in the bot's build with Call to undefined function mb_strcut() (bots/regenerate run 1151). The step's || true hid the crash, so the bot reported "the generated files are up to date" and left the old baseline in place.

  • prepare now installs oniguruma and mbstring as ci.yml does.
  • The Psalm step passes only Psalm's exit code 2 (findings in the baseline). A crash now fails the bot's build instead of passing silently.
  • Tested on #20's head (3c1eecb6) in php:8.6-cli-alpine with the new prepare: the step regenerates the baseline (+23/−52 lines), and then CI's composer psalm exits 0.

voice: no onnxruntime for Python 3.15. Renovate moved voice/exapp/Dockerfile from python:3.12-slim-bookworm to 3.15. piper-tts needs onnxruntime, which has wheels up to 3.14, and the pinned webrtcvad-wheels 2.0.14 has them only up to 3.13. The slim image builds nothing from source. A rule in renovate.json keeps that image's Python below 3.14. Raise the limit once those packages have wheels for a newer version.

After merging, Renovate rebuilds #20 with Python 3.13 at its next run, and the bot regenerates the baseline on the new head.

🤖 Generated with Claude Code

Fixes the two jobs that fail Renovate's PR #20 (`renovate/all-minor-patch`). **standards: 22 unused Psalm baseline entries.** The regenerate bot's `prepare` in `.forgejo/regenerate.yml` had drifted from CI's tools step: it had no `mbstring`. Psalm 7.24 (from 7.3.0) crashed in the bot's build with `Call to undefined function mb_strcut()` (bots/regenerate run 1151). The step's `|| true` hid the crash, so the bot reported "the generated files are up to date" and left the old baseline in place. - `prepare` now installs `oniguruma` and `mbstring` as `ci.yml` does. - The Psalm step passes only Psalm's exit code 2 (findings in the baseline). A crash now fails the bot's build instead of passing silently. - Tested on #20's head (`3c1eecb6`) in `php:8.6-cli-alpine` with the new `prepare`: the step regenerates the baseline (+23/−52 lines), and then CI's `composer psalm` exits 0. **voice: no `onnxruntime` for Python 3.15.** Renovate moved `voice/exapp/Dockerfile` from `python:3.12-slim-bookworm` to `3.15`. piper-tts needs `onnxruntime`, which has wheels up to 3.14, and the pinned `webrtcvad-wheels` 2.0.14 has them only up to 3.13. The slim image builds nothing from source. A rule in `renovate.json` keeps that image's Python below 3.14. Raise the limit once those packages have wheels for a newer version. After merging, Renovate rebuilds #20 with Python 3.13 at its next run, and the bot regenerates the baseline on the new head. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci: the regenerate bot's PHP with mbstring, a Psalm crash fails; the voice image's Python below 3.14
Some checks failed
CI / php (dev-stable32) (pull_request) Successful in 1m39s
CI / php (dev-stable33) (pull_request) Successful in 1m40s
CI / php (dev-stable34) (pull_request) Successful in 1m40s
CI / php (dev-stable35) (pull_request) Successful in 1m38s
CI / php (dev-master) (pull_request) Successful in 1m41s
CI / standards (pull_request) Successful in 2m1s
CI / server (32) (pull_request) Successful in 2s
CI / server (35) (pull_request) Successful in 2s
CI / markdown (pull_request) Successful in 40s
CI / talk-api (pull_request) Successful in 51s
CI / golden (pull_request) Successful in 5m52s
CI / voice (pull_request) Failing after 3m38s
7ecb315cba
The bot's prepare had drifted from CI's tools: without mbstring, Psalm 7.24 crashed
(mb_strcut), the crash passed as 'up to date' (|| true), and the old baseline stayed on
renovate/all-minor-patch, failing the standards job with 22 unused entries. Now only
Psalm's exit 2 (findings) passes.

Renovate took python:3.12-slim to 3.15, for which onnxruntime (piper-tts) has no wheels;
webrtcvad-wheels 2.0.14 has them up to 3.13.
dawid merged commit 10713e131e into main 2026-12-03 12:16:59 +00:00
dawid deleted branch ci-regenerate-mbstring 2026-12-03 12:17:00 +00:00

Tests of CI / php (dev-master): passed

266 passed, 0 failed, 0 skipped (266 tests, 10.7 s)

Of 7ecb315cba, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-master- --> ### Tests of CI / php (dev-master): passed **266 passed, 0 failed, 0 skipped** (266 tests, 10.7 s) <sub>Of 7ecb315cba, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-ai/actions/runs/213), updated by every run.</sub>

Tests of CI / php (dev-stable32): passed

266 passed, 0 failed, 0 skipped (266 tests, 10.8 s)

Of 7ecb315cba, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable32- --> ### Tests of CI / php (dev-stable32): passed **266 passed, 0 failed, 0 skipped** (266 tests, 10.8 s) <sub>Of 7ecb315cba, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-ai/actions/runs/213), updated by every run.</sub>

Tests of CI / php (dev-stable33): passed

266 passed, 0 failed, 0 skipped (266 tests, 10.6 s)

Of 7ecb315cba, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable33- --> ### Tests of CI / php (dev-stable33): passed **266 passed, 0 failed, 0 skipped** (266 tests, 10.6 s) <sub>Of 7ecb315cba, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-ai/actions/runs/213), updated by every run.</sub>

Tests of CI / php (dev-stable34): passed

266 passed, 0 failed, 0 skipped (266 tests, 11.0 s)

Of 7ecb315cba, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable34- --> ### Tests of CI / php (dev-stable34): passed **266 passed, 0 failed, 0 skipped** (266 tests, 11.0 s) <sub>Of 7ecb315cba, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-ai/actions/runs/213), updated by every run.</sub>

Tests of CI / php (dev-stable35): passed

266 passed, 0 failed, 0 skipped (266 tests, 10.9 s)

Of 7ecb315cba, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable35- --> ### Tests of CI / php (dev-stable35): passed **266 passed, 0 failed, 0 skipped** (266 tests, 10.9 s) <sub>Of 7ecb315cba, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-ai/actions/runs/213), updated by every run.</sub>
Sign in to join this conversation.
No description provided.