StateDirMigrationTest

6

tests

0

failures

0

ignored

0.181s

duration

100%

successful

Tests

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

Standard output

Creating nstance of class de.hoennig.werkator.StateDirMigrationTest
2026-09-03T12:34:36.227Z  INFO 146 --- [e-1183965941#60] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:34:36.288Z  INFO 146 --- [e-1183965941#61] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:34:36.295Z  INFO 146 --- [e-1183965941#61] de.hoennig.werkator.StateDirMigration    : renamed the machine configuration to .werkator.yml
2026-09-03T12:34:36.308Z  INFO 146 --- [e-1183965941#62] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:34:36.320Z  INFO 146 --- [e-1183965941#63] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T12:34:36.331Z  INFO 146 --- [e-1183965941#63] de.hoennig.werkator.StateDirMigration    : dropped the moved build worktrees; each is recreated by its branch's next build
2026-09-03T12:34:36.343Z  WARN 146 --- [e-1183965941#64] de.hoennig.werkator.StateDirMigration    : .git/gittally exists next to .git/werkator — the leftover is ignored, remove it once you are sure