Skip to content

Raise the default inbox.silent_minutes from 10 to 31 #1500

Open

Description

@JacobStephens2

Proposal

Raise the default inbox.silent_minutes from 10 to 31 in the next release.

Why

Healthy work regularly goes more than 10 minutes without writing to either log, so the default produces false Silent rows in status, show, the Console and Needs you:

31 minutes clears both of those 1800-second ceilings with a minute to spare. On orchestrate.etadventures.com the User config has been set to 31 as a stopgap since 2026-10-27.

Cost

  • A Run that has actually hung shows as Silent after 31 minutes instead of 10, and the warning escalates at 93 minutes instead of 30.
  • A ScheduleWakeup delay can be as long as 3600 s, so a delay over 31 minutes still produces a false Silent.
  • The default is described as 10 in docs/guide.md (lines 225, 554 and 640), in src/config.rs (the doc comment at 44 and the template at 906), and in docs/grill-with-docs/711-live-runs.md. All of them would need updating.

Decision for the Day shift

Should the default change, or should #1499 and #1495 be fixed so that the 10-minute default stops producing false alarms? If those two are fixed first, raising the default isn't needed.

Related

#1499, #1495, #815.

Activity

  1. added
    needs-triage
    on Oct 27, 2026
  2. JacobStephens2 commented on Oct 27, 2026

    @JacobStephens2
    OwnerAuthor

    Before choosing a number, triage should look at how long silences have actually lasted, instead of reasoning from the two cases above.

    Suggested method:

    • For every Session trace and Command log, measure each gap between consecutive records within a stage. Use the later of the two logs, matching how the Silent check counts them.
    • Mark each gap as healthy or hung. Healthy means the Run later continued or ended normally. Hung means it was killed or timed out, or the gap ended the Run.
    • Report the distribution of healthy gaps by stage and Harness: p50, p90, p99 and max. Report the hung gaps' lengths separately. Count how many healthy gaps each candidate threshold (10, 15, 20, 31) would have flagged, and how much later each one would have caught the hung Runs.
    • Note what caused the longest healthy gaps (ScheduleWakeup, foreground test runs, review subagents, Experiment Trials). Some causes may be better handled by A Run shows as Silent while its session waits on a ScheduleWakeup or background task #1499 or An Experiment shows as Silent in Needs you while a Trial runs longer than inbox.silent_minutes #1495 than by the threshold.

    Available data: orchestrate.etadventures.com has 107 Session traces and 77 Command records, all from 2026-10-23 to 2026-10-27. Pool other machines' logs if they go back further.

  3. JacobStephens2 commented on Oct 28, 2026

    @JacobStephens2
    OwnerAuthor

    Silence history on orchestrate.etadventures.com

    I measured every gap of a minute or more between consecutive records in a stage's Session trace and Command log, across all 147 Runs recorded on this machine (2026-10-20 to 2026-10-27; all on Claude Code; 167 gaps in thirdshift, 180 in orchestration, 6 in tourbot). Dispatch stages are excluded, matching the Silent check.

    No Run hung. No gap ended a Run. All 31 failed Runs failed fast with a stated cause ("no PR found", "Tickets not done", "the local branch issue-765 is not on origin"). That means this data shows the false-alarm side of each threshold, but nothing about how much later a higher one would catch a real hang.

    Threshold Gaps at or over it Runs affected (of 147)
    10 min (current default) 14 11
    15 min 5 5
    20 min 1 1
    31 min 0 0

    The 355 gaps of a minute or more: p50 129 s, p90 500 s, p99 992 s, max 1715 s.

    Every gap of 10 minutes or more was a deliberate wait:

    What it suggests

    • 31 min would have produced no false alarms, but only because nothing reached it: the longest gap was 28.5 min.
    • With A Run shows as Silent while its session waits on a ScheduleWakeup or background task #1499 fixed for both ScheduleWakeup and background-task waits, the longest remaining gaps would be about 10 min, and a default of 15 would have flagged none of them.
    • Hung Runs are the missing evidence. If other machines have any, their gap lengths should go in this table before the default is chosen.

    Edited: an earlier version reported a 12-minute CI watch gap in #1438. That was an artifact of the analysis, not a real gap. This machine's zone changed from +0000 to -0400 on 2026-10-27, and two Command logs (#1438, orchestration#764) span the change. The script now follows the offset change.

    Method: a script reading *.command.json stages, Session traces (both .jsonl timestamps and .logs.jsonl observed times) and Command log times.

  4. added
    ready-for-human
    enhancement
    and removed
    needs-triage
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions