Repository navigation
Commit df4c114
authored
refactor(apple): simplify snapshot route settlement (#4278)
* refactor(apple): simplify snapshot route settlement
* refactor(apple): make every snapshot source declare observe-only support
observeOnlySupported was optional, and only an explicit false sent an
observe-only capture to the direct fallback. A source that left it out was
silently treated as supporting observe-only. The local source now declares
true and the runner source false; the type requires it.
* docs(apple): keep why the surface and off-route fallback plans settle as they do
The merged settlement path dropped the comments of runSurfaceFallback and
captureOffRoute. The FallbackPlan members now carry them: the surface plan
decides only the reason, and an off-route capture that serves a surface
still gets a surface identity (#2438).1 parent dba8007 commit df4c114
3 files changed
Lines changed: 128 additions & 138 deletions
File tree
- packages/platform-apple/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
590 | 591 | | |
591 | 592 | | |
592 | 593 | | |
593 | | - | |
594 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
595 | 597 | | |
596 | 598 | | |
597 | 599 | | |
| |||
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
655 | | - | |
656 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
657 | 660 | | |
658 | 661 | | |
659 | 662 | | |
| |||
0 commit comments