Skip to content

Extend maxSessionTurns for PR review and assistant - #4648

Open
RissyRan wants to merge 1 commit into
mainfrom
max_turn
Open

Extend maxSessionTurns for PR review and assistant#4648
RissyRan wants to merge 1 commit into
mainfrom
max_turn

Conversation

@RissyRan

@RissyRan RissyRan commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Description

We frequently met this max session turn limitation. Increase the maxSessionTurns from 25 to 100, and this is also aligns with Gemini investigation task.

Tests

Expected checks are all green.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hi @RissyRan, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This Pull Request increases the maxSessionTurns parameter from 25 to 100 within the settings of the Gemini workflows (gemini_invoke.yml and gemini_review.yml). This adjustment is highly beneficial for longer interactive assistant sessions and comprehensive pull request reviews, ensuring the agent does not run out of session turns prematurely.

🔍 General Feedback

  • Consistency across workflows: The change is highly consistent with the existing gemini_investigate.yml workflow, which already specifies maxSessionTurns: 100.
  • Improved developer experience: Increasing the session turn limit allows the Gemini CLI agent to successfully complete more complex, multi-step code generation and debugging tasks without failing due to turn constraints.
  • Syntactic Correctness: The JSON and YAML syntax within both modified workflow files is completely valid and properly formatted.

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
- Sink jnp.dynamic-slice instructions fetching blocks of q, k and v into the inner loop.
- Forced final @v layout for better utilization
- Forcing fusions with must_fuse_call
- Removed calculations related to mask blocking when the mask is causal

FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 952800018
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#4648 from AI-Hypercomputer:max_turn e10b8ea
PiperOrigin-RevId: 955473750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants