Skip to content

ENH: Add Qodo PR-Agent workflow using Google Gemini - #1089

Merged
Gui-FernandesBR merged 2 commits into
developfrom
enh/add-pr-agent-gemini
Aug 8, 2026
Merged

ENH: Add Qodo PR-Agent workflow using Google Gemini#1089
Gui-FernandesBR merged 2 commits into
developfrom
enh/add-pr-agent-gemini

Conversation

@Gui-FernandesBR

Copy link
Copy Markdown
Member

Description

This PR integrates Qodo PR-Agent as a GitHub Action powered by Google Gemini (gemini-2.5-pro) to provide automated PR reviews, descriptions, and code suggestions tailored to RocketPy standards.

Changes Included

  • [NEW] .github/workflows/pr_agent.yml: Workflow running Codium-ai/pr-agent-action on PR events and issue comments.
  • [NEW] .pr_agent.toml: Configuration specifying gemini/gemini-2.5-pro model and custom RocketPy review instructions (PEP8, NumPy docstrings, SI units, position/orientation explicit references, and PR title rules).

Requirements for Repo Admin

Add your Google AI Studio API key as a GitHub Repository Secret:

  • Name: GEMINI_API_KEY
  • Location: Settings > Secrets and variables > Actions > New repository secret

@Gui-FernandesBR
Gui-FernandesBR requested a review from a team as a code owner August 1, 2026 15:18
Codium-ai/pr-agent-action no longer exists (the project moved to
the-pr-agent/pr-agent), which made the "Run PR Agent" check fail with
"Unable to resolve action". Updates the action reference, grants the
contents: write permission it now requires, and sets the Gemini key
via the GOOGLE_AI_STUDIO.GEMINI_API_KEY env var per the new action's docs.
@Gui-FernandesBR
Gui-FernandesBR force-pushed the enh/add-pr-agent-gemini branch from e2c13b0 to 796f325 Compare August 8, 2026 02:23
@Gui-FernandesBR
Gui-FernandesBR merged commit cb909f2 into develop Aug 8, 2026
8 checks passed
@Gui-FernandesBR
Gui-FernandesBR deleted the enh/add-pr-agent-gemini branch August 8, 2026 02:31
@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.55%. Comparing base (e0ff281) to head (796f325).
⚠️ Report is 24 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1089      +/-   ##
===========================================
+ Coverage    82.18%   82.55%   +0.37%     
===========================================
  Files          122      128       +6     
  Lines        16355    16555     +200     
===========================================
+ Hits         13441    13667     +226     
+ Misses        2914     2888      -26     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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