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
refactor: integrate manifest reading into OssStrategy, simplify Validate()
- OssStrategy.ExecuteAsync() now calls AppMetadataDiscoverer.Discover()
to fill identity fields from generalupdate.manifest.json, same as the
standard ClientStrategy flow.
- OssStrategy.ExecuteUpgradeAsync() calls ManifestInfo.TryUpdateVersion()
after decompression to persist the applied version back to manifest,
preventing infinite update loops.
- UpdateRequest.Validate() no longer requires MainAppName, UpdateAppName,
ClientVersion — these are filled from manifest by strategies at runtime.
This also aligns with SetSource() which never set these fields.
- Updated UpdateRequestTests to reflect the relaxed validation rules.
- Simplified ClientTest/UpgradeTest: only secrets in SetConfig(), identity
fields come from manifest automatically.
0 commit comments