Skip to content

feat: add code-coverage.datadog.yml for Datadog Code Coverage#800

Merged
kakkoyun merged 1 commit intomainfrom
add-code-coverage-config
Mar 13, 2026
Merged

feat: add code-coverage.datadog.yml for Datadog Code Coverage#800
kakkoyun merged 1 commit intomainfrom
add-code-coverage-config

Conversation

@ManuelPalenzuelaDD
Copy link
Contributor

Summary

Adds code-coverage.datadog.yml to configure Datadog Code Coverage ignore rules. This is a prerequisite for the coverage upload PR (#799) — the Datadog coverage reducer discovers this config file from the default branch via GitDB, so it must be merged to main before coverage uploads will apply ignore rules correctly.

Ignore rules

Excludes the following from coverage reporting (matching the existing Codecov behavior):

  • samples/ and _samples/ — test fixture directories
  • _tools/ — build tooling
  • dot_ast.proxies.go — generated proxy file

Includes both repo-relative paths and glob patterns to handle the Go module path resolver's suffix-matching limitation (where _samples Go module maps to samples/ directory on disk).

Context

Part of the Codecov → Datadog Code Coverage migration. See #799 for the full upload integration.

🤖 Generated with Claude Code

Add ignore rules for files that should be excluded from coverage reporting:
- samples/ and _samples/ directories (test fixtures)
- _tools/ directory (build tooling)
- Generated proxy files (dot_ast.proxies.go)

Includes both resolved (repo-relative) and unresolved (full Go module import)
path patterns to handle the GoCoverprofilePathResolver suffix matching limitation
when Go module names differ from filesystem directory names.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ManuelPalenzuelaDD ManuelPalenzuelaDD requested a review from a team as a code owner March 12, 2026 15:46
@darccio darccio changed the title Add code-coverage.datadog.yml for Datadog Code Coverage feat: add code-coverage.datadog.yml for Datadog Code Coverage Mar 12, 2026
@github-actions github-actions bot added the conventional-commit/feat Feature work label Mar 12, 2026
@kakkoyun kakkoyun added this pull request to the merge queue Mar 13, 2026
Merged via the queue into main with commit ac52a42 Mar 13, 2026
65 of 66 checks passed
@kakkoyun kakkoyun deleted the add-code-coverage-config branch March 13, 2026 10:00
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.71%. Comparing base (e061d12) to head (e69907d).
⚠️ Report is 65 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #800      +/-   ##
==========================================
+ Coverage   65.72%   69.71%   +3.98%     
==========================================
  Files         113      116       +3     
  Lines        7926     6900    -1026     
==========================================
- Hits         5209     4810     -399     
+ Misses       2192     1537     -655     
- Partials      525      553      +28     
Components Coverage Δ
Generators 83.23% <ø> (+2.98%) ⬆️
Instruments ∅ <ø> (∅)
Go Driver 75.58% <65.38%> (-0.23%) ⬇️
Toolexec Driver 74.78% <100.00%> (+7.25%) ⬆️
Aspects 76.97% <75.78%> (+5.06%) ⬆️
Injector 77.17% <77.14%> (+4.38%) ⬆️
Job Server 68.16% <55.55%> (+2.24%) ⬆️
Other 69.71% <65.33%> (+3.98%) ⬆️
see 108 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants