Remove PHP opentelemetry extension to re-enable JIT on 8.5#68
Merged
Conversation
Its observer hooks override zend_execute_ex and disable opcache JIT on PHP 8.5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR removes the Confidence Score: 5/5Safe to merge; the removal is complete and consistent across Dockerfile, tests, and changelog. All references to opentelemetry are correctly removed with no leftover artifacts, the test suite is updated in lockstep, and the version bump is appropriate for a potentially breaking removal. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "Remove PHP opentelemetry extension" | Re-trigger Greptile |
ChiragAgg5k
approved these changes
May 1, 2026
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.
Summary
opentelemetryPECL extension from the default image. Its observer hooks overridezend_execute_ex, which causes opcache to refuse to enable JIT on PHP 8.5.opentelemetrybuild stage, version env, COPY, anddocker-php-ext-enableentry from the Dockerfile.opentelemetryassertion fromtests.yaml.Test plan
docker build --no-cache --tag appwrite/base:latest .succeedscontainer-structure-test test --config tests.yaml --image appwrite/base:latestpassesdocker run appwrite/base:latest php -mno longer listsopentelemetryopcache.jit=tracing+opcache.jit_buffer_size>0,php --ri opcachereports JIT enabled (no "JIT is incompatible with third party extensions that override zend_execute_ex" warning)🤖 Generated with Claude Code