Derive keyed <for of> branch keys from the serialized list - #3354
Derive keyed <for of> branch keys from the serialized list#3354DylanPiercey wants to merge 1 commit into
<for of> branch keys from the serialized list#3354Conversation
🦋 Changeset detectedLatest commit: f46d6fe The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 7 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (33)
📒 Files selected for processing (45)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3354 +/- ##
==========================================
- Coverage 94.29% 94.29% -0.01%
==========================================
Files 388 388
Lines 53085 53156 +71
Branches 4237 4246 +9
==========================================
+ Hits 50058 50123 +65
- Misses 2998 3004 +6
Partials 29 29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
A stateful keyed loop serializes its list on the parent scope and a
LoopKeyper branch — but the keys are justby(list[i], i)over data already on the wire.of=value is a plain read of a binding that always serializes (e.g. a stateful<let>), the server skips per-branch keys and writes a singleLoopKeyList:reference to the list — identity-deduped against the state slot, so it costs a backreference, not a copy.by(string or function form) over the serialized list — branch order matches SSR iteration order. No work happens at resume.<for in/to/until>) keeps per-branch keys.Example: three keyed rows previously serialized
{M:1},{M:2},{M:3}; now the branch fills are empty (elided) and the payload carries onlyNb:_.anext to the existing list.Checklist:
Generated by Claude Code