StateDirMigrationTest

6

tests

0

failures

0

ignored

0.072s

duration

100%

successful

Tests

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

Standard output

Creating nstance of class de.hoennig.werkator.StateDirMigrationTest
2026-09-03T10:10:44.720Z  INFO 144 --- [pe-972811892#60] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T10:10:44.741Z  INFO 144 --- [pe-972811892#61] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T10:10:44.741Z  INFO 144 --- [pe-972811892#61] de.hoennig.werkator.StateDirMigration    : renamed the machine configuration to .werkator.yml
2026-09-03T10:10:44.745Z  INFO 144 --- [pe-972811892#62] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T10:10:44.748Z  INFO 144 --- [pe-972811892#63] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T10:10:44.757Z  INFO 144 --- [pe-972811892#63] de.hoennig.werkator.StateDirMigration    : dropped the moved build worktrees; each is recreated by its branch's next build
2026-09-03T10:10:44.763Z  WARN 144 --- [pe-972811892#64] de.hoennig.werkator.StateDirMigration    : .git/gittally exists next to .git/werkator — the leftover is ignored, remove it once you are sure