Conversation
tfoote
left a comment
There was a problem hiding this comment.
Thanks for adding this with test coverage. It's great to have.
As mentioned in #249 (comment)
The user extension adjusts the workdir
and it would be good to integrate this with that.I think that there's a sort of higherarchy
- If workdir is set explicitly, then use that.
- If it's not set and you're inside of a mounted path keep the cwd
- If it's not set, and the current directour is outside of a mounted volume, default to the home directory.
|
I've implemented the hierarchy you proposed with some minor changes. The current status is:
|
|
Thanks for iterating this is making progress, but it isn't dealing withthe workdir interactions with the user extension: And the workdir will need to be the last snippet to be effective for setting the workdir for the user only, and now potentially effecting the other extensions if it gets evaluated first. I think that it may make more sense to do this as a core capability versus as an extension because of that and the need for the interaction with the mounting and user mechanisms. |
tfoote
left a comment
There was a problem hiding this comment.
Please see my comments in the main thread. This needs to provide sequencing protection and interact with the user and mount extensions to give the expected potential working directories.
somewhere like
Line 485 in ade9803
Or else we need to add a sequencing support to extensions.
Closes #249