ATL-2026-033engineering_noteexploratory

The app is already installed. What can you still fix?

What teams can fix on the server, when a Dart patch can help, and how to tell if a rebuilt app reached its users.

Published
November 16, 2026
Verified
November 16, 2026

The app is already installed. What can you still fix?

A warehouse worker fills out a stock request and taps Submit. The app reports an error and keeps the draft. The retry goes through. So did the first attempt, it turns out. The server accepted the request and the phone lost its connection before the reply arrived. The warehouse now has two requests for the same stock.

This is a hypothetical example. While a developer traces the failure, the warehouse lead has to decide whether to pick stock for one request or both. The same thing could happen on the next shift. What can the team change before staff open the same build tomorrow morning?

The answer depends on details the screen never shows. Does the app reuse the same request ID when the worker retries a draft? Can the team pause submissions while leaving existing requests accessible? Can it change code that is already on the phone?

What the current build still lets you do

Start with the two requests the server received. If both carry the same operation ID, the server can recognize the retry and return the result of the first submission. For instance, where IDs are unique within a warehouse, the database can enforce uniqueness on the warehouse and operation ID together. Without that constraint, two simultaneous attempts can both pass an existence check and each create a record.

Suppose the app generates a fresh ID every time the worker taps Submit. Two requests for identical items and quantities could now be two legitimate orders. Merging them on the server would risk dropping real work. The installed build has already determined what the server gets to see.

The team could pause submissions. If the released build already checks a remote flag, the app can explain the pause and keep the request as a draft. That happens once the phone fetches and applies the setting. An immediate stop belongs on the server. Check how the current build handles a rejection first. If it says “Try again” or clears the form, staff will need another way to finish their work. Firebase Remote Config documentation

Keep access to submitted requests and draft saving available if the fault leaves those paths intact. The warehouse can then work through its existing queue while the team fixes submission.

When you can ship a code patch

The November release of flutter_patcher 1.1.0 delivers Dart changes through dynamic modules. The plugin checks whether a patch file matches the installed base build and stages it for the next cold start. Whether it verifies a signature depends on how that base build was prepared. Shorebird also ties patches to a specific release and has its own build process. An ordinary build already on a phone needs a full update to a build equipped to receive patches before either tool can help. flutter_patcher changelog · Shorebird code push guide

A Dart patch could fix the warehouse client if the existing server already accepts operation IDs and can return the first result. The client would persist the ID before the first attempt and reuse it until it gets confirmation. A server API change would still need a server deployment. A change to a native plugin or to Flutter itself needs a fresh release under Shorebird’s patch model. Shorebird patch limitations

Check what the distribution channel allows before choosing a patch tool. Then exercise the full path on an installed release build. Does it verify signatures and reject mismatched patches? When does the new code start running? What happens when the download is interrupted? Try withdrawing a patch after it has already written to local storage. Restoring the previous code leaves you with whatever data the patch wrote. Apple App Store Review Guidelines, section 2.5.2 · Google Play policy

When the build itself has to change

In October 2026, keys for eMudhra intermediate certificate authorities were disclosed as compromised. An attacker on the network path could use those keys to forge certificates for other domains. In Dart and Flutter, the exposure depended on the platform and on which component validated certificates. For outbound HTTPS through dart:io on Android and Windows, the bundled BoringSSL verifier did not use the operating system’s intermediate certificate blocklists. On Linux, the risk depended on whether the system certificate store had been updated, including inside containers. Dart security advisory

The first stable fixes were Dart 3.13.7 and Flutter 3.47.8. The Dart team called for rebuilding and redeploying affected applications and binaries. On a phone, that means delivering a binary with the corrected verification code. Dropping support for an old build on your server may limit access to your service. Certificate verification still runs on the phone with the code that shipped in that build. Dart security advisory · Firebase incident guidance

Which SDK went into the build people have today? A pipeline that pulls the latest version from the stable channel can give a different answer tomorrow. Record the exact SDK version alongside the shipped build number and the release history can tell you which builds are affected.

Did the fix reach anyone?

The new build is in the store. The first devices have launched it. How many requests have gone through the fixed code? An empty error chart tells you very little if nobody on the new build has submitted a request yet.

After pausing submissions, check how many old clients still hit the blocked operation. For a patch, look for the base build number and the patch ID the app started with. For a rebuilt binary, measure its share among affected-platform devices that checked in during the reporting window. A phone that stayed offline is outside that count. It can still show up a week later on the old build.

The warehouse check fits into one exercise. Let the server accept a request, drop the reply, then have the worker retry. The warehouse should get one request and the phone should show its actual status. Run it against the oldest supported build as well if the fix is on the server. Some workers will still be using that build the morning the new one lands in the store.


ArkTelos Lab · Lab website · Official ArkTelos website

Telegram · ArkTelos Lab EN · ArkTelos Lab RU · ArkTelos EN · ArkTelos RU

Result boundaries

  • The warehouse scenario is hypothetical. Patches were not tested on devices.

Telegram edition

Read in ArkTelos Lab

Read in ArkTelos Lab ↗

ARKTELOS CHANNELS

News and engineering material, without mixing languages.

The main channels cover ArkTelos development. ArkTelos Lab publishes architecture analysis, experiments, and reproducible research.