Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 8, 2025

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 : )

seefeldb and others added 3 commits November 7, 2025 15:16
Minimal repro for strange conflict error.

Turns it is because `NaN` gets mapped to `null` by JSON.stringify() and so the cause computed on the client and server diverged. Forcing JSON.parse(JSON.stringify()) before computing the cause fixed this.

---------

Co-authored-by: Claude <[email protected]>
Fix derive() type inference for nested OpaqueRef arrays and sub-properties so callbacks receive plain values while preserving Cell<T>. Also widen boolean literal unions so boolean cells infer as boolean.

- **Bug Fixes**
  - Refined OpaqueRef recursion: treat ArrayBuffer, ArrayBufferView, URL, and Date as-is; keep array/object recursion without intersecting with T.
  - Added derive overloads to widen OpaqueRef<true> | OpaqueRef<false> to boolean and to preserve Cell<T> at any OpaqueRef nesting level.
  - Introduced helper types to unwrap OpaqueRef layers and match Cell types; added regression tests for recipe outputs, nested arrays/intersections, boolean cells, direct Cell inputs, OpaqueRef<Cell<T>>, and destructured cases.
… cell(undefined) (#2033)

* fix(runner): cell(0) or cell(false) or cell("") is no longer actually cell(undefined)

* fix(runner): improved error messages for agents

* fix(generated-patterns): remove .set() calls from lift/compute blocks and add error detection

- Updated pattern-harness.ts to capture runtime errors via errorHandlers
- Tests now fail if runtime errors occur, preventing silent failures
- Removed unused lift with .set() call in assignment-grading-matrix
- Removed problematic .set() calls from compute/lift blocks in:
  - bounded-counter
  - counter-conditional-branch
  - counter-conditional-child-instantiation
  - counter-mutable-tuple
  - counter-optional-fallback
  - counter-persistence-defaults
  - counter-persistence-initial-arguments
  - counter-rolling-average

These .set() calls were throwing "Cannot create cell link: space is required"
errors because lift/compute functions execute in a reactive context without
proper space/frame for cell links.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
@pull pull bot locked and limited conversation to collaborators Nov 8, 2025
@pull pull bot added the ⤵️ pull label Nov 8, 2025
@pull pull bot merged commit 310b072 into ExaDev:main Nov 8, 2025
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