Files
seaweedfs/seaweed-block/core/ops
pingqiuandClaude Opus 5.5 7fff8f288e fold: injected failback dial through link.DialWith; AST guard covers raw client constructors and import aliases
- link.DialWith(target, opts...) builds a link with exactly the caller's
  options (no default credentials); the failback runtime uses it for injected
  options, so its prior semantics hold and no production file calls
  grpc.NewClient directly.
- The guard parses every non-test file and finds grpc.NewClient / Dial /
  DialContext / NewServer and insecure.NewCredentials under any import name
  (alias or dot import); a detector test proves each form is found and a
  link-only file is clean; routing failback back to grpc.NewClient fails the
  guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 06:38:41 -08:00
..