Skip to content

refactor: remove UpgradeMode pass-through field from Core #508

Description

@JusterZhu

Description

UpgradeMode in GeneralUpdate.Core is a pure pass-through field with zero consuming logic. It goes JSON → VersionEntry → DownloadAsset → VersionEntry(event args) without any if/switch reading it. The actual branching is driven by IsCrossVersion (bool).

Changes

  • Remove UpgradeMode property from VersionEntry, DownloadAsset
  • Remove mapping in HttpDownloadSource.MapVersionEntry and ClientStrategy constructor

Impact

None. This field has no consumer in Core. The server-side meaning (mode selection during verification) was already removed server-side in the companion change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions