8000 feat: queryMemoryLimit and QRY-012 (minigraf#549) by adityamukho · Pull Request #15 · project-minigraf/minigraf-node · GitHub
[go: up one dir, main page]

Skip to content

feat: queryMemoryLimit and QRY-012 (minigraf#549) - #15

Merged
adityamukho merged 2 commits into
v3from
feat/549-query-memory-limit
Oct 21, 2026
Merged

adityamukho merged 2 commits into
v3from
feat/549-query-memory-limit

Conversation

@adityamukho
Copy link
Copy Markdown
Contributor

Binding side of project-minigraf/minigraf#549 on v3.

  • OpenOptions.queryMemoryLimit: the most bytes one query may hold. A query that would hold more throws with [QRY-012]. Number.MAX_SAFE_INTEGER or more maps to core's usize::MAX, no limit, the default — as walCheckpointThreshold does (the shared constant is renamed MAX_SAFE_INTEGER).
  • Core v3 pin bumped 97cd4a2a → df7282f1.
  • Pin-bump fallout: core deprecates max_results as an alias of max_derived_facts (#553); maxResults stays, documented as the alias.
  • Test queryMemoryLimit throws QRY-012 (#549): 64-byte limit → QRY-012 from execute and a cursor, MAX_SAFE_INTEGER → no limit, -1 → API-017. README and index.d.ts document the option.

🤖 Generated with Claude Code

https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT

adityamukho and others added 2 commits October 21, 2026 18:16
Add queryMemoryLimit to OpenOptions: the most bytes one query may hold, a
query that would hold more throwing QRY-012. Number.MAX_SAFE_INTEGER or
more stands for core's usize::MAX (no limit, the default), as for
walCheckpointThreshold.

Bump the core v3 pin to df7282f1. Core now deprecates max_results as an
alias of max_derived_facts; maxResults stays, documented as the alias.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
@adityamukho
adityamukho merged commit 3e30e1c into v3 Oct 21, 2026
14 checks passed
@adityamukho
adityamukho deleted the feat/549-query-memory-limit branch October 21, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0