Skip to content

Fix configuration cache issue with BufStep - #1779

Merged
nedtwigg merged 3 commits into
diffplug:mainfrom
simonlebras:simonlebras/config-cache-buf-issue
Aug 8, 2023
Merged

nedtwigg merged 3 commits into
diffplug:mainfrom
simonlebras:simonlebras/config-cache-buf-issue

Conversation

@simonlebras

Copy link
Copy Markdown
Contributor

Fixes a configuration cache issue when using Buf to format proto files.

The failure was caused by calling confirmVersionAndGetAbsolutePath when creating the step state, which the configuration cache does not support. The version checking is deferred until a file is actually being formatted.

@nedtwigg
nedtwigg enabled auto-merge August 8, 2023 16:04
@nedtwigg
nedtwigg merged commit 54c6333 into diffplug:main Aug 8, 2023
@nedtwigg

nedtwigg commented Sep 1, 2023

Copy link
Copy Markdown
Member

Released in plugin-gradle 6.21.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants