Skip to content

fix: Only exclude files inside the repo#3246

Merged
0xnm merged 1 commit into
developfrom
jward/relative-path-test
Mar 11, 2026
Merged

fix: Only exclude files inside the repo#3246
0xnm merged 1 commit into
developfrom
jward/relative-path-test

Conversation

@fuzzybinary

Copy link
Copy Markdown
Member

What does this PR do?

Fix an issue where GenerateCompilerMetaTask was ignoring all files in the repo if the path contained "test" anywhere in the path. Instead, make the path relative before checking if "test" is in the path.

Motivation

This is to fix an issue where the integration test library wants to include the SDK as a submodule / composite build.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Fix an issue where GenerateCompilerMetaTask was ignoring all files in the repo if the path contained "test" anywhere in the path. Instead, make the path relative before checking if "test" is in the path.

This is to fix an issue where the integration test library wants to include the SDK as a submodule / composite build.
@datadog-official

This comment has been minimized.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.34%. Comparing base (d16f4b0) to head (28daa1f).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3246      +/-   ##
===========================================
- Coverage    71.37%   71.34%   -0.04%     
===========================================
  Files          938      938              
  Lines        34667    34648      -19     
  Branches      5874     5872       -2     
===========================================
- Hits         24743    24717      -26     
- Misses        8278     8280       +2     
- Partials      1646     1651       +5     

see 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xnm
0xnm requested a review from a team March 11, 2026 09:47
@0xnm
0xnm merged commit 8ac3425 into develop Mar 11, 2026
27 checks passed
@0xnm
0xnm deleted the jward/relative-path-test branch March 11, 2026 09:52
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.

3 participants