Skip to content

ci: Use stable PHP 8.6 from setup-php instead of the Ondřej PPA workaround - #478

Merged
TheWitness merged 1 commit into
developfrom
ci/php86-mainline
Nov 23, 2026
Merged

TheWitness merged 1 commit into
developfrom
ci/php86-mainline

Conversation

@TheWitness

Copy link
Copy Markdown
Member

Summary

PHP 8.6.0 was released on 19 Nov 2026, and shivammathur/setup-php marked 8.6 as stable on its main branch on 20 Nov (2001cd3, "Mark PHP 8.6 as stable"). This removes the PHP 8.6 workaround that installed a release-candidate CLI from Ondřej Surý's PPA. 8.6 now goes through the same setup-php step as every other version.

  • Repins shivammathur/setup-php from 2.40.0 to main commit e8d43d139fbfbe401c32ef3a3a32e14075f20122. 2.40.0 still treats 8.6 as a nightly (nightly_versions="8.[6-9]"), and that build's extensions fail to load. At the pinned commit, nightly_versions="8.[7-9]". No release includes this yet, so the pin should move to the next tagged release (2.41.0) when it ships.
  • Removes the matrix.php != '8.6' guard, the PPA install step and its comments.
  • 8.6 becomes a normal matrix leg on the default runner, replacing the experimental Ubuntu 24.04 leg that was pinned there only because of the PPA.
  • Where a step skipped 8.6 because the PPA build had no Xdebug, 8.6 now runs it too.

This also removes the 8.6 leg's dependency on Launchpad. Today it was failing with 503 Service Unavailable from ppa.launchpadcontent.net.

Part of a fleet-wide change across Cacti 1.2.x and the plugin_* repositories that carried the workaround.

…round

PHP 8.6.0 is released and setup-php's main branch installs it as a stable
version. Repin setup-php to that commit, drop the PPA toolchain step and its
guards, and run 8.6 as a normal matrix leg.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 13:50
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the PHP 8.6 CI integration.

No open issues 🎉

What changed in this PR

This PR unifies PHP 8.6 with the Syslog plugin’s standard CI setup, removing the separate PPA installation workaround.

Changes:

  • Pins setup-php to a main-branch commit supporting stable PHP 8.6.
  • Makes PHP 8.6 a required matrix leg on ubuntu-latest.
  • Enables changed-line coverage enforcement for PHP 8.6 pull-request runs.
File Description
.github/​workflows/​plugin-ci-workflow.yml Routes PHP 8.6 through shared PHP provisioning and coverage checks, removing the experimental PPA setup.

Review effort: Balanced

@TheWitness
TheWitness merged commit 3c2ae03 into develop Nov 23, 2026
12 checks passed
@TheWitness
TheWitness deleted the ci/php86-mainline branch November 23, 2026 15:59
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.

3 participants