1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Codecov Configuration for AletheiaDB
# Enforces the coverage thresholds defined in CLAUDE.md
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: 85% # Line coverage target (current: 86.45%)
threshold: 2% # Allow 2% drop before failing
if_ci_failed: error
patch:
default:
target: 85% # New code should meet same standard
threshold: 2%
if_ci_failed: error
# Configure PR comments
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: false
require_head: true
# Ignore patterns
ignore:
- "benches/**/*" # Benchmark code
- "examples/**/*" # Example code
- "tests/**/*" # Integration tests
- "**/tests.rs" # Test modules
- "**/test_*.rs" # Test files
- "python/**/*" # Python SDK Rust glue — exercised by pytest, not cargo test
# Component tracking
flag_management:
default_rules:
carryforward: true
# Only process lcov format from CI
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: yes
# GitHub integration
github_checks:
annotations: true