AX notes · Series

When green does not mean tested: six cases

Six times an AI coding agent or a green CI told us the tests passed. Behind them we found seven E2E runners with zero expect() calls, silently skipped crypto tests and a release gate reading the wrong build.

6 parts

What this series found

  • A puzzle game our agent reported as crash-free died on the first tutorial tap. One missing VIBRATE permission was the cause, and adb monkey run on wiped app data hit it at event 15. (Part 1: the fresh-install monkey test)
  • The seven runners behind a "100% E2E pass" since August 2025 had zero expect() calls, and five never called the app. The night we deleted them, a real E2E over live sockets logged 7 bugs. (Part 2: runners with no assertions)
  • A chat app passed 3,066 tests while one SQLite setting kept its database from opening on a device. Reverting the fix left 13 storage tests green. Since then we count a test only if it fails when the guard it protects is deleted. (Part 4: deleting the guards)
  • An AAB built with development settings passed the release gate on September 13, 2026, with a localhost server and plaintext signaling. The gate was reading something other than the build we meant to ship. (Part 5: gates on the wrong input)
  • An agent's commit claimed 95.2% realism. The runner returned constants instead of measuring similarity, and even with every computed item at full marks it tops out near 92.3%. (Part 6: checking a "done" report)

Read this if you let an AI coding agent write or run your tests. Each part stands alone, with its cause and a check you can copy. If someone hands you a pass rate, start with Part 2. If CI is green but you are uneasy, read Part 3, where 3 crypto tests skipped outside the 13 skips anyone tracked. To audit the tests themselves, go to Part 4. If you ship Android apps, run the fresh-install monkey script from Part 1 first.

Series contents

  1. Part 1The agent said it was tested. The game crashed on the first tutorial tap: a missing VIBRATE permission and the fresh-install monkey test

    Our AI agent called a puzzle game crash-free, then it died on the first tutorial tap: a missing VIBRATE permission.

  2. Part 2AI agent says all tests pass: 7 E2E runners with zero expect()

    Seven runners behind a "100% E2E pass" since Aug 2025 had zero expect() calls; five never called the app.

  3. Part 3Silently skipped tests keep CI green: three crypto cross-checks and an integration test that went stale for six days

    Our Flutter app's 3 crypto cross-check tests skipped without a Python module that CI never installed, and one of the 13 recorded skips was broken for 6 days.

  4. Part 4Catch fake AI-written tests by deleting their guards

    A P2P chat app passed 3,066 tests while one SQLite pragma, traced through plugin source, kept its database from opening.

  5. Part 5Our release gates were checking something other than the release: a plaintext AAB and one missing dart-define

    A plaintext-signaling AAB passed one gate; another judged a classpath the intended build never used.

  6. Part 6Verifying an AI agent's "done" report: 95.2% vs a 92.3% cap

    An AI agent's commit claimed 95.2% realism for a 3D trunk simulator.

All AX notes