Files
recipe/.planning/phases/02-authentication-foundation/deferred-items.md
2026-04-29 21:07:49 +02:00

1.3 KiB

Deferred Items — Phase 02 (auth foundation)

Pre-existing failures discovered during 02-07 ./gradlew check

SecureAuthStateStoreContractTest (Android JVM unit test) — pre-existing

  • Tests: clearRemovesStoredValue, writeOverwritesPreviousValueAndReadReturnsLatest
  • File: composeApp/src/androidUnitTest/.../SecureAuthStateStoreContractTest.kt
  • Failure: java.lang.IllegalStateException at construction (Android Keystore not available in plain JVM unit tests under Robolectric-less harness).
  • Provenance: Reproduced on master HEAD before any 02-07 change (verified via git stash
    • run of ./gradlew :composeApp:testDebugUnitTest).
  • Not caused by 02-07. Source plan was 02-04 (Android secure-store actuals). Likely needs Robolectric or an instrumented (androidTest) target. Out of scope for 02-07's UI gate plan.
  • Action: Track for a follow-up Android-test infra task; do not block Phase 02 on it.

Spotless property-naming lint in SecureAuthStateStore.ios.kt:L31 — pre-existing

  • Reproduced on master HEAD before any 02-07 change.
  • Source plan: 02-05 (iOS auth actuals).
  • ktlint expects SCREAMING_SNAKE_CASE for an immutable property; the iOS implementation uses camelCase. Fix is a one-line rename or suppressLintsFor annotation.
  • Out of scope for 02-07; track for follow-up.