fix(e2e): give fakeintakes distinct ECS families #60785
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 326 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.346
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #60785"
general
weight: 0.35
pgimalac
<!-- dd-meta {"pullId":"00000000-0000-0000-0000-000000000000","source":"chat","resourceId":"88214c5d-3913-4c1b-8314-4871cc11761e","workflowId":"5b511829-2eb5-4258-a11c-0c4d167c8d9e","codeChangeId":"5b511829-2eb5-4258-a11c-0c4d167c8d9e","sourceType":"code_channel"} -->
What does this PR do?
Add
fakeintake.WithTaskFamilyName(name)to configure an AWS ECS fakeintake's task definition family. The stack name is prepended automatically. Keepfakeintake-ecsas the default and configure distinct families in the agent-runtimes and remote-config multi-fakeintake provisioners. Use the configured family in the logged dashboard link and document the option in test/e2e-framework/AGENTS.md.Functional changes
| Before | After |
| --- | --- |
| Two fakeintakes in one Pulumi stack register concurrent revisions of the same ECS family and can fail provisioning. | The multi-fakeintake suites explicitly use distinct families:
<stack>-fakeintake-1-ecs/<stack>-fakeintake-2-ecsand<stack>-fakeintake-main-ecs/<stack>-fakeintake-failover-ecs. || Single-fakeintake suites and hardcoded dashboard filters use
<stack>-fakeintake-ecs. | The default family stays<stack>-fakeintake-ecs, preserving existing dashboard links. |Motivation
Fix the reported ECS RegisterTaskDefinition failures in TestMultiFakeintakeSuite and the remote-config main/failover suite:
Too many concurrent attempts to create a new revision of the specified family. Example failing job: https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/2269454723Describe how you validated your changes
bazel build //test/e2e-framework/scenarios/aws/fakeintake:fakeintake //test/new-e2e/tests/agent-runtimes:agent-runtimes_test //test/new-e2e/tests/remote-config:remote-config_test.gofmt.Additional Notes
Multi-fakeintake stacks must pass a distinct
WithTaskFamilyNamevalue for each intake. Existing callers retain the historical family by default.---
PR by Bits - View session in Datadog • Open in Slack
Comment @datadog to request changes