StateDirMigrationTest

6

tests

0

failures

0

ignored

0.033s

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.007s passed
leaves both alone when the current directory already exists 0.003s passed
moves the pre-rename state directory to its current path 0.013s passed
never overwrites a machine configuration that already carries the current name 0.003s passed
renames the machine configuration inside the moved directory 0.004s passed

Standard output

Creating nstance of class de.hoennig.werkator.StateDirMigrationTest
2026-09-03T09:35:42.422Z  INFO 144 --- [e-2039642748#58] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T09:35:42.432Z  INFO 144 --- [e-2039642748#59] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T09:35:42.433Z  INFO 144 --- [e-2039642748#59] de.hoennig.werkator.StateDirMigration    : renamed the machine configuration to .werkator.yml
2026-09-03T09:35:42.438Z  INFO 144 --- [e-2039642748#60] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T09:35:42.442Z  INFO 144 --- [e-2039642748#61] de.hoennig.werkator.StateDirMigration    : moved .git/gittally to .git/werkator: build history, control token and configuration kept
2026-09-03T09:35:42.446Z  INFO 144 --- [e-2039642748#61] de.hoennig.werkator.StateDirMigration    : dropped the moved build worktrees; each is recreated by its branch's next build
2026-09-03T09:35:42.450Z  WARN 144 --- [e-2039642748#62] de.hoennig.werkator.StateDirMigration    : .git/gittally exists next to .git/werkator — the leftover is ignored, remove it once you are sure