Record being wrong about which change broke a test

A UI test went red in the same run that adopted three new APIs. The one
touching that screen was reverted; the test still failed. A modifier
order was corrected; still failed. Simulator data was wiped; still
failed. Running it against a clean checkout — which should have been the
first move, not the fourth — it failed there too, with none of the work
present.

The scrolling entry had already been rewritten to explain the fault in
confident detail. That write-up was fiction, so it now says what actually
happened: the API was convicted on circumstance and remains unproven
here, and the one claim that survives is about its two-way binding
costing invalidations.

xcode-practice gets the general lesson, since it will outlive this
particular test: stash and rerun before reasoning about which edit did
it, and a note recording a false cause is worse than no note, because
the next person believes it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
TomUviandClaude Opus 5 committed 2026-08-17 01:04:24 +02:00
1 parent f5a3d932fa
commit 542dd925d0
4 files changed
+46 -5

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
"name": "pdat-swift-practice",
"source": "./pdat-swift-practice",
"description": "Curated Apple platform findings with sources, plus practices learned from production incidents.",
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "PDAT s.r.o."
},