You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code review fixes:
- Extract duplicated 'switch to full' code block into local function SwitchToFull
- Add missing MaxChainBeforeFallback mapping in ConfigurationMapper
- Add 3 mixed-AppType test cases (Client+Upgrade split scenarios)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
// Local helper: build a "switch to full" plan that replaces same-AppType
196
+
// chain packages with bestFull, while keeping chains for other AppTypes
197
+
// (and any same-AppType chains whose version exceeds the full's version).
198
+
DownloadPlanSwitchToFull(stringreason)
196
199
{
197
-
GeneralTracer.Info($"DownloadPlanBuilder: chain count {chainCount} exceeds MaxChainBeforeFallback {maxChainBeforeFallback}, switching to full package {bestFull.Name} (chain total {chainTotal}, full size {bestFull.Size})");
198
-
varbestFullSv=Lookup(bestFull);
200
+
GeneralTracer.Info($"DownloadPlanBuilder: {reason}, switching to full package {bestFull.Name} (chain count {chainCount}, chain total {chainTotal}, full size {bestFull.Size})");
0 commit comments