Closed kgartland-rstudio closed 2 months ago
Could this be a case where file watcher events were not triggered to reset the home view selection?
Should the configuration files API return something different in the case where the named configuration can't be found?
I'm getting a code smell of a race condition when I look into this. I'm not able to re-create locally, but I think it may be too fast at refreshing things. Unfortunately it is a bit hard to debug on workbench, but perhaps I can put some artificial delays in the code to attempt to reproduce.
I haven't been able to reproduce this, but I still suspect there is a race condition here that could occur. I will bounce this back to triage to decide what to do.
A large amount of file deletions seems to cause this as well - like deleting a large Python virtual environment.
Could be the same issue.
After some discussion these sort of errors could be ignored. It is most likely because the config we have "selected" hasn't been updated when we get other file watcher events, but we will get to a good state after all file watcher events run.
Since we don't show the file list with nothing selected this error isn't particularly helpful.
Can we retest this, since we've merged a significant amount of changes/fixes to the file watcher and request code?
Closing this one because it is done.
When deleting the
.posit
dir in Workbench after a deployment the UI throws this error:This does not seem to occur in other Linux environments.