Repository navigation
test(ffe): validate Ruby agentless EVP delivery and fallback - #8189
Draft
leoromanovsky wants to merge 5 commits into
Draft
leoromanovsky wants to merge 5 commits into
leoromanovsky wants to merge 5 commits into
Conversation
Contributor
|
|
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 11 Pipeline jobs failed
ℹ️ InfoNo other issues found (see more)❄️ No new flaky tests detected Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 4549589 | Docs | View more details | Give us feedback! |
This branch has not been deployed
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.
Motivation
Ruby needs system coverage for agentless exposure and flag-evaluation delivery when a local receiver fails. This enables the contracts for dd-trace-rb #6574.
Changes
Enable Rails 7.2 coverage through a full Agent, serverless-init, and direct HTTPS mock intake, including runtime shutdown. Twelve fault scenarios cover 404, 405, 403, 429, 503, and connection loss after reading the request body for each writer.
Assertions check payload replay, future-batch routing, evaluation values, duplicate delivery, origin headers, and credential isolation. Responses 403/429/503 retain local delivery; 404/405 replay once; ambiguous failures switch only future batches. Other SDKs and unvalidated Ruby contracts remain gated.
Fault cases use a three-second response settle; delayed senders can cause timing failures. Activation depends on the Ruby implementation above.
Validation
DataDog/dd-trace-rb@b8c93df58c3eb7945dd536b60cac71741deeacddDataDog/system-tests@3948230151ab3881e8f7b79c6e3d51cbebf1f118DataDog/dd-trace-rb@b8c93df58c3eb7945dd536b60cac71741deeacddDataDog/system-tests@454958979d69b523f4042837dcec762c0683ea24Workflow
system-tests-reviewers: ask to one of youre co-worker familiar with the tested feature.system-tests-core(slack)🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟