Skip to content

Conversation

rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Jun 17, 2025

Fixes #34.

  • Add cellId to ExecutionStarted event schema
  • Remove ctx.query() call from ExecutionStarted materializer
  • Update all cell event commits to include cellId in the payload

This fixes another potential source of materializer hash mismatches that
could cause LiveStore to shut down unexpectedly. All materializers are
now deterministic and side-effect free.

rgbkrk added 2 commits June 17, 2025 11:48
- Add cellId to ExecutionStarted event schema
- Remove ctx.query() call from ExecutionStarted materializer
- Update all event commits to include cellId in the payload

This fixes another potential source of materializer hash mismatches that
could cause LiveStore to shut down unexpectedly. All materializers are
now deterministic and side-effect free.
- Fix undefined variable references in execution-flow.test.ts
- Properly destructure cellId in forEach loops
- All TypeScript errors resolved
@rgbkrk rgbkrk merged commit a1bf20d into main Jun 17, 2025
3 checks passed
@rgbkrk rgbkrk deleted the more-materializers branch June 17, 2025 18:55
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.

Kernel Restart Bug: Multiple Kernel Sessions Cause Execution Failures
1 participant