Skip to content

TS-9447 Build exporter on PHP 8.5 - #15

Merged
Kriso1337 merged 3 commits into
masterfrom
TS-9447-exporter-php-8-5
Nov 23, 2026
Merged

Kriso1337 merged 3 commits into
masterfrom
TS-9447-exporter-php-8-5

Conversation

@Kriso1337

Copy link
Copy Markdown
Collaborator

Summary

Rebuild the exporter image on PHP 8.5. All published exporter images run a PHP affected by the PHP security releases of 18.11.2026 (fixed in 8.2.36 / 8.3.37 / 8.4.28 / 8.5.13): 1.2.0 and latest ship 8.2.2, 2.1.1 ships 8.2.30, master ships 8.2.33.

Changes

  • promphp/prometheus_client_php 2.6.2 → 2.15.1 in exporter/composer.lock (within the existing ^2.6 constraint). 2.6.2 triggers PHP 8.4+ deprecations (implicitly nullable parameters); the php image has no php.ini, so the notices leak into the /metrics body and break the Content-Type header.
  • Base image php:8.2-alpine → php:8.5-alpine.
  • The image workflow also runs on git tags, so a release tag publishes ghcr.io/umbrellio/event-tracker/exporter:<tag> instead of a manual retag of master.

Test plan

  • Local build: PHP 8.5.13, phpredis 6.3.0, prometheus client 2.15.1.
  • Exporter next to redis in the same network namespace: /healthcheck 200; /metrics 200 with text/plain; version=0.0.4 and gzip; counter, gauge, histogram and summary rendered; no deprecation output with error_reporting=-1.
  • Metrics written by client 2.14.1 (the version some services use) are read correctly.
  • After merge: push tag 2.2.1 and check that exporter:2.2.1 is published with PHP 8.5.x.

@tycooon-review-bot tycooon-review-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI reviewer: Claude. Reviewed c6e4393.

@Kriso1337
Kriso1337 merged commit 7e23189 into master Nov 23, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants