From 09206169191ddfb30c9c82d35cef8ad6822d270f Mon Sep 17 00:00:00 2001 From: Joey Zhao <5253430+joeyzhao2018@users.noreply.github.com> Date: Wed, 23 Sep 2026 15:13:24 -0400 Subject: [PATCH 1/2] chore: raise compressed layer size limit to 9728 KB ddtrace 4.15.x grew the amd64 layers past the 9231 KB limit (3.14-amd64 is 9538 KB, 3.11-3.13 are 9238-9283 KB). Nearly all of the growth is in ddtrace's native extension (_native.so, +401 KB compressed), led by DataDog/dd-trace-py#19631 (+233 KB). Raise the limit to 9.5 MB to unblock CI while the size regression is addressed upstream. Co-Authored-By: Claude Opus 5.5 (1M context) --- scripts/check_layer_size.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_layer_size.sh b/scripts/check_layer_size.sh index de9a8c4d..f7409781 100755 --- a/scripts/check_layer_size.sh +++ b/scripts/check_layer_size.sh @@ -8,7 +8,7 @@ # Compares layer size to threshold, and fails if below that threshold set -e -MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 9 \* 1024 + 15) # 9231 KB +MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 9 \* 1024 + 512) # 9728 KB MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 25 \* 1024) # 25600 KB From 4d282ded6d87d7aaf74d45c5f46bd89f34cf696c Mon Sep 17 00:00:00 2001 From: Joey Zhao <5253430+joeyzhao2018@users.noreply.github.com> Date: Wed, 23 Sep 2026 16:40:33 -0400 Subject: [PATCH 2/2] chore: raise compressed layer size limit to 10 MB Leave ~700 KB of headroom over the current largest layer (py3.14-amd64, 9538 KB) so the next few ddtrace releases don't immediately re-block CI. Co-Authored-By: Claude Opus 5.5 (1M context) --- scripts/check_layer_size.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_layer_size.sh b/scripts/check_layer_size.sh index f7409781..7a3ecbed 100755 --- a/scripts/check_layer_size.sh +++ b/scripts/check_layer_size.sh @@ -8,7 +8,7 @@ # Compares layer size to threshold, and fails if below that threshold set -e -MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 9 \* 1024 + 512) # 9728 KB +MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 10 \* 1024) # 10240 KB MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 25 \* 1024) # 25600 KB