Dashboardopencode-lore_setTestVertexTokenProvider safety

_setTestVertexTokenProvider safety

Category: preference
Confidence: 1.00
ID: 01a0a9ac-d534-7675-9385-1c1d74c9aa2d
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0yjugA0mK4GfBAsLB
Created: 2026-09-16 10:04:31
Updated: 2026-09-16 10:04:31

Content

Never set _setTestVertexTokenProvider() in production. The seam exists only so Vertex routing, worker, and warmer tests avoid real Google Cloud ADC; tests must reset it with _setTestVertexTokenProvider(null) so production behavior returns to real credential discovery.

Move to: