Skip to content

Commit d8d3574

Browse files
committed
fix: preserve available snapshot plan tiers
1 parent d4ab0a4 commit d8d3574

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+SnapshotCapturePlan.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ extension RunnerTests {
219219
treeCaptureSliceBudgetOverride: nil
220220
)
221221
}
222-
// Preserve the ordinary plan exactly. Filtering unavailable tiers here
223-
// would change physical-device fallback attribution on the normal path.
222+
// Preserve the ordinary plan after removing tiers unavailable on the current platform.
224223
return EffectiveSnapshotCapturePlan(
225-
plan: plan,
224+
plan: availablePlan,
226225
xCTestChannelState: .normal,
227226
treeCaptureSliceBudgetOverride: nil
228227
)

0 commit comments

Comments
 (0)