Skip to content

Commit 63536bf

Browse files
authored
Merge pull request #202 from ai-agent-assembly/v0.1.0/AAASM-4001/config/align_codecov_scope
[AAASM-4001] 🔧 (ci): Align Codecov measured scope to SonarCloud
2 parents a75b74c + cf27d3e commit 63536bf

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

codecov.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ coverage:
1010
target: 90%
1111
threshold: 5%
1212

13-
# Mirror sonar.coverage.exclusions (sonar-project.properties): exclude the same
14-
# path from Codecov's coverage denominator so both tools measure the identical
15-
# scope. Without this, Codecov counts agent_assembly/types.py while SonarCloud
16-
# does not, producing a spurious cross-tool coverage delta (AAASM-3962).
13+
# Mirror SonarCloud's excluded set (sonar-project.properties) so Codecov measures
14+
# the identical scope; a differing file set is the residual cross-tool coverage
15+
# delta (AAASM-3999).
16+
# - agent_assembly/types.py mirrors sonar.coverage.exclusions (AAASM-3962).
17+
# - agent_assembly/proto/** mirrors sonar.exclusions: the protoc-generated
18+
# *_pb2.py / *_pb2_grpc.py tree is not hand-maintained and Sonar drops it
19+
# from analysis entirely; without this Codecov still counts its near-zero
20+
# generated-code coverage, dragging the headline % ~1.5pt below Sonar.
1721
ignore:
1822
- "agent_assembly/types.py"
23+
- "agent_assembly/proto/**"

0 commit comments

Comments
 (0)