Skip to content

Commit 7bab156

Browse files
drpcdebug: remove dead package
The drpcdebug package provided build-tag-gated debug logging that was activated only when building with `-tags=debug`. Investigation shows it was effectively dead code: - No CI configuration or Makefile ever enabled the debug build tag - No tests validated the debug-enabled code path - CockroachDB (the primary consumer) never used it - Last substantive change was in June 2021 - Only 4 callsites existed, all now replaced by Logger.Debugf All functionality has been migrated to the Logger interface introduced in the previous commits. The drpcdebug package is no longer imported anywhere and can be safely deleted. Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
1 parent 7b73c9f commit 7bab156

5 files changed

Lines changed: 1 addition & 73 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,5 @@ DRPC is proud to get as much done in as few lines of code as possible. It's the
210210
| storj.io/drpc/drpcctx | 41 |
211211
| storj.io/drpc/internal/drpcopts | 30 |
212212
| storj.io/drpc/drpcstats | 25 |
213-
| storj.io/drpc/drpcdebug | 22 |
214213
| storj.io/drpc/drpcenc | 15 |
215-
| **Total** | **3611** |
214+
| **Total** | **3589** |

drpcdebug/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

drpcdebug/doc.go

Lines changed: 0 additions & 8 deletions
This file was deleted.

drpcdebug/log_disabled.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

drpcdebug/log_enabled.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)