flux-pr-1241
graphql-go-tools (Go) · W1 · GPT-5.1 Codex Mini
Tests: unknown. 0/1 commands passed. Strength: missing.
go test -C v2 ./... -count=1 -timeout=300sPartial score: 0/0
Trajectory
codex · partial order onlyprovider-native trajectory captured; validation and decision steps are appended with coarse ordering only
Quality
Equivalence Reasoning
behavioral
Code Review
The patch adds useful complexity tracking, but it likely does not satisfy the intended change because it implements parser-side reporting rather than tokenizer-level bounded parsing with early termination and the requested API/error surface.
The change adds parser complexity options and helper parse functions instead of implementing tokenizer-level `ParseWithLimits`/`TokenizeWithLimits` behavior and stats return as specified.
On depth/field violations, the parser records external errors but continues parsing; this misses the intended early-return protection against expensive documents.
The patch introduces operationreport external errors for limits instead of returning tokenizer/parser errors for limit exceed conditions, changing expected control flow and call-site handling.