Skip to content

Implement doctor command#72

Open
grishy wants to merge 2 commits into
mainfrom
sg/doctor
Open

Implement doctor command#72
grishy wants to merge 2 commits into
mainfrom
sg/doctor

Conversation

@grishy
Copy link
Copy Markdown
Owner

@grishy grishy commented May 24, 2026

No description provided.

@grishy grishy self-assigned this May 24, 2026
@grishy grishy changed the title Implement doctor server and CLI for health checks Implement doctor command May 24, 2026
@github-actions
Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 2 increase)

Impacted Packages Coverage Δ 🤖
github.com/grishy/any-sync-bundle/cmd 10.36% (-1.40%) 👎
github.com/grishy/any-sync-bundle/config 39.86% (+6.24%) 👍
github.com/grishy/any-sync-bundle/doctor 28.23% (+28.23%) 🌟
github.com/grishy/any-sync-bundle/integration 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/grishy/any-sync-bundle/cmd/doctor.go 3.85% (+3.85%) 26 (+26) 1 (+1) 25 (+25) 👍
github.com/grishy/any-sync-bundle/cmd/root.go 15.87% (+15.87%) 63 (+11) 10 (+10) 53 (+1) 🎉
github.com/grishy/any-sync-bundle/cmd/start.go 12.72% (-2.54%) 1659 (+414) 211 (+21) 1448 (+393) 👎
github.com/grishy/any-sync-bundle/config/bundle.go 39.87% (+6.22%) 637 (+123) 254 (+81) 383 (+42) 👍
github.com/grishy/any-sync-bundle/doctor/client.go 29.13% (+29.13%) 127 (+127) 37 (+37) 90 (+90) 🌟
github.com/grishy/any-sync-bundle/doctor/index.go 34.37% (+34.37%) 1388 (+1388) 477 (+477) 911 (+911) 🌟
github.com/grishy/any-sync-bundle/doctor/live.go 16.08% (+16.08%) 945 (+945) 152 (+152) 793 (+793) 🎉
github.com/grishy/any-sync-bundle/doctor/network.go 29.21% (+29.21%) 89 (+89) 26 (+26) 63 (+63) 🌟
github.com/grishy/any-sync-bundle/doctor/report.go 25.91% (+25.91%) 220 (+220) 57 (+57) 163 (+163) 🌟
github.com/grishy/any-sync-bundle/doctor/runner.go 31.47% (+31.47%) 1163 (+1163) 366 (+366) 797 (+797) 🌟
github.com/grishy/any-sync-bundle/doctor/server.go 26.89% (+26.89%) 383 (+383) 103 (+103) 280 (+280) 🌟
github.com/grishy/any-sync-bundle/doctor/types.go 0.00% (ø) 0 0 0
github.com/grishy/any-sync-bundle/integration/bundle.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/grishy/any-sync-bundle/cmd/doctor_test.go
  • github.com/grishy/any-sync-bundle/doctor/index_test.go
  • github.com/grishy/any-sync-bundle/doctor/live_test.go
  • github.com/grishy/any-sync-bundle/doctor/network_test.go
  • github.com/grishy/any-sync-bundle/doctor/report_test.go
  • github.com/grishy/any-sync-bundle/doctor/runner_test.go
  • github.com/grishy/any-sync-bundle/doctor/server_test.go
  • github.com/grishy/any-sync-bundle/integration/integration_test.go

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