-
Notifications
You must be signed in to change notification settings - Fork 356
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
clay: mounted desk retains files deleted on unix if there's a commit error on the first try #5667
Comments
While preparing for distribution of an app, I ran into the error described above a couple times. Even though the app is just a glob of JS & HTML, it takes up a significant amount of size as reported by Here's a comparison of several desks, note the size of %hodl:
|
you should be able to tell definitively if you run |
Looks like %base is indeed being included:
|
If you run |
cos your desk will have basically stolen the state of all the base agents |
%hodl is the new %base |
Describe the bug
If you
|merge %foobar our %base
, delete all the files in it on unix, copy your own files across, and then|commit
but the commit fails for whatever reason, then when you fix the issue and recommit the files you deleted won't actually be deleted. This results in people unknowingly distributing the entire %base desk along with their app. It's particularly an issue if they're distributing a desk without their own desk.bill file, eg they're just distributing a glob webapp or whatever, cos it'll have the base desk desk.bill file and consequently start copies of all the base desk agents, which will shut down the actual base desk ones and transfer their state across.To Reproduce
Steps to reproduce the behaviour:
|merge %foobar our %base
cd ~/piers/zod/foobar
rm -r * .
cp ~/your-desk/* .
|commit %foobar
|commit %foobar
Expected behaviour
If you delete files on unix they should be deleted upon
|commit
in all casesScreenshots
See screen recording of reproducing bug
System (please supply the following information, if relevant):
Additional context
This could account for why many 3rd party desks are seemingly distributing
%base
Notify maintainers
@liam-fitzgerald
The text was updated successfully, but these errors were encountered: