Skip to content

Debug log #597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: staging
Choose a base branch
from
Open

Debug log #597

wants to merge 16 commits into from

Conversation

thewhaleking
Copy link
Contributor

@thewhaleking thewhaleking commented Aug 14, 2025

E2E TESTS WILL FAIL UNTIL ASYNC-SUBSTRATE-INTERFACE 1.5.2 IS RELEASED

Adds a new debug log with pertinent information.

File location settable by env var BTCLI_DEBUG_FILE (default ~/.bittensor/debug.txt)

To be paired with opentensor/async-substrate-interface#178 (tests will fail til 1.5.2 is released with this).

Each new command rewrites the debug log. Intended to be used for troubleshooting. Users can send us this information.

Use can definitely be expanded, but want to see if we get any use out of this before going down that road.

Also adds btcli --debug which will copy the file so that it is not overwritten to a user-specified place.

Sample debug export log:
debug.txt

First needs to be merged (in order):

  1. Fixes broken e2e tests bittensor#3020
  2. Release/1.5.2 async-substrate-interface#180

@thewhaleking thewhaleking requested a review from a team August 14, 2025 21:46
@thewhaleking thewhaleking self-assigned this Aug 14, 2025
@thewhaleking thewhaleking added the enhancement New feature or request label Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant