Skip to content

tests: Expect onlinestatuschng -> Unknown after test#38

Merged
syyyr merged 1 commit into
mainfrom
fix-race-condition
Oct 27, 2025
Merged

tests: Expect onlinestatuschng -> Unknown after test#38
syyyr merged 1 commit into
mainfrom
fix-race-condition

Conversation

@syyyr
Copy link
Copy Markdown
Collaborator

@syyyr syyyr commented Oct 27, 2025

No description provided.

@github-actions
Copy link
Copy Markdown

Code coverage report for 0f467f6

Coverage difference

✅ All new changes were covered.

Filename Stmts Miss Cover Missing
src/sites.rs +1 0 +0.04%
TOTAL +1 0 +0.01%

Overall coverage

Click to expand
Filename Stmts Miss Cover Missing
src/alarm.rs 225 80 64.44% 28-38, 44-46, 49-50, 56-124, 130, 136, 140-148, 157, 199, 229
src/sync.rs 648 253 60.96% 61-62, 72, 80, 88, 97, 148, 150-151, 170, 175, 191, 234-240, 315-332, 339-341, 352-361, 436, 484-698, 721, 779, 786-809, 819, 824, 861-880, 884, 888-898
src/typeinfo.rs 632 283 55.22% 33-34, 66-68, 74, 97-99, 107, 114-115, 128, 132, 140, 153-206, 212-214, 220-238, 258, 271, 280-282, 286-288, 313-328, 343-344, 361-362, 373-378, 384, 392, 425-427, 430-432, 448-454, 499-512, 535-537, 576-595, 620-622, 629-750, 767-773, 783-795, 904-906, 913, 923, 933-935, 943-949, 988-996, 1006-1022, 1034-1036
src/cleanup.rs 52 24 53.85% 51-90
src/lib.rs 42 42 0.00% 29-110
src/dirtylog.rs 423 22 94.80% 72, 95-99, 106-107, 122, 131-133, 147-151, 188-192, 200-201, 232
src/datachange.rs 110 6 94.55% 79-83, 88
src/journalrw.rs 540 107 80.19% 78, 102, 143, 165, 172, 181, 195, 203-206, 213, 236-244, 260, 288-290, 304-341, 363-368, 372, 375, 389, 392-396, 401, 405-406, 411-412, 416-417, 421-422, 443-445, 465-466, 488-514, 524-525, 529-530, 534-535, 539-540, 544-545, 549-550, 554-555, 559-560, 570-571, 575, 580-581, 696
src/tree.rs 1395 811 41.86% 106-990, 1115, 1125-1131, 1176, 1180-1184, 1211-1353
src/util.rs 284 49 82.75% 36, 63-64, 67-70, 72, 97, 153-176, 190, 207, 229, 234-244, 248, 259, 266, 273, 300, 314, 448-453
src/sites.rs 571 116 79.68% 59, 166-198, 210-211, 231-263, 294-306, 380, 413-414, 419-426, 484-490, 520-533, 541, 573-575, 579, 583, 596-599, 605-607, 611, 626-633
src/sync/tests.rs 180 0 100.00%
src/bin/hp.rs 51 51 0.00% 44-106
TOTAL 5153 1844 64.22%

HTML reports

You can use GitHub CLI to download HTML coverage reports and open them automatically using this command:

(cd "$(mktemp -d)" && gh run -R silicon-heaven/historyprovider-rs download -n historyprovider-rs-cov-html-0f467f6e338e519792763a11830bad1ebe508e3d && ls -1 | xargs -n1 xdg-open)

You can download the HTML reports manually here.

@syyyr syyyr merged commit ea947b4 into main Oct 27, 2025
2 checks passed
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.

1 participant