You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Viewer: trails of 25+ hops fail "Read as flow"; trail limits disagree (store 64, flow 24, nodes 60) #1976
/api/flow with 24 hop= params → 200
/api/flow with 25 hop= params → 400 "A trail of 25 hops is longer than this endpoint reads (24)."
/api/nodes with 61 id= params → 400 "Too many ids: 61. At most 60 per request."
Effect:
The trail bar's "Read as flow" sends the whole trail, so any walk of 25 or more hops shows an error instead of a flow. That includes trails the store happily saves at up to 64 hops.
resolveTrailNames sends every unnamed hop in one /api/nodes request, so a cold load of a 61–64 hop trail link never resolves its names.
Suggested fix: make one limit the source of truth. Either cap the trail when a hop is pushed, or raise /api/flow to the store's 64. Have the client split /api/nodes calls into batches of 60.
Thanks for the detailed report, @inth3shadows, and thanks for using CodeGraph! This is fixed on main by #2001, which builds on @danusha2345's #1994 (thank you!): a trail now holds up to 64 hops everywhere (the trail bar, saved trails and Read as flow), so long trails can always be read as a flow, and their names are fetched in batches the server accepts. The fix will be in the next release.
Activity
fix(ui): one trail length for the bar, the store and /api/flow (colby…
Merge codex/integration-all-2026-09-26 (colbymchenry#1973, colbymchen…
fix(ui): one trail length for the bar, the store and /api/flow (#1976) (
colbymchenry commentedon Sep 27, 2026
Thanks for the detailed report, @inth3shadows, and thanks for using CodeGraph! This is fixed on
mainby #2001, which builds on @danusha2345's #1994 (thank you!): a trail now holds up to 64 hops everywhere (the trail bar, saved trails andRead as flow), so long trails can always be read as a flow, and their names are fetched in batches the server accepts. The fix will be in the next release.