Skip to content

Conversation

@zeriyoshi
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings August 19, 2025 07:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes CI pipeline issues when running on PHP 8.1 with Alpine Linux by adding missing system dependencies and conditionally skipping certain test steps that are incompatible with PHP 8.1.

  • Adds linux-headers package to Alpine Linux build dependencies in Dockerfile
  • Excludes PHP 8.1 from debug build and Valgrind testing steps in CI workflow

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Dockerfile Adds linux-headers package to Alpine package installation for build dependencies
.github/workflows/ci.yaml Updates conditional logic to skip debug and Valgrind tests for PHP 8.1

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

if: matrix.platform == 'linux/amd64' && matrix.version != '8.1'
run: |
docker compose run --rm shell pskel test debug
- name: Test extension with Valgrind
Copy link

Copilot AI Aug 19, 2025

Choose a reason for hiding this comment

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

The exclusion of PHP 8.1 from debug builds lacks explanation. Consider adding a comment explaining why PHP 8.1 is incompatible with debug builds or Valgrind testing.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

Code Metrics Report

main (312d77b) #21 (1d32078) +/-
Coverage 84.0% 84.0% 0.0%
Details
  |           | main (312d77b) | #21 (1d32078) | +/-  |
  |-----------|----------------|---------------|------|
  | Coverage  |          84.0% |         84.0% | 0.0% |
  |   Files   |              3 |             3 |    0 |
  |   Lines   |            477 |           477 |    0 |
  |   Covered |            401 |           401 |    0 |

Reported by octocov

@zeriyoshi zeriyoshi merged commit 55af289 into main Aug 19, 2025
51 checks passed
@zeriyoshi zeriyoshi deleted the hotfix/php81alpine branch August 28, 2025 05:41
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.

2 participants