Skip to content

Disable background polling on inactivity#39

Merged
aleclarson merged 3 commits intomainfrom
jules-444821704545156403-13a2b532
Mar 8, 2026
Merged

Disable background polling on inactivity#39
aleclarson merged 3 commits intomainfrom
jules-444821704545156403-13a2b532

Conversation

@aleclarson
Copy link
Owner

Suspend background polling operations (updateCurrentBranchIfClean and refreshPRs) if the "View Pull Requests" command has not been invoked within the last 5 minutes. This reduces API requests and saves resources for users who aren't actively monitoring pull requests. The polling automatically resumes upon interacting with the command.


PR created automatically by Jules for task 444821704545156403 started by @aleclarson

@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits March 8, 2026 16:24
Suspend background polling operations (`updateCurrentBranchIfClean` and `refreshPRs`) if the "View Pull Requests" command has not been invoked within the last 5 minutes. This reduces API requests and saves resources for users who aren't actively monitoring pull requests. The polling automatically resumes upon interacting with the command.

Co-authored-by: aleclarson <1925840+aleclarson@users.noreply.github.com>
Suspend background polling operations (`updateCurrentBranchIfClean` and `refreshPRs`) if the "View Pull Requests" command has not been invoked within the last 5 minutes. This reduces API requests and saves resources for users who aren't actively monitoring pull requests. The polling automatically resumes upon interacting with the command.

Added CHANGELOG.md entry to satisfy CI requirements.

Co-authored-by: aleclarson <1925840+aleclarson@users.noreply.github.com>
@aleclarson aleclarson force-pushed the jules-444821704545156403-13a2b532 branch from 14ea881 to 884feee Compare March 8, 2026 20:25
@aleclarson aleclarson merged commit 3da98c1 into main Mar 8, 2026
@aleclarson aleclarson deleted the jules-444821704545156403-13a2b532 branch March 8, 2026 20:26
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