Skip to content

chore: remove dead Tool interface and HandleInvoke function - #1919

Open
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-dead-tool-interface-and-handleinvoke-aed26e
Open

chore: remove dead Tool interface and HandleInvoke function#1919
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-dead-tool-interface-and-handleinvoke-aed26e

Conversation

@detail-app

@detail-app detail-app Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Remove the unused Tool interface and package-level HandleInvoke
function from framework/provisioning/bootstrap.go.

  • Tool interface: zero references anywhere in the codebase. Carried an
    explicit // XXX remove Tool when all the uses are gone. comment; that
    condition was satisfied.
  • HandleInvoke function: zero callers. Its sole historical consumer
    (internal/testdata/datastore/keygen/keygen.go) was removed in Dec 2022.

The (*MatchingHandlers).HandleInvoke method, InvokeFunc type, and
invokeHandler field remain in handlers.go as they are still-wiring
public API that the live handlersHandler.Invoke gRPC method reads.

History

  • Last materially changed April 2022 (8903529)

Dead Code PRs can be configured here.

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