Repository navigation
fix(docker): use appwrite/base 2.2.7 for golang.org/x/net 0.61.0 in git-remote-entire - #14765
Conversation
…it-remote-entire base 2.2.6 ships git-remote-entire built against golang.org/x/net 0.59.0, which Trivy flags for five HTTP/2 advisories fixed in 0.60.0. base 2.2.7 rebuilds it from entireio/cli 0.12.0 with x/net 0.61.0. The benchmark PR comment also escapes backslashes before pipes in sample names, so a name ending in a backslash cannot swallow the cell delimiter.
|
Review complete. No issues found — approved ✅. The change contains a small escaping fix and a routine base-image bump, with no behavioral changes elsewhere.
Reviewed commit: 1f335c1 |
🟢 Tier S · Ready to merge
This PR updates the production and Xdebug Docker stages to use
📂 Walkthrough · 2
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 19 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
fix(docker): use appwrite/base 2.2.7 for golang.org/x/net 0.61.0 in git-remote-entire (cherry picked from commit 70205bb)
What
Bumps the server image to
appwrite/base:2.2.7(and its-xdebugvariant), and escapes backslashes in the benchmark PR comment table.Why
Trivy reports five
golang.org/x/net/http2advisories (CVE-2026-78659, CVE-2026-78660, CVE-2026-78663, CVE-2026-78669, CVE-2026-97032, fixed in 0.60.0) against/usr/local/bin/git-remote-entire. That binary comes from the base image: 2.2.6 builds it with x/net 0.59.0, and 2.2.7 (appwrite/docker-base#127) rebuilds it from entireio/cli 0.12.0 with x/net 0.61.0. I confirmed this from the build info in both published images (golang.org/x/net v0.59.0in 2.2.6,v0.61.0in 2.2.7, both built with Go 1.27.3). The only change between 2.2.6 and 2.2.7 is that binary.CodeQL flagged
.github/workflows/benchmark-comment.jsfor escaping|without escaping\first, so a sample name containing\|would end its table cell early. The fix escapes backslashes, then pipes, usingreplaceAll.Testing
node --checkon the script. The Docker build and the image scan run in CI.Related: appwrite-labs/cloud#6671