Technology

Engineering record

EnginePartly changed

One engine answer for each screen command

Code meant to guard against mismatched versions stopped the app. We checked whether the versions could differ at all, and simplified how commands and answers are exchanged.

The app stopped on its start screen without an error. Rust sent the version under the name protocol_version, but the screen side read protocolVersion through a type written separately by hand. In the end it rejected every answer as a version mismatch.

Matching the field name would end this problem. But is this check needed in the first place? The engine and the screens are built together from the same source, and the types are generated from Rust. Two pieces of code that aren't shipped separately can't meet at different versions. We tried to prevent a problem that doesn't exist and made a new one. So we removed the version number.

Why should the screen keep receiving data?

We asked the same question about data transfer. In July the engine sent changed data and the screen acknowledged it. The screen had to put the data in order and, on reconnecting, receive whatever it had missed. Each app was handling this on its own, so we moved it to shared code midway. But sharing a complicated process doesn't make the process itself simpler.

Now the screen sends one command and the engine returns one answer. Rather than get better at ordering data and re-receiving what was missed, we chose a structure where none of that is needed.

For now this applies only to REDDY. We haven't yet measured response time or throughput.

Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.