Skip to content

fix(heartbeat): deliver every heartbeat and count only the user's activity - #18

Merged
AnnatarHe merged 12 commits into
mainfrom
claude/loving-cerf-xohla2
Oct 24, 2026
Merged

AnnatarHe merged 12 commits into
mainfrom
claude/loving-cerf-xohla2

test: run the version check against a local server, stop daemon threads

3c68c44
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Oct 24, 2026 in 1s

43.31% (target 60.00%)

View this Pull Request on Codecov

43.31% (target 60.00%)

Details

Codecov Report

❌ Patch coverage is 66.47887% with 119 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...lin/xyz/shelltime/jetbrains/config/ConfigLoader.kt 50.00% 5 Missing and 17 partials ⚠️
...time/jetbrains/services/ShellTimeProjectService.kt 0.00% 19 Missing ⚠️
...lin/xyz/shelltime/jetbrains/actions/FlushAction.kt 0.00% 17 Missing ⚠️
...helltime/jetbrains/heartbeat/HeartbeatCollector.kt 0.00% 12 Missing ⚠️
...tlin/xyz/shelltime/jetbrains/utils/ProjectUtils.kt 7.69% 6 Missing and 6 partials ⚠️
...tlin/xyz/shelltime/jetbrains/ui/StatusBarWidget.kt 0.00% 10 Missing ⚠️
...yz/shelltime/jetbrains/actions/ShowStatusAction.kt 0.00% 9 Missing ⚠️
...z/shelltime/jetbrains/heartbeat/HeartbeatSender.kt 89.83% 4 Missing and 2 partials ⚠️
...n/kotlin/xyz/shelltime/jetbrains/utils/GitUtils.kt 14.28% 5 Missing and 1 partial ⚠️
...z/shelltime/jetbrains/services/ShellTimeService.kt 0.00% 3 Missing ⚠️
... and 2 more

❌ Your project check has failed because the head coverage (43.31%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage.

Impacted file tree graph

@@             Coverage Diff             @@
##             main      #18       +/-   ##
===========================================
+ Coverage   14.21%   43.31%   +29.09%     
===========================================
  Files          20       23        +3     
  Lines         802      972      +170     
  Branches      184      231       +47     
===========================================
+ Hits          114      421      +307     
+ Misses        669      487      -182     
- Partials       19       64       +45     
Files with missing lines Coverage Δ
...kotlin/xyz/shelltime/jetbrains/config/Constants.kt 100.00% <100.00%> (ø)
.../xyz/shelltime/jetbrains/config/ShellTimeConfig.kt 100.00% <100.00%> (+66.66%) ⬆️
...helltime/jetbrains/listeners/FileEditorListener.kt 0.00% <ø> (ø)
...lin/xyz/shelltime/jetbrains/socket/SocketClient.kt 87.14% <100.00%> (+87.14%) ⬆️
...otlin/xyz/shelltime/jetbrains/utils/LanguageIds.kt 100.00% <100.00%> (ø)
...xyz/shelltime/jetbrains/heartbeat/HeartbeatData.kt 72.72% <75.00%> (-0.45%) ⬇️
.../xyz/shelltime/jetbrains/heartbeat/OfflineStore.kt 81.81% <81.81%> (ø)
...z/shelltime/jetbrains/services/ShellTimeService.kt 0.00% <0.00%> (ø)
...z/shelltime/jetbrains/heartbeat/HeartbeatSender.kt 84.04% <89.83%> (+84.04%) ⬆️
...n/kotlin/xyz/shelltime/jetbrains/utils/GitUtils.kt 5.55% <14.28%> (+5.55%) ⬆️
... and 7 more

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 853aca5...3c68c44. Read the comment docs.

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