Repository navigation
test(v18): check the kept errors in the heap-release test are stack depth errors - #215
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 single-file test change tightens the WASM recovery test for PostgreSQL 18 by asserting on the expected error message in addition to existing behavior.
Reviewed commit: d8eb251 |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Follow-up to the coderabbit comment on #213 (#213 (comment)). The
frees replaced WASM heaps even when callers keep the errorstest kept the 30 errors from the deep parse but never looked at them, so it would still pass if the deep parse succeeded or threw something else. It now checks, before the memory reading and while the errors are still live, that all 30 areSqlError('stack depth limit exceeded').Test only. Shown failing first: with the pre-#213 wrapper (
versions/18/src/index.tsfrom e432873~1) on the current WASM build, the deep parse throws a raw V8RangeErrorand this test fails (ℹ pass 0 / ℹ fail 1); with main's wrapper it passes.Implemented in session Settle the last old WASM hardening PRs
Review with Devin · Open in Devin Desktop
Summary by CodeRabbit