Skip to content

Refresh OCI8 images on PHP updates and validate native clients - #35

Merged
dbpolito merged 3 commits into
mainfrom
fix/derived-php-freshness
Nov 14, 2026
Merged

dbpolito merged 3 commits into
mainfrom
fix/derived-php-freshness

Conversation

@dbpolito

@dbpolito dbpolito commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Why

The sampled published 8.4-oci8-nginx image still contains PHP 8.4.17 while its parent has 8.4.27. This repository did not listen for upstream PHP rebuild events, and its 8.2/8.3 generated Dockerfiles had drifted from the PECL-install template.

  • Handle only the post-Swoole-publication docker-php-swoole-updated event, retaining explicit fresh-parent --pull and preventing publication from PR events. Upstream PHP's parent cron propagates through Swoole to OCI8; no redundant downstream cron or direct PHP receiver. Recover missed delivery with manual workflow_dispatch on main after the parents publish.
  • Serialize release workflows by ref. Cancel only superseded PR runs and restrict push builds to main to avoid duplicate PR matrices.
  • Align all generated variants with the existing PECL-based template and enforce consistency.
  • Replace duplicate/module-only tests with checks of exact parent/runtime PHP agreement, OCI8 and Instant Client loading, and the expected Oracle no-listener error on loopback.

All twelve amd64 variants were built locally with --pull and passed: PHP 8.2.35 / 8.3.36 / 8.4.27, each nginx/swoole-nginx dev/prod, OCI8 3.4.1 and Instant Client 11.2.0.4.0. Workflow actionlint, generated-file checks, and Bash syntax checks pass. The native-client test has a 30-second bound and uses the normal bridge because the legacy client hangs with Docker's --network none.

No images were published. Upstream must configure and validate the PHP → Swoole → OCI8 dispatch chain; maintainers must publish/verify supported tags. Legacy third-party mutable, unchecked Oracle 11.2 x64 downloads remain a documented provenance/compatibility risk; ARM and live database authentication/queries/TLS are not covered.

@dbpolito dbpolito mentioned this pull request Nov 13, 2026
@dbpolito
dbpolito merged commit 1614523 into main Nov 14, 2026
3 checks passed
@dbpolito
dbpolito deleted the fix/derived-php-freshness branch November 14, 2026 13:51
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.

1 participant