Repository navigation
fix: update base image to 2.0.4 for libcurl shutdown cleanup - #13496
Merged
Merged
Conversation
Contributor
Greptile SummaryUpdates Appwrite’s production and XDebug base images from 2.0.0 to 2.0.4 to incorporate the upstream libcurl shutdown cleanup.
Confidence Score: 5/5The PR appears safe to merge, with no actionable correctness, security, or repository-rule issues identified. The narrowly scoped tag bump preserves matching production and XDebug versions and remains consistent with the Dockerfile’s existing PHP and extension contracts. Important Files Changed
Reviews (1): Last reviewed commit: "fix: update base image to 2.0.4 for libc..." | Re-trigger Greptile |
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
2 of 4 tasks
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.
Update the production and XDebug base images from 2.0.0 to 2.0.4. The new base requires libcurl 8.22.0, which fixes retained TLS shutdown connections in the socket-action API used by Swoole's curl hook. This brings the upstream socket/memory leak fix into Appwrite without changing its HTTP transport or connection pooling.
Also includes the intervening base-image PHP and extension dependency updates. Production and development use matching base versions.
Base release: https://github.com/appwrite/docker-base/releases/tag/2.0.4 (merged appwrite/docker-base#102).
Validation: base-image CI passed on AMD64 and ARM64. The tested base delivered 2,400/2,400 synthetic Sentry events without exporter errors or accumulating descriptors, and 400 keep-alive requests used one TCP connection. Appwrite production and DEBUG=true development images both build against the released 2.0.4 tags. Production loads PHP 8.5.10, Swoole 6.2.2, and libcurl 8.22.0 with XDebug absent; the debug image loads XDebug successfully. The production image's unchanged Span bootstrap delivered 400/400 synthetic Sentry events with zero exporter errors, 9 final FDs, and zero CLOSE_WAIT sockets. Appwrite CI is running. Staging and production deployment have not been performed.