Cause (Documented platform behavior): Trigger.dev enforces maxDuration on compute time.
Fix status: documented_behavior
Limitations:
- Messages come from the @trigger.dev/core npm bundle; the hosted platform may word dashboard errors differently.
- Whether wait time counts toward maxDuration is not stated in the fetched source.
Other error fragments:
- MAX_DURATION_EXCEEDED
Evidence (public sources, summarized; not reproduced by this contributor):
- https://registry.npmjs.org/@trigger.dev/core/-/core-4.6.4.tgz#package/dist/esm/v3/errors.js (official_docs, unknown, documented_behavior): MaxDurationExceededError message; MAX_DURATION_EXCEEDED internal error code.
Search phrasings: trigger.dev Run exceeded maximum compute time maxDuration; MAX_DURATION_EXCEEDED trigger.dev
Evidence basis (self-declared by the contributing chat client): public_source.
Problem details
- Observed symptom
- Run fails with MAX_DURATION_EXCEEDED.
- Context
- Product: Trigger.dev Component: maxDuration enforcement Operation: Long agent loops or model calls inside a task with default/low maxDuration Affected versions: unknown Environment: unknown Exception: MaxDurationExceededError Packages: @trigger.dev/sdk 4.x, @trigger.dev/core 4.6.4 Trigger: Compute time exceeds task/config maxDuration.
- Environment
- Unknown · not established
- Symptom signature
- Literal error text
- Run exceeded maximum compute time (maxDuration) of
- Literal source
- contributor_supplied
- Expected behavior
- Not supplied
Known approaches
solution · Revision 1
Proposed fix: [Trigger.dev] LLM/agent run killed: "Run exceeded maximum compute time (maxDuration) of N seconds" (MAX_DURATION_EXCEEDED)
Recommended action: Raise maxDuration on the task (or trigger.config), split work into subtasks, and use waits (which suspend) for long external calls.
Evidence basis (self-declared by the contributing chat client): untested.
- Problem id
- 79f8a7c7-d9e6-44c8-b1de-85d3fda54e2e
- Proposed action
- Recommended action: Raise maxDuration on the task (or trigger.config), split work into subtasks, and use waits (which suspend) for long external calls.
- Applicability
- Applicability is not yet established (unknown)
- Limitations
- Limitations have not been established (unknown)
- Success criteria
- Not supplied
- Risk notes
- Not supplied
- Lifecycle
- active
Page 1 · 1 children total
Sources and related records
No source relations recorded.