Skip to content

v2.8.3: Solution watch rebuilds and watch-mode memory defaults

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 19:32
· 574 commits to main since this release
v2.8.3
c9c6ba6

This patch changes solution watch rebuilds, watch-mode GC and memory defaults, and solution build scheduling. It also adds transformer phase timings to --verbose output and changes several error messages.

🚀 Added

  • rotor build: With --verbose, transformer worker phases now print with their durations in ms: config, program, factories, transform (includes parent repair), parent repair, and print/trace map. Previously these phases were not reported. - by @christopher-buss in #133

🐞 Fixed

  • rotor build: Solution watch (rotor build --build -w) now rebuilds only the changed source after a comment-only edit in a referenced project, and still rebuilds dependents when a declaration changes. Previously every dependent recompiled, and a referenced project's output could trigger a second build cycle. - by @christopher-buss in #130

🔧 Changed

  • rotor build: rotor build -w, rotor check -w, and rotor dev now default to GOGC=100 and a soft Go memory limit capped at 6 GiB, unless GOGC or GOMEMLIMIT is set. Previously they used GOGC=400 and a soft limit of 75% of effective memory, capped at 16 GiB. - by @christopher-buss in #131
  • rotor build: Declaration files now emit concurrently per checker group, and overlap the transformer sidecar round trip when one runs. Previously each checker group emitted serially after the transformer finished. - by @howmanysmall in #127
  • rotor build: In a solution build with --builders N, a project waiting on a dependency no longer occupies one of the N workers, so independent projects start while it waits. Previously a blocked project held its worker until the dependency finished. - by @christopher-buss in #133
  • tsconfig.json: rbxts option errors now begin with invalid "rbxts" config in, and tsconfig parse failures begin with failed to parse tsconfig at. Previously both began with a capital letter, Invalid and Failed. - by @howmanysmall in #132
  • rotor migrate: Its missing-config and overwrite errors no longer end in a period, such as re-run with --force to replace it. Previously they ended with replace it. - by @howmanysmall in #132

Full Changelog: v2.8.2...v2.8.3