[bug] errata-daily label stage fails with engine timeout because Audit.ts passes no…
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- ai-infra-agents
Research direction
The missing timeout is at the judgeMany call in LIFEOS/ERRATA/Audit.ts (around line 473); read that call together with the neighbouring LIFEOS/ERRATA/Triage4.ts:315, which already passes timeoutMs: CALL_TIMEOUT_MS. Then check how DEFAULT_TIMEOUT_MS is applied in LIFEOS/ASSAY/Engine.ts (defined near line 59, used near 423) so you understand the fallback being bypassed. Done means the audit call passes an explicit per-call timeout and a full-pool nightly run of Errata.ts daily no longer reports engine timeout. Note the reporter already has this patch running locally, so check with them before opening a pull request.
Written by the indexing model from the issue text.
Description
What happened
errata-daily label stage fails with engine timeout because Audit.ts passes no timeoutMs to judgeMany, so each call gets the 3 s hook default
Summary
Errata.ts daily fails its label stage with engine timeout: The operation was aborted. whenever the audit pool holds more than a handful of candidates.
Cause. LIFEOS/ERRATA/Audit.ts:473 calls judgeMany(items, questions, { caller: "errata-audit" }) with no timeoutMs. Each engine call then falls back to DEFAULT_TIMEOUT_MS = 3000 (LIFEOS/ASSAY/Engine.ts:59, applied at :423), which is sized for hooks that call the engine on every turn. The time budget Errata.ts computes reaches only the pool-level withTimeout around the call (Audit.ts:472-476), never the individual request.
Effect (present at 8.761.0, fb9aef4). All candidates go out concurrently (up to 32), and a pool of 15+ calls to @cf/cloudflare/clef-omni often exceeds 3 s per call: on one nightly run 23 candidates were sent, all 23 hit the 3 s limit, and the retry left 18 failed, so the daily run exited 1. Failed rows are retried the next night, so no labels are lost, but the run reads red and labels arrive a day late.
Suggested fix. Pass a per-call timeout the way the neighbouring LIFEOS/ERRATA/Triage4.ts:315 already does (timeoutMs: CALL_TIMEOUT_MS, 15 s):
() => (opts.judgeMany ?? judgeMany)(items, questions, { caller: "errata-audit", timeoutMs: 15_000 }),
I have this applied locally as a patch; the next nightly run with a full pool is the confirmation.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- Dominant language
- TypeScript
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from danielmiessler/LifeOS
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
danielmiessler/LifeOS#2941 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
danielmiessler/LifeOS#2940 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
danielmiessler/LifeOS#2939 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
danielmiessler/LifeOS#2938 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
danielmiessler/LifeOS#2936 ·
Maintainers usually reply within 4 days
All issues in danielmiessler/LifeOS
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
drydocs/meridian#1503 · 1 comment ·
Maintainers usually reply within 2 days
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
bug extension mcp
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationPossibly taken @roboclaw-bot claimed this today. Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 1/5 Under an hour Newbie friendliness 78/100
openclaw/openclaw#204323 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day