HTTP · rule
route.deadline_invalid
Route deadline is not a duration up to 60 seconds.
Area 7, HTTP; not declinable; the next step is usually the agent's.
A deadline is above zero and at most 60 seconds:
type Memo = Text { max_length: 200}type MemoId = Uuid {}type AddMemo = Input { text: Memo}type MemoView = Output { text: Memo}action add_memo(input: AddMemo) -> MemoView { return MemoView { text: input.text }}routes Memos { prefix: /memos POST / { input: AddMemo output: MemoView deadline: 90s run: add_memo(input) }}
error: `90s` can't be a route's deadline --> main.jadpo:27:19 |27 | deadline: 90s | ^^^ outside 1 ms to 60 s reason: A route's deadline is a duration above zero and at most 60 seconds; longer work answers `SuccessStatus.accepted` and carries on in a subscriber. next: Write a duration such as `30s`, or leave `deadline:` out for the 10-second default (agent) rule: route.deadline_invalid help: https://jadpo.dev/docs/errors/route.deadline_invalidcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/route.deadline_invalid.md.Built from Jadpo main at a707efb.