Skip to content

Add safe SerpApi backup key failover - #5

Merged
hoangsvit merged 1 commit into
mainfrom
agent/serpapi-key-failover
Aug 21, 2026
Merged

Add safe SerpApi backup key failover#5
hoangsvit merged 1 commit into
mainfrom
agent/serpapi-key-failover

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

  • support up to 3 configured SerpApi secrets
  • use backup keys only when the current key fails for a non-quota reason
  • stop immediately on quota/rate-limit responses instead of switching credentials
  • keep the existing flight tracking schedule and price alert flow unchanged

Secrets

Configure any of these in Settings → Secrets and variables → Actions:

  • SERPAPI_API_KEY
  • SERPAPI_API_KEY_2
  • SERPAPI_API_KEY_3

The workflow prefers the first configured key and only falls back when a key is invalid/revoked or a transient non-quota error occurs.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f2a53f9a-3fbc-46ae-a22a-0459a1bfe9c2


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

🌍 Web preview

Preview is pinned to commit 0cde48f and updates automatically when the PR changes.

@hoangsvit
hoangsvit merged commit 7b6becb into main Aug 21, 2026
2 checks passed
@hoangsvit
hoangsvit deleted the agent/serpapi-key-failover branch August 21, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant