[EXPERIMENTAL] AppSec snapshot generation with unreleased tracer#147
Draft
Strech wants to merge 2 commits into
Draft
[EXPERIMENTAL] AppSec snapshot generation with unreleased tracer#147Strech wants to merge 2 commits into
Strech wants to merge 2 commits into
Conversation
Switch layer build from ruby:X.Y (Debian) to public.ecr.aws/lambda/ruby:X.Y so native extensions compile against Lambda's actual glibc/libffi. After datadog gem install, uninstall precompiled FFI (missing Ruby 3.2 ABI) and reinstall from source. Fixes cold-start LoadError on ffi_c with DD_APPSEC_ENABLED=true on Ruby 3.2. Also adds MAKEFLAGS parallelization and --no-document to gem installs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c392f42 to
10eb199
Compare
|
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.
Combines PR #144 (AppSec setup) with PR #146 (build layer from dd-trace-rb branch) to test snapshot generation with unreleased tracer code.
What's here
git_refDockerfile support from build layer using dd-trace branch #146 (cherry-picked)update-snapshotsworkflow (workflow_dispatch) that:git_refinput to build dd-trace-rb from sourceUPDATE_SNAPSHOTS=trueHow to use
git_refto the dd-trace-rb branch with AppSec aws_lambda instrumentation🤖 Generated with Claude Code