hammer-editor/integrationTests
Adam Brown 3919cbacc3 Fix startup hang migrating legacy inline auth tokens
On a legacy server.json carrying inline tokens, GlobalSettingsStore.init
triggered loadServerSettings, which migrated the tokens with a guarded write
through ContainedFileSystem. The containment check resolved managedStorageRoots
by re-entering the still-constructing store, which Koin rebuilt, looping forever
and hanging startup on every platform with a pre-v3.5.0 synced account.

Make store construction perform only pure reads: loadServerSettings and
loadSettings no longer write during load (inline-token rewrite and corrupt-file
self-delete removed from the load paths). The inline-token migration moves to a
new idempotent MigrateInlineAuthTokens global migration, run by DataMigrator
after the store is built (after MigrateInstallIdToGlobal, which must read the
legacy installId before the tokenless rewrite drops it).
2026-06-27 22:14:44 -07:00
..
src/jvmTest/kotlin/com/darkrockstudios/apps/hammer/integration Fix startup hang migrating legacy inline auth tokens 2026-06-27 22:14:44 -07:00
build.gradle.kts Add round-trip sync integration test suite 2026-05-13 22:28:19 -07:00