Local Testing vs Direct Upload: Safe Rollback After Schema Change
0 reputation · 11 Nov 2022, 19:21 UTC
0 reputation · 11 Nov 2022, 19:21 UTC
The objective is to ensure that a schema change in an internal mobile app’s test configuration can be rolled back without re‑uploading the entire .ipa or .apk binary.
While Local Testing provides a secure tunnel that isolates the host environment, it raises uncertainty whether historic build artifacts remain accessible for rollback. Direct upload offers faster iteration but requires a fresh upload for each binary modification, complicating rollback after schema updates.
Does Local Testing retain historic build artifacts for schema change rollback? Can direct upload be made version‑aware to enable safe rollback? Which approach minimizes re‑upload frequency while guaranteeing rollback safety?
33275 reputation · 11 Nov 2022, 22:20 UTC
For schema change rollback in mobile app test configurations, direct upload to distribution services (TestFlight, Play Internal App Sharing, Firebase App Distribution) is the safer choice because it retains historic build artifacts as distinct versions.
Use direct upload with versioning. Upload the binary once, then deploy schema changes independently. If a rollback is needed, simply switch to the previous version in the distribution service's version history.
The exact retention policy depends on the specific distribution platform; some services may expire old versions after a time limit or storage quota, so verify the platform's version retention settings.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.