fix(mod_compiler): add diagnostic logging of output directory states after compilation and after import-path rewriting to aid debugging

This commit is contained in:
2026-03-05 14:40:05 +00:00
parent 96bafec720
commit d6fb6e527e
3 changed files with 40 additions and 1 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-03-05 - 4.1.18 - fix(mod_compiler)
add diagnostic logging of output directory states after compilation and after import-path rewriting to aid debugging
- Imported fs to allow reading output directories for diagnostics
- Logs entries and directory counts for each successful output directory both pre- and post-import-path-rewrite
- Diagnostics are gated by !isQuiet && !isJson and are read-only (no behavior change)
- Tags used: 'diag' (post-compilation) and 'diag-post-rewrite' (after rewriting) to help identify missing or unexpected output folders
## 2026-03-05 - 4.1.17 - fix(tsunpacker)
use synchronous fs operations in tsunpacker to avoid readdir race conditions