StateDirMigrationTest

6

tests

0

failures

0

ignored

0.051s

duration

100%

successful

Tests

Test Duration Result
does nothing where there is no pre-rename directory 0.004s passed
drops the moved worktrees, because they point at their old path 0.007s passed
leaves both alone when the current directory already exists 0.006s passed
moves the pre-rename state directory to its current path 0.020s passed
never overwrites a machine configuration that already carries the current name 0.006s passed
renames the machine configuration inside the moved directory 0.008s passed

Standard output

Creating nstance of class de.hoennig.werkator.StateDirMigrationTest
2026-09-03T12:28:43.365Z  INFO 144 --- [e-1751027223#60] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:28:43.385Z  INFO 144 --- [e-1751027223#61] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:28:43.387Z  INFO 144 --- [e-1751027223#61] de.hoennig.werkator.StateDirMigration    : renamed the machine configuration to .werkator.yml
2026-09-03T12:28:43.396Z  INFO 144 --- [e-1751027223#62] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:28:43.404Z  INFO 144 --- [e-1751027223#63] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:28:43.408Z  INFO 144 --- [e-1751027223#63] de.hoennig.werkator.StateDirMigration    : dropped the moved build worktrees; each is recreated by its branch's next build
2026-09-03T12:28:43.415Z  WARN 144 --- [e-1751027223#64] de.hoennig.werkator.StateDirMigration    : .git/gittally exists next to .git/werkator — the leftover is ignored, remove it once you are sure