#43534·grpc

need a test ensuring that we're not polluting the global C symbol namespace

Author: markdrothCreated Sep 26, 2026Updated Sep 26, 2026
Labelskind/internal cleanuplang/corepriority/P3area/infra

I periodically see cases where we accidentally pollute the global C symbol namespace with arbitrary function names (example). We should have some sort of presubmit check to catch this kind of thing.

The test should build a gRPC library .a file and list out the symbols in that file. All symbols should be in one of the following categories:

  • starts with grpc_
  • in the grpc_core namespace
  • starts with tsi_
  • in the tsi namespace

(Those last two may go away at some point, but for now they're fair game.)

I think anything not in those categories is a bug that needs to be fixed.