fix(lsphp): per-package pins so an inconsistent LiteSpeed 8.4 set still builds #44

Merged
jknapp merged 2 commits from fix/lsphp-inconsistent-repo-pin into trunk 2026-11-19 17:46:12 +00:00
Owner

Run 5691 job 18704: stage-2 apt failed Version '8.4.27-2+noble' for 'lsphp84-common' was not found; LiteSpeed index has lsphp84/-ldap/-dev 8.4.27-2 but lsphp84-common 8.4.27-3 only. (The ext-build step-5 retries were fine; it passed at 17:31.)

Fix: scripts/lsphp-pin-resolve.sh resolves -common/-ldap per package: exact version if offered (82/83/85 unchanged), else same PHP version + same distro suffix + >= revision (all lsphp pkgs depend on -common only as >=); otherwise fail. lsphp84 stays exact; post-check requires same upstream and >=. All gates untouched. Fixture test scripts/tests/lsphp-pin-resolve.test.sh wired into Shell-Checks.

Merge with [skip ci] (trunk push would otherwise run build-push for all legs).

🤖 Generated with Claude Code

https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6

Run 5691 job 18704: stage-2 apt failed `Version '8.4.27-2+noble' for 'lsphp84-common' was not found`; LiteSpeed index has lsphp84/-ldap/-dev 8.4.27-2 but lsphp84-common 8.4.27-3 only. (The ext-build step-5 retries were fine; it passed at 17:31.) Fix: scripts/lsphp-pin-resolve.sh resolves -common/-ldap per package: exact version if offered (82/83/85 unchanged), else same PHP version + same distro suffix + >= revision (all lsphp pkgs depend on -common only as >=); otherwise fail. lsphp84 stays exact; post-check requires same upstream and >=. All gates untouched. Fixture test scripts/tests/lsphp-pin-resolve.test.sh wired into Shell-Checks. Merge with [skip ci] (trunk push would otherwise run build-push for all legs). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
jknapp added 1 commit 2026-11-19 17:44:55 +00:00
Stage 2 pinned lsphp84, -common and -ldap to one version; LiteSpeed's repo
offers lsphp84 8.4.27-2 but lsphp84-common only 8.4.27-3 (run 5691 job 18704:
E: Version '8.4.27-2+noble' for 'lsphp84-common' was not found). New
scripts/lsphp-pin-resolve.sh resolves -common/-ldap to the exact version when
offered (unchanged for 82/83/85), else a same-PHP-version, same-distro,
>= revision; never a different PHP release. lsphp84 itself stays exact and the
post-install check requires same upstream + >=. Fixture test added to CI.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
jknapp added 1 commit 2026-11-19 17:46:09 +00:00
jknapp merged commit 697926a5bb into trunk 2026-11-19 17:46:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cloud-hosting-platform/cloud-apache-container#44