cli.watch_timed_out
A jadpo watch command's --timeout passed before jadpo dev ran what it watches as often as it waited for.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
An agent starts jadpo watch in the background, triggers a flow, and
waits for the command to end. When the flow never reaches the code
watched, or jadpo dev isn't running, nothing matches. Ending with
an error, rather than with nothing, tells the agent the flow didn't run
that code, so it doesn't read an empty result as success.
What it looks like
Nothing is running the app, so nothing in app.jadpo runs within the
timeout:
jadpo watch file app.jadpo --timeout 1msjadpo watch, file app.jadpo, until stopped, for 1msWaiting for `jadpo dev` to run it; values are shown in full, on this machineonly.error: No run of file `app.jadpo` in 1ms reason: `jadpo watch` sees what `jadpo dev` runs on this machine, and it ran nothing that matched before the timeout. next: Check `jadpo dev` is running, trigger the flow after starting the watch, or give a longer `--timeout` (agent) rule: cli.watch_timed_out help: https://jadpo.dev/docs/errors/cli.watch_timed_out
(agent) at the end of the next: line means your coding agent can make
the fix itself.
How to fix it
If jadpo dev isn't running, start it, then start the watch before
triggering the flow:
jadpo devWith jadpo dev serving the app, a watch started before the flow sees
each run of the code it names.
If the flow doesn't reach the code, watch the route it starts at, or the domain, to see where it goes instead:
jadpo watch domain planning --once --timeout 30sIt now shows the first run of any of the domain's code, so you can see which step the flow reached.
Related
Markdown for agents: /docs/errors/cli.watch_timed_out.md.Built from Jadpo's main branch at commit dfbeede.