Repository navigation
Commit b500319
committed
refactor(daemon): one owner each for the inventory fake and the replay source collector
Owner review on #3517: the two daemon-side fakes restated logic that already
had owners. Both are replaced by single importable owners:
- The device-selection test fake becomes the one inventory-gateways fixture:
moved to packages/device-selection/src/inventory-gateways.fixtures.ts and
exported as ./inventory-gateways-fixtures (with findInstalledApp already in
its options and createTestDeviceInventoryGatewaysFromProvider now exported).
The daemon copy, the root fake, and its pin (the real composer's fail-closed
contract is pinned in platform-runtime-device-inventory.test.ts) are deleted;
daemon, root, device-selection, and integration consumers all import the
owner.
- The real client collector moves into its package: script-source-bundle and
source-discovery move from src/commands/replay into replay-port (own exports
./script-source-bundle, ./source-discovery). The bundle helpers live once in
packages/replay-port/src/daemon-port/replay-script-source.fixtures.ts
(./replay-script-source-fixtures), typed on DaemonWireRequest; both test
trees import it and run the same globs, size cap, AppErrors and ranking.
- The Android capture fixtures move to platform-android test-only entries
(./snapshot-capture-fixtures, ./ui-hierarchy-fixtures) so no test tree
reaches sideways; the archived raw JSONs move with them.1 parent 2a4b52e commit b500319
111 files changed
Lines changed: 197 additions & 563 deletions
File tree
- packages
- device-selection
- src
- __tests__
- test-utils
- platform-android
- src
- replay-port
- src/daemon-port
- __tests__
- scripts
- __tests__
- layering
- src
- __tests__
- daemon-composition
- handlers
- interaction
- test-utils
- cli/replay-test/__tests__
- commands/replay
- core
- __tests__
- interactors
- daemon
- __tests__
- replay-divergence
- replay-maestro
- replay-runtime
- replay-suite
- support
- handlers/__tests__
- session-lifecycle/internal/__tests__
- test/integration
- nightly/concurrency-torture
- provider-scenarios
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 1 | | |
8 | 2 | | |
9 | 3 | | |
| |||
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
| 22 | + | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
| 27 | + | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
| |||
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
| |||
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
0 commit comments