Skip to content

Skip APK manifest lookup for iOS installs#413

Open
mdub1na wants to merge 1 commit into
VKCOM:developfrom
mdub1na:codex/ios-skip-apk-manifest-for-ios-installs
Open

Skip APK manifest lookup for iOS installs#413
mdub1na wants to merge 1 commit into
VKCOM:developfrom
mdub1na:codex/ios-skip-apk-manifest-for-ios-installs

Conversation

@mdub1na

@mdub1na mdub1na commented May 31, 2026

Copy link
Copy Markdown

Summary

  • Only enable APK manifest lookup for Android installs
  • Avoid requesting /manifest for iOS .ipa uploads stored as /s/blob/...

Problem

The application install UI reused the Android APK manifest lookup for every uploaded file once an href existed. This works for Android APK uploads because manifests are exposed under /s/apk/:id/:name/manifest, but iOS IPA uploads are stored as generic blobs under /s/blob/:id/:name and do not have a manifest endpoint.

This caused the UI to issue a failing request during iOS installs, for example:

GET https://devicehub.putmyhexon.ru/s/blob/e0aff872-60ae-4e8a-bbe5-56af5cf22a44/66a009ad13b86c279b1ecc841f32f35e/manifest 404 (Not Found)

Fix

Gate the manifest query with this.isAndroid, so the query is enabled only when installing Android applications. iOS installs continue to pass the uploaded blob href directly to the device install flow.

Testing

  • npm run type-checking in ui currently fails on pre-existing errors unrelated to this change (exponential-backoff module resolution and nullable promise typing in socket/device-screen code).
  • Verified in a kuber test image that the production Docker build completes with this change.

@mdub1na mdub1na requested a review from a team as a code owner May 31, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant