mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-12-03 03:44:54 +00:00
* Fix #272: Test onboarding interrupted mid-flow is resumable Automate the #163 regression guarantee: if a client crashes between /register (subdomain stored) and /register/certs (cert provisioned), the next process must reuse the existing subdomain and complete provisioning instead of bouncing the user back to Welcome and re-requesting a fresh subdomain. - AppIntegrationTestHarness gains restartKoinPreservingState() — the complement to #271's clearPersistentState(). It tears down Koin + the harness coroutine scope + the fake health repo, then re-boots Koin against the still-running relay and untouched context.filesDir. This mirrors a process death where on-disk state and the relay survive but in-memory Koin singletons and the DeviceKeyManager are fresh. - OnboardingInterruptedResumableTest drives OnboardingFlow.execute in isolation (skipping cert provisioning), calls restartKoinPreservingState, then drives CertProvisioningFlow.execute on the resumed graph. Asserts /request-subdomain and /register stay at exactly one call across the restart, /register/certs lands exactly once on the second run, the subdomain round-trips unchanged, and the store is fully populated. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com> * Fix #272 (ktlint): Split arg lists over the 100-col limit Post-push CI exposed ktlint's "Argument should be on a separate line" rule firing on two assertion calls that exceeded the 100-char line limit. Local `ktlintCheck` was UP-TO-DATE and skipped; `--rerun-tasks` reproduces the failure. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| screenshots | ||
| src | ||
| build.gradle.kts | ||
| google-services.json | ||
| proguard-rules.pro | ||