Closed lordkage closed 2 years ago
Well, that was fun. I kept digging and debugging, and I found I needed to nuke my cache directory. This isn't a real solution, but I thought I should note it incase others got stuck like I did.
Well, that was fun. I kept digging and debugging, and I found I needed to nuke my cache directory. This isn't a real solution, but I thought I should note it incase others got stuck like I did.
@lordkage Which cache directory did you nuke? I removed the one listed in my chef config syntax_check_cache_path
but still getting the error.
I think this is the cache. ~/.cache/rubocop_cache/*
I think this is the cache. ~/.cache/rubocop_cache/*
That was it. Thanks for pointing that out @tward800 👍
We started running into this problem when we updated Chef Workstation in our pipeline, yesterday. #951 will fix the issue so long as nobody objects to the monkey patch that works around a deficiency in RuboCop's rspec helper. A workaround while waiting for GA is to use the --cache false
option with cookstyle
.
Version:
Environment:
OS: Mac OS 10.15 Chef Workstation version: 22.1.778
Scenario:
Just upgraded Chef Workstation, removing delivery to get green tests, still getting warning I am using it.
Steps to Reproduce:
.delivery
directorychef exec cookstyle
Expected Result:
No warning because the
.delivery
directory is gone. Linked testing to continue.Actual Result: