This rule enforces that theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/aurelienbobenrieth/gadget/llms.txt
Use this file to discover all available pages before exploring further.
timeoutMS property in Gadget action options does not exceed the maximum allowed value of 900000ms (15 minutes). Gadget enforces this limit at runtime, so exceeding it will cause the action to fail.
Rule Details
This rule checks thetimeoutMS property in the options export and reports an error if the value exceeds 900000 (15 minutes). The rule only validates literal number values.
Severity: Error
Auto-fixable: Yes
Examples
Incorrect
Correct
Auto-fixes
The rule automatically clamps values that exceed the maximum to 900000:String values for
timeoutMS are ignored by this rule, as they will be caught by the action-no-invalid-options rule.When to Use
This rule is included in therecommended config and should always be enabled for Gadget projects. It prevents runtime errors by ensuring timeout values are within Gadget’s limits.