Skip to content

Harden gemini_brain: env key, retry/backoff, tests & CI#1

Open
atherion005-byte wants to merge 2 commits into
mainfrom
chore/harden-gemini
Open

Harden gemini_brain: env key, retry/backoff, tests & CI#1
atherion005-byte wants to merge 2 commits into
mainfrom
chore/harden-gemini

Conversation

@atherion005-byte
Copy link
Copy Markdown
Owner

@atherion005-byte atherion005-byte commented Jan 2, 2026

Replace hard-coded Gemini API key with environment variable (GOOGLE_API_KEY); add exponential backoff for 429 rate-limits; add unit tests (mocked) and CI workflow; add .env.example and requirements-dev.txt.\n\n---\n### PR checklist \n- [ ] CI passes on GitHub Actions (python-tests.yml)\n- [ ] At least one reviewer assigned\n- [ ] Add brief release notes in PR description or changelog\n- [ ] Merge after CI is green and review complete\n\n> Note: current CI runs have failing checks; see Actions runs for details.

@atherion005-byte
Copy link
Copy Markdown
Owner Author

Created follow-up issues: #2 (Migrate to google.genai) and #3 (Investigate failing CI runs). Please see /assign if you'd like to take these on.

@atherion005-byte
Copy link
Copy Markdown
Owner Author

Triage update: I inspected the failing workflow runs and found the root cause: GitHub Actions jobs did not start because the account is locked due to a billing issue (see check-run annotation). This blocks CI runs recommended next steps: 1) resolve billing/invoice for the GitHub account or organization, or 2) add a self-hosted runner until billing is cleared. Once Actions are restored, re-run the tests and merge if CI is green.

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