acoustic-carpenter-78188
04/22/2026, 6:15 PMClusterAwareDataProxy._select_and_build creates a new SessionConfig for the per-cluster DataProxy endpoint but doesn't carry over the original session's auth credentials.
• Impact: All non-interactive auth (CI/CD using FLYTE_API_KEY) silently falls back to PKCE on image builder uploads → hangs waiting for browser. Works locally only because macOS Keychain caches a token from prior PKCE sessions.
• Repro: FLYTE_API_KEY=... flyte deploy --copy-style none ... on a Linux runner with no keyring backend.
• Fix: Persist the api_key on SessionConfig and forward it when creating a new session for a different endpoint.
flyteorg/flyte-sdkacoustic-carpenter-78188
04/22/2026, 7:00 PM