Skip to content

chore: add Datadog Code Coverage upload, remove CodeCov#3548

Draft
nikita-tkachenko-datadog wants to merge 3 commits into
developfrom
nikita.tkachenko/dd-sdk-android-add-dd-coverage
Draft

chore: add Datadog Code Coverage upload, remove CodeCov#3548
nikita-tkachenko-datadog wants to merge 3 commits into
developfrom
nikita.tkachenko/dd-sdk-android-add-dd-coverage

Conversation

@nikita-tkachenko-datadog

Copy link
Copy Markdown
Contributor

Summary

  • Onboard dd-sdk-android to Datadog Code Coverage by properly wiring the datadog-ci coverage upload step in the test:kover CI job: add --service dd-sdk-android, export DATADOG_API_KEY from Vault, and remove the || true that was silently swallowing failures.
  • Remove all CodeCov artifacts: ci/scripts/codecov.sh (the uploader script), .codecov.yml (config), the DD_ANDROID_SECRET__CODECOV_TOKEN secret reference in ci/scripts/vault_config.sh, and the bash <(cat ./ci/scripts/codecov.sh) upload line from the test:kover CI job.

Test plan

  • Verify test:kover job runs to completion and coverage is visible in Datadog Code Coverage UI after merge.
  • Confirm no CodeCov upload attempts are made (no CodeCov token needed, secret can be retired from Vault).

🤖 Generated with Claude Code

Onboard dd-sdk-android to Datadog Code Coverage by wiring the existing
datadog-ci coverage upload step in test:kover properly (add --service
flag, export DATADOG_API_KEY, remove || true). Remove all CodeCov
artifacts: the codecov.sh uploader script, .codecov.yml config, the
CODECOV_TOKEN secret reference in vault_config.sh, and the bash codecov
upload line from the kover CI job.

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@datadog-official

datadog-official Bot commented Jun 17, 2026

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/dd-sdk-android | test:kover   View in Datadog   GitLab

Useful? React with 👍 / 👎

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

nikita-tkachenko-datadog and others added 2 commits June 17, 2026 15:56
Remove invalid --service flag (not supported by datadog-ci coverage upload),
remove redundant and unexported DATADOG_API_KEY assignment, and drop the
broken inline DATADOG_API_KEY= prefix. DD_API_KEY is already exported and
is the correct env var used by datadog-ci.

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The global npm install puts the binary in a directory not on PATH in
GitLab CI, causing 'datadog-ci: command not found'. Switch to npx
which resolves and runs the package without a global install.

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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