Skip to content
Discussion options

You must be logged in to vote

got it. here’s the catalog link. this case usually maps to No.14 “Bootstrap ordering” in my notes, where a long-lived client keeps accumulating per-call metadata and the fix must be at the orchestration layer, not at HTTP.

Link: [WFGY Problem Map — README]

quick checks you can try right now:

  • re-init the Vertex client per worker or add a reset hook so request middleware does not append twice.
  • assert the x-goog-api-client length is stable across 10 calls. if it grows, strip or rebuild the header each call.
  • avoid module-level mutable user-agent builders. pass a fresh copy of headers into each async task.
  • if you pool clients, add a guard that dedupes the header before send.

if you want I ca…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@eecarus
Comment options

@onestardao
Comment options

Answer selected by eecarus
Comment options

You must be logged in to vote
1 reply
@onestardao
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants