Skip to content

hotfix: restore t314 timeout values overwritten by concurrent PR merges#1219

Merged
marcusquinn merged 1 commit intomainfrom
hotfix/restore-t314-timeouts
Feb 12, 2026
Merged

hotfix: restore t314 timeout values overwritten by concurrent PR merges#1219
marcusquinn merged 1 commit intomainfrom
hotfix/restore-t314-timeouts

Conversation

@marcusquinn
Copy link
Owner

@marcusquinn marcusquinn commented Feb 12, 2026

Summary

  • Restores worker timeout values from t314 that were overwritten by concurrent PR merges
  • SUPERVISOR_WORKER_TIMEOUT: 1800s → 3600s (1h)
  • SUPERVISOR_WORKER_MAX_RUNTIME: 7200s → 14400s (4h)

Root Cause

PRs #1216 (t303) and #1218 (t311.2) were branched before #1215 (t314) merged. Their squash-merges overwrote the timeout changes because they touched the same file. t311.2 then failed again at 1825s with the old 1800s timeout.

Ref #1215

Summary by CodeRabbit

  • Chores
    • Extended worker health check timeouts: increased inactivity timeout from 30 minutes to 1 hour and maximum runtime from 2 hours to 4 hours, allowing longer-running operations to complete without interruption.

t303 (#1216) and t311.2 (#1218) were branched before t314 (#1215) merged,
so their squash-merges overwrote the timeout changes. Restoring:
- SUPERVISOR_WORKER_TIMEOUT: 1800 -> 3600 (1h)
- SUPERVISOR_WORKER_MAX_RUNTIME: 7200 -> 14400 (4h)
@gemini-code-assist
Copy link

Summary of Changes

Hello @marcusquinn, 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 addresses a regression where previously established worker timeout configurations were reverted due to conflicting merges from concurrently developed branches. The changes reinstate the intended longer timeout durations for supervisor workers, preventing premature termination of long-running tasks and improving system stability.

Highlights

Changelog
  • .agents/scripts/supervisor-helper.sh
    • Updated the default value for SUPERVISOR_WORKER_TIMEOUT to 3600 seconds.
    • Updated the default value for SUPERVISOR_WORKER_MAX_RUNTIME to 14400 seconds.
Activity
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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Walkthrough

The pull request increases timeout thresholds in the worker health check logic of the supervisor helper script. The per-worker inactivity timeout doubles from 30 minutes to 1 hour, and the absolute maximum runtime limit doubles from 2 hours to 4 hours.

Changes

Cohort / File(s) Summary
Worker Health Check Configuration
.agents/scripts/supervisor-helper.sh
Updated Phase 4 worker health check timeout values: per-worker inactivity timeout increased from 1800s to 3600s; absolute max runtime increased from 7200s to 14400s.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

⏰ More time for workers to complete their quest,
With patience doubled, they'll do their best,
From thirty to sixty, two hours to four,
Health checks grow generous, no workers ignored! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main purpose: restoring previously-set timeout values that were accidentally reverted by concurrent PR merges, which directly matches the changeset modifications and PR objectives.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch hotfix/restore-t314-timeouts

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
Copy link

🔍 Code Quality Report

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

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

�[0;34m[INFO]�[0m Recent monitoring activity:
Thu Feb 12 12:22:07 UTC 2026: Code review monitoring started
Thu Feb 12 12:22:08 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 15

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 15
  • VULNERABILITIES: 0

Generated on: Thu Feb 12 12:22:10 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

@marcusquinn marcusquinn merged commit 3a5215b into main Feb 12, 2026
10 of 11 checks passed
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.agents/scripts/supervisor-helper.sh:
- Around line 10512-10515: The inline comment above the
worker_max_runtime_seconds assignment is stale (it reads "Default 2 hours")
while the variable SUPERVISOR_WORKER_MAX_RUNTIME is set to 14400 (4 hours);
update that comment to state "Default 4 hours" (or "4 hour default") so it
matches the value and the existing parenthetical note, ensuring clarity for the
assignment to worker_max_runtime_seconds.

Comment on lines 10512 to +10515
# Absolute max runtime: kill workers regardless of log activity.
# Prevents runaway workers (e.g., shellcheck on huge files) from accumulating
# and exhausting system memory. Default 2 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-7200}" # 2 hour default
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix stale runtime comment (now 4 hours).
The comment still says “Default 2 hours” but the new default is 14400s (4h). Please update the comment to avoid operator confusion.

🔧 Suggested fix
-# and exhausting system memory. Default 2 hours.
+# and exhausting system memory. Default 4 hours.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Absolute max runtime: kill workers regardless of log activity.
# Prevents runaway workers (e.g., shellcheck on huge files) from accumulating
# and exhausting system memory. Default 2 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-7200}" # 2 hour default
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)
# Absolute max runtime: kill workers regardless of log activity.
# Prevents runaway workers (e.g., shellcheck on huge files) from accumulating
# and exhausting system memory. Default 4 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)
🤖 Prompt for AI Agents
In @.agents/scripts/supervisor-helper.sh around lines 10512 - 10515, The inline
comment above the worker_max_runtime_seconds assignment is stale (it reads
"Default 2 hours") while the variable SUPERVISOR_WORKER_MAX_RUNTIME is set to
14400 (4 hours); update that comment to state "Default 4 hours" (or "4 hour
default") so it matches the value and the existing parenthetical note, ensuring
clarity for the assignment to worker_max_runtime_seconds.

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 hotfix correctly restores the worker timeout values that were overwritten in a previous merge. The changes look good. I've added one suggestion to update a related comment to ensure consistency and prevent future confusion.

Comment on lines 10514 to +10515
# and exhausting system memory. Default 2 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-7200}" # 2 hour default
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)

Choose a reason for hiding this comment

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

medium

The comment on line 10514 is now out of date with the new default value. It should be updated to reflect the change from 2 hours to 4 hours to maintain consistency between the code and its documentation.

Suggested change
# and exhausting system memory. Default 2 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-7200}" # 2 hour default
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)
# and exhausting system memory. Default 4 hours.
local worker_max_runtime_seconds="${SUPERVISOR_WORKER_MAX_RUNTIME:-14400}" # 4 hour default (t314: restored after merge overwrite)

@marcusquinn marcusquinn deleted the hotfix/restore-t314-timeouts branch February 21, 2026 01:59
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