Add Datadog code coverage upload#43
Draft
ManuelPalenzuelaDD wants to merge 5 commits intoDataDog:mainfrom
Draft
Conversation
Adds DataDog/coverage-upload-github-action step after the existing Codecov upload in the dev workflow test job. Both systems run in parallel to verify coverage parity before migrating off Codecov. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pin DataDog/coverage-upload-github-action@v1 to commit SHA d2cf302a39c05e0ad22063360a2bf6ce0cc4906c for supply chain security. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The DataDog/coverage-upload-github-action uses install-datadog-ci-github-action internally, which resolves script paths using github.action_path. In Docker container jobs, this host path is not accessible inside the container, causing "No such file or directory" errors. Using the CLI directly via curl avoids this issue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🎯 Code Coverage (details) 🔗 Commit SHA: 8351ce5 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
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.
What does this PR do?
We're migrating Datadog repositories from Codecov to Datadog Code Coverage for tracking test coverage. This PR is the first step: it adds a Datadog coverage upload alongside the existing Codecov upload so we can run both systems in parallel and verify parity before switching over.
Changes
DataDog/coverage-upload-github-action@v1step after the existing Codecov upload in thedev.ymlworkflow test jobDD_API_KEY_CI_APPsecret (already available in the repo for CI Visibility)llvm-cov export)continue-on-error: trueso it cannot block CIWhy are we doing this?
As part of a company-wide effort, we're consolidating code coverage reporting into Datadog's own Code Coverage product. This gives us:
Validation
Pending —
dev.ymltriggers on push only (not PRs), so the Datadog upload will run after merge.Next steps (not in this PR)
Once this PR is merged and we've confirmed Datadog coverage is stable over several commits:
CODECOV_TOKENsecretcode-coverage.datadog.ymlNo action needed from reviewers beyond normal review
This is a low-risk, additive change. The new upload step runs independently of the existing CI pipeline and cannot cause test failures.