Skip to content

fix: replace arbitrary 5-minute pulse time budget with goal-based completion#2466

Merged
marcusquinn merged 1 commit intomainfrom
fix/pulse-time-budget
Feb 27, 2026
Merged

fix: replace arbitrary 5-minute pulse time budget with goal-based completion#2466
marcusquinn merged 1 commit intomainfrom
fix/pulse-time-budget

Conversation

@marcusquinn
Copy link
Owner

Summary

  • Replaces the arbitrary 5-minute time limit with "run until the job is done, then exit"
  • The job is done when: all ready PRs merged, all worker slots filled, TODOs synced, systemic issues filed

Why

The 5-minute limit was itself a deterministic rule — exactly the kind of thing we just removed in PR #2465. A pulse should take as long as it needs to complete one pass through all repos and act on everything it finds. That might be 30 seconds (nothing to do) or 10 minutes (8 repos, 6 dispatches). An arbitrary timer would cut it short or be irrelevant.

…n exit'

The 5-minute limit was a deterministic rule that contradicts the
intelligence-over-scripts principle. A pulse should run until all ready
PRs are merged, all worker slots are filled, TODOs are synced, and
systemic issues are filed — then exit. That might be 30 seconds or
10 minutes depending on the workload.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 27, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 20 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between e34a5a6 and a9f37fb.

📒 Files selected for processing (1)
  • .agents/scripts/commands/pulse.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/pulse-time-budget

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 and usage tips.

@github-actions github-actions bot added the bug Auto-created from TODO.md tag label Feb 27, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors the operational logic of the 'pulse' process by removing a rigid 5-minute execution time limit. This change allows the pulse to run dynamically, completing all its assigned tasks—such as merging PRs, filling worker slots, syncing TODOs, and filing issues—before exiting, rather than being prematurely cut off by an arbitrary timer. This ensures thoroughness and adaptability based on the workload, aligning with the principle of completing the job rather than adhering to an arbitrary deadline.

Highlights

  • Pulse Execution Logic: Replaced the arbitrary 5-minute time limit for the 'pulse' process with a goal-based completion strategy, ensuring the process runs until all defined tasks are completed.
  • Documentation Update: Updated the .agents/scripts/commands/pulse.md file to reflect the new execution guidelines, emphasizing job completion over a strict time budget.
Changelog
  • .agents/scripts/commands/pulse.md
    • Updated the guidance for the 'pulse' command to reflect the new goal-based completion criteria instead of a fixed time budget.
    • Modified the 'NEVER' rule regarding execution time to emphasize complete job execution over a strict time limit.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 36 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Fri Feb 27 14:25:10 UTC 2026: Code review monitoring started
Fri Feb 27 14:25:11 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 36

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 36
  • VULNERABILITIES: 0

Generated on: Fri Feb 27 14:25:13 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

@marcusquinn marcusquinn merged commit 63dba16 into main Feb 27, 2026
16 checks passed
@marcusquinn marcusquinn deleted the fix/pulse-time-budget branch February 27, 2026 14:27
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request replaces an arbitrary 5-minute time limit for the supervisor pulse with a goal-based completion criterion, ensuring the pulse runs until all necessary tasks are completed. The changes involve updating the AGENTS.md file to reflect this new approach. The review suggests clarifying the completion criteria using bullet points and mentioning the trade-off of removing the time limit.

4. **NEVER include private repo names** in public issue titles/bodies/comments.
5. **NEVER exceed MAX_WORKERS.** Count before dispatching.
6. **NEVER run longer than 5 minutes.** Exit and let the next pulse continue.
6. **Do your job completely, then exit.** Don't loop or re-analyze — one pass through all repos, act on everything, exit.

Choose a reason for hiding this comment

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

medium

The phrase "Do your job completely, then exit." is more direct and actionable than the original. To ensure 'completely' is well-understood, add a bullet-pointed list clarifying the specific criteria for job completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Auto-created from TODO.md tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant