function-spec doesnt produce full output when piped
Author: xixixaoCreated May 1, 2026Updated Sep 20, 2026
Might be a recent bug, or our output just grew past some limit.
npx convex function-spec | tail -n 1000shows truncated output, while
npx convex function-spec > test.json; cat test.jsonshows full output (so redirection to file works).
I also find the API weird, --file outputs to some file and prints its name. It should take a file name in instead (and can keep the current behavior if not provided).
Source: get-convex/convex-backend