Branch: refs/heads/gh-readonly-queue/master/pr-7630-8aaff637faf982e650315a165d3b33ad33cf708a
Home:
https://github.com/google/syzkaller
Commit: 72524a6625c995608a7d179201dff2195b8d1f66
https://github.com/google/syzkaller/commit/72524a6625c995608a7d179201dff2195b8d1f66
Author: Aleksandr Nogikh <
nog...@google.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M pkg/aflow/backend/backend.go
M pkg/aflow/backend/gemini/gemini.go
M pkg/aflow/llm_agent.go
Log Message:
-----------
pkg/aflow/backend/gemini: retry model catalog queries
The Gemini API catalog endpoint (Models.All) can occasionally return
transient 503 errors. Since this query happens during provider
initialization (before the main aflow retry logic for generateContent
calls), a failure here causes the entire job to fail immediately.
Add a retry loop with exponential backoff around the catalog query
to handle these transient errors gracefully. Use the existing
parseLLMError function to ensure we only retry on retryable errors.
Extract the exponential backoff duration calculation to the backend
package so it can be shared between the agent and the provider.
To unsubscribe from these emails, change your notification settings at
https://github.com/google/syzkaller/settings/notifications