feat: add code-coverage.datadog.yml for Datadog Code Coverage#800
Merged
feat: add code-coverage.datadog.yml for Datadog Code Coverage#800
Conversation
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>
darccio
approved these changes
Mar 12, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 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
🚀 New features to boost your workflow:
|
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.
Summary
Adds
code-coverage.datadog.ymlto 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 tomainbefore 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 toolingdot_ast.proxies.go— generated proxy fileIncludes both repo-relative paths and glob patterns to handle the Go module path resolver's suffix-matching limitation (where
_samplesGo module maps tosamples/directory on disk).Context
Part of the Codecov → Datadog Code Coverage migration. See #799 for the full upload integration.
🤖 Generated with Claude Code