-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Could not write workspace metadata '/tmp/com_diffplug_spotless_extra_eclipse #967
Comments
I assure you that the Spotless version is not the issue here. The temporary location is provided by When providing the formatters I did not manage to shutdown all Eclipse internal workers, without touching too many internal Eclipse classes. So the Two things surprising me:
|
It's writeable for build process and is almost empty.
I wasn't clear in my
It has no impact on
Locally it happens only once in several runs. But when it does - it appears that there is leftover in /tmp, for example:
then:
Given exit code of 0 (which allows GitHub Actions/CI to pass without problem), it's possible that similar was logged previously indeed, and I didn't notice that before. Unfortunately I wasn't able to prepare standalone reproducer yet. |
Thanks @pzygielo . I know now where the problem is. Will provide a fix probably with the next release. |
Initial attempt missed to shutdown the Eclipse Job manager.
Fixed in |
Thank you. |
If you are submitting a bug, please include the following:
Errors reported AFTER successful build.
gradleor maven version3.8.3
2.17.1
Ubuntu/20.04.3
gradlew spotless[Apply/Check] --stacktrace
The text was updated successfully, but these errors were encountered: