Home Blog

2026-10-04 · Africa Flying

From 224 to 621: how a red test run turned green on one laptop

On 25 September 2026 the project laptop was 45 commits behind the main branch. The first full test run was poor: 224 tests passed and about 100 either failed or could not even start. By the seventh run 621 passed and nothing failed. This post is about how, because the story is more useful than the number.

The first surprise was that the second run got worse. A fresh Python environment had been created with only four packages, and the system Python it replaced had many more. Dozens of tests that had been passing now failed on a missing import, not on a bug. Installing the agent requirements brought the count back up to 565, adding the web client took it to 605, and the database drivers lifted it further. Adding the machine-learning packages left the count at 616. The last run, at 621, followed a single test fix and the database migrations.

That single code-level failure was a test written when the satellite handlers were hard-coded in one file. The code had since moved to a registry, so the test was simply updated to look there. No product behaviour changed.

The lesson we wrote down is practical. Most of the red was the environment, not the code, and a test count means little unless the environment it ran in is written down too. That is why every laptop update in our status document says exactly what to install and what to restart. You can see the current state of the checks on the status page.

This was a development exercise. Africa Flying is pre-operations, simulation-only software, and none of these tests involves a real aircraft.

Read next

The detail chart

All seven runs, passed against failed plus errored. Secondary to the story above.

Grouped bar chart of seven laptop test runs on 25 September. Passed tests: 224, 166, 565, 605, 643, 616 and 621. Failed plus errored tests: 100, 139, 33, 5, 4, 2 and 0.
Laptop test runs, 25 Sep: passed vs failed + erroredCredit: Africa Flying. Licence: Project content, draft; the numbers are the project's own records

Sources and credits

Written for the Africa Flying blog, September 2026 issue. Pre-operations R&D: nothing described here is a flight operation.