Recently we got strange issue with tasks graph invalidation in ScalaJS project which caused build to took more time that is should.
After some digging I was able to reduce this case to minimal reproducible example https://github.com/american-fable/demo-mill-assembly-invalidation-issue (see README.md it has instruction how to reproduce issue).
In short for unknown reason if task has name 'assembly' it causing to invalidate dependent tasks without any changes in those tasks but if different name is used for same task it won't invalidate those as it should be.
(tested on 1.0.6-jvm)