You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a turbo doctor command to be added.
In the discord, we often encounter people with issues setting up their repositories with continuous integration, and remote caching. These issues often occur due to incorrect credential configuration. Sometimes the workspace configuration is not setup correctly, and other times people are missing some fields in their turbo.json file.
Issues such as these can be found and diagnosed by the system itself, this is why I would like a turbo doctor command to be added.
Describe the solution you'd like
The solution I am proposing is a turbo doctor command, this command will go through some common setup errors that users of Turborepo make such as the ones above. This command can be seen as an 'issue diagnosing tool', some examples of the issues it could diagnose are:
Remote caching authentication incorrect or otherwise unavailable
Remote cache remaining storage at or close to limit
Missing workspaces configuration (should check specifically for the package manager being used)
Daemon status
It could also display a list of all discovered workspaces, and other info such as the current version of turbo, and the package manager detected.
To me, turbo doctor seems like the perfect name for this feature, as it describes its functionality, and the naming convention is also used by other tools such as Expo and React Native.
Describe alternatives you've considered
The only real other solution to this problem is to improve the documentation, though I doubt this will solve the problem adequately.
Mostly this feature would allow the quick diagnosis of common issues, lowering setup duration for new users, and giving more information to people helping with debugging.
This discussion was converted from issue #3310 on February 05, 2024 05:55.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
I would like a
turbo doctorcommand to be added.In the discord, we often encounter people with issues setting up their repositories with continuous integration, and remote caching. These issues often occur due to incorrect credential configuration. Sometimes the workspace configuration is not setup correctly, and other times people are missing some fields in their
turbo.jsonfile.Issues such as these can be found and diagnosed by the system itself, this is why I would like a
turbo doctorcommand to be added.Describe the solution you'd like
The solution I am proposing is a
turbo doctorcommand, this command will go through some common setup errors that users of Turborepo make such as the ones above. This command can be seen as an 'issue diagnosing tool', some examples of the issues it could diagnose are:turbo.json(circular dependencies, incorrect JSON, etc.)It could also display a list of all discovered workspaces, and other info such as the current version of turbo, and the package manager detected.
To me,
turbo doctorseems like the perfect name for this feature, as it describes its functionality, and the naming convention is also used by other tools such as Expo and React Native.Describe alternatives you've considered
The only real other solution to this problem is to improve the documentation, though I doubt this will solve the problem adequately.
Mostly this feature would allow the quick diagnosis of common issues, lowering setup duration for new users, and giving more information to people helping with debugging.
Let's make the setup of turbo go >>> FULL TURBO
Beta Was this translation helpful? Give feedback.
All reactions