Skip to content

feat(cmd): add doctor cmd#1081

Open
XMLHexagram wants to merge 8 commits into
masterfrom
tdl-doctor-cmd
Open

feat(cmd): add doctor cmd#1081
XMLHexagram wants to merge 8 commits into
masterfrom
tdl-doctor-cmd

Conversation

@XMLHexagram

@XMLHexagram XMLHexagram commented Nov 8, 2025

Copy link
Copy Markdown
Collaborator

This PR provides a command to detect whether tdl works as expected. It is partially inspired by brew doctor.

The goal of this PR is to provide a diagnostic cmd for all issues related to

  • time synchronization
  • user login
  • network connectivity
  • local database corruption

Related issues:
#1044
#930
#893
#883
#781
#754
#595
#615
#65
#1009

@XMLHexagram XMLHexagram marked this pull request as ready for review November 8, 2025 02:01
@XMLHexagram XMLHexagram requested a review from iyear as a code owner November 8, 2025 02:01
Comment thread app/doctor/ntp.go
Comment thread app/doctor/doctor.go Outdated
Comment thread app/doctor/database.go Outdated
Comment thread app/doctor/database.go Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 13, 2025

Copy link
Copy Markdown

Deploying tdl-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d7fbe5f
Status: ✅  Deploy successful!
Preview URL: https://afbe122e.tdl-docs.pages.dev
Branch Preview URL: https://upgrade-go-gotd.tdl-docs.pages.dev

View logs

@XMLHexagram XMLHexagram requested a review from iyear November 13, 2025 01:14
@iyear

iyear commented Nov 23, 2025

Copy link
Copy Markdown
Owner

This PR won’t be included in v0.20.0 for now, since that release already contains many features. I’ll publish the doctor command in a new release once v0.20.0 is stable. A nice feature!

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.

2 participants