Skip to content

v2.9.12 - reading the legacy config through one open file handle

Choose a tag to compare

@github-actions github-actions released this 20 Nov 18:51
· 26 commits to main since this release
v2.9.12
37ad025

Reading the legacy config through one open file handle

Fixed

  • The configure migration now reads the legacy project config through one open file handle, and it re-checks that file just before removing it. The identity it compares is taken from the same handle the file was read through, so the file it checks is the file it read. The earlier form read by name and took the identity by a second name lookup. The rule is unchanged: a changed or replaced legacy file is kept, the run exits 1, and one warning is printed. A change made after the last check can still be lost. Regression test: scripts/lib/configure-migrate.test.mjs.