Skip to content

♻️ Rename E2E intake server to Datadog proxy#4737

Open
watson wants to merge 1 commit into
mainfrom
watson/refactor-e2e
Open

♻️ Rename E2E intake server to Datadog proxy#4737
watson wants to merge 1 commit into
mainfrom
watson/refactor-e2e

Conversation

@watson
Copy link
Copy Markdown
Collaborator

@watson watson commented Jun 6, 2026

Motivation

The E2E "intake" server now handles more than captured SDK event intake. It also acts as the local proxy for Datadog-facing endpoints, including debugger probe delivery. Calling the whole server "intake" made the framework API misleading.

Changes

  • Rename the shared E2E server from intake to datadogProxy.
  • Split the Express server app from the test control API, so endpoint serving and test-only state manipulation are separate.
  • Rename serverApps/intake.ts to serverApps/datadogProxy.ts.
  • Add a debugger-specific Datadog proxy augmentation for the debugger Delivery API route and control plane.
  • Expose datadogProxyControl in E2E test context and update existing debugger scenarios to use it directly.

Test instructions

  • yarn lint
  • yarn typecheck

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

Copy link
Copy Markdown
Collaborator Author

watson commented Jun 6, 2026

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented Jun 6, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 171.86 KiB 171.86 KiB 0 B 0.00%
Rum Profiler 7.88 KiB 7.88 KiB 0 B 0.00%
Rum Recorder 21.21 KiB 21.21 KiB 0 B 0.00%
Logs 54.31 KiB 54.31 KiB 0 B 0.00%
Rum Slim 129.69 KiB 129.69 KiB 0 B 0.00%
Worker 22.96 KiB 22.96 KiB 0 B 0.00%

@datadog-official
Copy link
Copy Markdown

datadog-official Bot commented Jun 6, 2026

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 76.72% (+0.00%)

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

The E2E server now models more than event intake: it also serves
Datadog-facing endpoints such as debugger probe delivery. Rename the
framework server to datadogProxy so its role is clearer.

Split the Express server app from the test control API so endpoint serving
and test-only state manipulation are modeled separately.
@watson watson force-pushed the watson/refactor-e2e branch from 231f77d to 4964263 Compare June 6, 2026 17:10
@watson watson marked this pull request as ready for review June 6, 2026 18:35
@watson watson requested review from a team as code owners June 6, 2026 18:35
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