Skip to content

[EXPERIMENTAL] AppSec snapshot generation with unreleased tracer#147

Draft
Strech wants to merge 2 commits into
mainfrom
experimental/appsec-snapshot-generation
Draft

[EXPERIMENTAL] AppSec snapshot generation with unreleased tracer#147
Strech wants to merge 2 commits into
mainfrom
experimental/appsec-snapshot-generation

Conversation

@Strech
Copy link
Copy Markdown
Member

@Strech Strech commented May 7, 2026

⚠️ Experimental — do not merge

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

How to use

  1. Go to Actions → "update-snapshots" → Run workflow
  2. Select this branch
  3. Set git_ref to the dd-trace-rb branch with AppSec aws_lambda instrumentation
  4. Download snapshot artifacts when complete

🤖 Generated with Claude Code

Strech and others added 2 commits May 19, 2026 12:56
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>
@Strech Strech force-pushed the experimental/appsec-snapshot-generation branch from c392f42 to 10eb199 Compare May 19, 2026 10:58
@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented May 19, 2026

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 3 Pipeline jobs failed

DataDog/datadog-lambda-rb | build layer (3.3, arm64)   View in Datadog   GitLab

🔄 Retry job. This looks flaky and may succeed on retry. Job failed: execution took longer than 1h0m0s seconds due to timeout.

DataDog/datadog-lambda-rb | build layer (4.0, arm64)   View in Datadog   GitLab

🔄 Retry job. This looks flaky and may succeed on retry. Job failed: execution took longer than 1h0m0s seconds due to timeout.

update-snapshots | update-snapshots (4)   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Missing value for CLI parameter '--stage' during deployment.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 10eb199 | Docs | Datadog PR Page | Give us feedback!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant