StateDirMigrationTest

6

tests

0

failures

0

ignored

0.053s

duration

100%

successful

Tests

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

Standard output

Creating nstance of class de.hoennig.werkator.StateDirMigrationTest
2026-09-03T16:01:24.551Z  INFO 144 --- [e-2024709020#64] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T16:01:24.562Z  INFO 144 --- [e-2024709020#65] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T16:01:24.562Z  INFO 144 --- [e-2024709020#65] de.hoennig.werkator.StateDirMigration    : renamed the machine configuration to .werkator.yml
2026-09-03T16:01:24.573Z  INFO 144 --- [e-2024709020#66] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T16:01:24.581Z  INFO 144 --- [e-2024709020#67] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T16:01:24.597Z  INFO 144 --- [e-2024709020#67] de.hoennig.werkator.StateDirMigration    : dropped the moved build worktrees; each is recreated by its branch's next build
2026-09-03T16:01:24.606Z  WARN 144 --- [e-2024709020#68] de.hoennig.werkator.StateDirMigration    : .git/gittally exists next to .git/werkator — the leftover is ignored, remove it once you are sure