Skip to content

[pull] master from reactive:master#94

Merged
pull[bot] merged 4 commits intoerickirt:masterfrom
reactive:master
Mar 27, 2026
Merged

[pull] master from reactive:master#94
pull[bot] merged 4 commits intoerickirt:masterfrom
reactive:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 27, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ntucker and others added 4 commits March 26, 2026 18:33
…enormalization (#3823)

* fix(normalizr): Add entity depth limit to prevent stack overflow in denormalization

Large bidirectional entity graphs (e.g., Department → Building → Department)
with thousands of unique entities cause RangeError: Maximum call stack size
exceeded during denormalization. The existing same-pk cycle detection doesn't
help because every entity in the chain has a unique pk.

Add a depth counter (limit 128) at the entity boundary in unvisit. Entities
beyond the limit are returned via createIfValid without resolving nested
schema fields. A console.error is emitted once per denormalize call in dev mode.

Benchmarked with no measurable regression on denormalizeLong (~538 ops/sec
before and after, well within 1-3% run-to-run variance).

Closes #3822

Made-with: Cursor

* test: Improve depth limit coverage for #3822

Expand bidirectional entity graph tests to cover uncovered branches in
depthLimitEntity: missing entity at depth boundary, validation failure
at depth limit, console.error assertion, MemoCache truncation behavior,
and full resolution within the limit.

Made-with: Cursor

* internal: Include transitive deps in changeset

* internal: Test coverage
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.1.0 to 20.8.8.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v20.1.0...v20.8.8)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.8.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.6.1 to 20.8.8.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v20.6.1...v20.8.8)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.8.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pp (#3826)

Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.6.1 to 20.8.9.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v20.6.1...v20.8.9)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.8.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@pull pull bot locked and limited conversation to collaborators Mar 27, 2026
@pull pull bot added the ⤵️ pull label Mar 27, 2026
@pull pull bot merged commit fdcfbb6 into erickirt:master Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant