Skip to content

feat: slim down the zip ddtrace package#753

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 10 commits intomainfrom
juanjux/remove-ddtrace-stuff
Mar 23, 2026
Merged

feat: slim down the zip ddtrace package#753
gh-worker-dd-mergequeue-cf854d[bot] merged 10 commits intomainfrom
juanjux/remove-ddtrace-stuff

Conversation

@juanjux
Copy link
Contributor

@juanjux juanjux commented Mar 19, 2026

What does this PR do?

Remove some vestigial things, text files and unused libs.

# sizes are slightly lower because ARM64
ls -lsh *.zip                                                                                         
8.9M -rw-r--r-- 1 juanjo.alvarez staff 8.9M Mar 19 12:47 normal.zip
8.5M -rw-r--r-- 1 juanjo.alvarez staff 8.5M Mar 19 12:57 postPR.zip

How

I build the layer with:

ARCH=arm64 PYTHON_VERSION=3.11 DD_TRACE_COMMIT_BRANCH=main ./scripts/build_layers.sh

And with the help of the clanker started to look into things that should be 100% safe to delete.

Motivation

Not having new ddtrace releases blocked by the package size.

Related: DataDog/dd-trace-py#17020

juanjux added 10 commits March 19, 2026 13:01
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
@juanjux juanjux self-assigned this Mar 19, 2026
@juanjux juanjux requested review from a team as code owners March 19, 2026 16:23
@juanjux juanjux requested a review from shreyamalpani March 19, 2026 16:23
Copy link
Contributor

@purple4reina purple4reina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juanjux
Copy link
Contributor Author

juanjux commented Mar 20, 2026

e2e tests are passing gitlab.ddbuild.io/DataDog/serverless-e2e-tests/-/pipelines/103542598

So... approve? @purple4reina :)

Copy link
Contributor

@rithikanarayan rithikanarayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! lol at the clanker attribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants