feat(BA-4766): inject BACKENDAI_PERSISTENT_PATHS env var and show persistent paths on shell startup#9738
Conversation
seedspirit
added a commit
that referenced
this pull request
Mar 6, 2026
jopemachine
previously approved these changes
Mar 12, 2026
fregataa
reviewed
Mar 12, 2026
Member
fregataa
left a comment
There was a problem hiding this comment.
Is there any Kernel Info data type to update?
Contributor
Author
@fregataa I've confirmed that Kernel Info data updates are also needed. I'll add them. |
seedspirit
added a commit
that referenced
this pull request
Mar 12, 2026
seedspirit
added a commit
that referenced
this pull request
Mar 13, 2026
seedspirit
added a commit
that referenced
this pull request
Mar 24, 2026
seedspirit
added a commit
that referenced
this pull request
Mar 25, 2026
fregataa
reviewed
Mar 25, 2026
Member
fregataa
left a comment
There was a problem hiding this comment.
- Is mounted vfolder info not included in GET session/kernel API?
- Please check CI failure
jopemachine
previously approved these changes
Mar 25, 2026
seedspirit
added a commit
that referenced
this pull request
Mar 26, 2026
Contributor
Author
@fregataa yes, but it returns vfolder id, not vfolder mounted path, so it is slightly different |
fregataa
requested changes
Mar 26, 2026
fregataa
reviewed
Mar 30, 2026
Member
fregataa
left a comment
There was a problem hiding this comment.
Please resolve conflict. And it is good to add a new env but not sure to add persistentMountPaths field. Wouldn't be better to add VFolder node field?
…sistent paths on shell startup Inject BACKENDAI_PERSISTENT_PATHS environment variable (colon-separated vfolder kernel paths) into containers at session creation time, and update .bashrc/.zshrc to display persistent mount paths once on shell startup so users know which directories survive session termination. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
|
Please check this PR @fregataa, which you requested change |
jopemachine
approved these changes
Apr 22, 2026
fregataa
approved these changes
Apr 22, 2026
jopemachine
pushed a commit
that referenced
this pull request
Apr 24, 2026
…sistent paths on shell startup (#9738) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BACKENDAI_PERSISTENT_PATHSenvironment variable (colon-separated vfolder kernel paths) into containers at session creation time.bashrc/.zshrcto display persistent vfolder mount paths once on shell startup, warning users that all other files are ephemeralEnvironProvisionerwith the same logic for when the stage pipeline is wired upTest plan
pants fmt fix lint checkall passBACKENDAI_PERSISTENT_PATHSis set inside container viaecho $BACKENDAI_PERSISTENT_PATHSResolves BA-4766