Repository navigation
php: use pkg.installed so a highstate does not upgrade PHP under fpm - #35
Open
claude[bot] wants to merge 1 commit into
Open
claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
A routine highstate (563718d, Grafana SLO pillar only) upgraded PHP extension packages under running php-fpm and the jobrunner, raising MEDIAWIKI-D96 on every app server for ~20 s. Upgrades stay available via an explicit pkg.upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UBs8KmDmbycFxNzPsuksKD
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Thomas · Slack thread
What
salt/php/init.sls:install_phpgoes back frompkg.latesttopkg.installed.pkg.latestcame in withd165bc9.Why
On 2026-11-22 at 14:54Z,
salt '*' state.applyran to roll out563718d, which only changes the Grafana SLO pillar. Becauseinstall_phpusespkg.latest, that run also upgraded PHP packages underneath php-fpm and the jobrunner:aptpkgscopes ran at 14:54:18–22 andphp8.4-fpmstopped and started 14 times, fleet-wide.MEDIAWIKI-D96("RedisConnectionPool requires a Redis client library") 147 times. That was 134 ontask-us-east-011and 13 web 500s on mw-us-east-011/012/021/022.This is the same failure as 11-19 14:23Z. That time it stalled the job queue for 3 h 17 min. This time the queue kept running (
queue.process238 in the 14:50 5-min bucket) because7aff656now pins/usr/bin/php.The hosts are already on sury 8.4.28 (runtime tag is unchanged before and after), so
pkg.installedkeeps them where they are. Upgrades still go through an explicitsalt '*' pkg.upgrade, so they happen when you choose and not as a side effect of unrelated pillar changes.Not changed
php-luasandboxis still unversioned inpillar/php/init.sls, and the jobrunner unit still has nowatchoninstall_php.🤖 Generated with Claude Code
https://claude.ai/code/session_01UBs8KmDmbycFxNzPsuksKD