Repository navigation
Commit 1fdc657
committed
fix(octane): prune signal retry visits from lite component scopes
scopeSignalOwner records a SIGNAL_RETRY_VISIT for any fresh scope that
consults a retry cache, but only renderBlock claimed and pruned it. Lite
components (componentSlotLite) also call scopeSignalOwner yet invoke the
body directly, so the visit was never pruned — leaving replaced or
removed query$ entries cached until the boundary resolved.
Two issues fixed:
1. LiteBlockImpl has no 'mounted' field, so scope.block.mounted was
always undefined and a visit was recorded on every render, not just
mount. Changed the check to scope.mounted which is correct for both
Block (where scope === block) and lite ScopeImpl paths.
2. Added retry-visit claim and prune logic to componentSlotLite,
mirroring renderBlock: claim after scopeSignalOwner, prune on
success, and prune with suspended=true on SuspenseException.1 parent a0b029b commit 1fdc657
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | | - | |
| 1184 | + | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
| |||
12152 | 12152 | | |
12153 | 12153 | | |
12154 | 12154 | | |
| 12155 | + | |
12155 | 12156 | | |
12156 | 12157 | | |
12157 | 12158 | | |
12158 | 12159 | | |
12159 | 12160 | | |
12160 | 12161 | | |
| 12162 | + | |
| 12163 | + | |
| 12164 | + | |
| 12165 | + | |
12161 | 12166 | | |
12162 | 12167 | | |
12163 | 12168 | | |
12164 | 12169 | | |
| 12170 | + | |
12165 | 12171 | | |
12166 | 12172 | | |
| 12173 | + | |
12167 | 12174 | | |
12168 | 12175 | | |
12169 | 12176 | | |
| |||
0 commit comments