Repository navigation
test: scan 100000 chained terms in the WASM depth test - #24
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Review complete. No issues found — approved ✅. This PR adds a single new test file that stress-tests deeply nested expression parsing under WebAssembly: it builds a query with 100000 chained
Reviewed commit: d0e65ce |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Summary
test/wasm_depth.cruns deep inputs throughpg_query_parse,pg_query_parse_plpgsqlandpg_query_normalize; #23 addspg_query_fingerprint. The one entry point libpg-query-node calls that had no case ispg_query_scan_tokens. This adds it:check_scan_depthscansSELECT 1+1+…and expects no error and exactly2 * depthtokens. The scanner does not recurse, so the size is 100,000 terms rather than a few thousand.Stacked on #22 (it uses that PR's
nested_queryhelper); merge that first and this retargets to18-constructive. No library code and no build or stack setting changes.Local run (emsdk 6.0.3, same flags as CI): all seven cases pass, including
PASS scan 100000 chained terms: scanned successfully.Implemented in session Find why regressions slip past our release process
Review with Devin · Open in Devin Desktop