Skip to content

Add regression for malformed root writes#691

Closed
vladar wants to merge 1 commit into
mainfrom
user/vrazuvaev/repro-channel-root-chunks
Closed

Add regression for malformed root writes#691
vladar wants to merge 1 commit into
mainfrom
user/vrazuvaev/repro-channel-root-chunks

Conversation

@vladar

@vladar vladar commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a focused regression for a malformed query result that assigns the same normalized key to the operation root and a nested entity
  • demonstrate that a later write replacing the nested entity with null reaches the two-root-chunk invariant

Testing

The new regression intentionally fails on the current implementation with:

Invariant violation: Failed to update "query ConsumerNodeByIdQuery": expected a single root chunk, got 2

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f5495c98-3b30-4848-bbeb-eb5058b6eb1a
@github-actions

Copy link
Copy Markdown

📊 Benchmark Analysis Report

No significant performance changes detected


Threshold: 5% change


Updated: 2026-07-13T13:05:33.178Z

@vladar vladar closed this Jul 13, 2026
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