fix false positive cache invalidation caused by unscoped lookup by bjaglin · Pull Request #192 · scalameta/sbt-scalafmt (original) (raw)

@bjaglin changed the titlefix false positive cache invalidation caused by unscoped lookup WIP fix false positive cache invalidation caused by unscoped lookup

Dec 21, 2021

bjaglin

@bjaglin bjaglin marked this pull request as ready for review

December 22, 2021 00:16

@bjaglin bjaglin changed the titleWIP fix false positive cache invalidation caused by unscoped lookup fix false positive cache invalidation caused by unscoped lookup

Dec 22, 2021

kitbellew

@bjaglin

It seems that keys are not scoped when looked up from Def.Initialize[] referenced within Def.taskDyn(), resulting in streams.value.cacheStoreFactory defaulting to a directory shared across configurations.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})