Skip to content

fix: honor HOME in guest os.homedir#119

Draft
NathanFlurry wants to merge 1 commit into
mainfrom
codex/home-env-homedir
Draft

fix: honor HOME in guest os.homedir#119
NathanFlurry wants to merge 1 commit into
mainfrom
codex/home-env-homedir

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

What changed

  • Make guest node:os homedir() follow the effective process.env.HOME, including runtime mutations.
  • Keep os.userInfo().homedir tied to the VM user identity (/home/agentos) so changing HOME does not customize passwd/user identity.
  • Add a sidecar regression test comparing guest behavior with host Node for HOME=/home/foo and later process.env.HOME mutation.

Validation

  • cargo test -p secure-exec-sidecar --test builtin_conformance os_homedir_follows_effective_home_env -- --nocapture

@railway-app

railway-app Bot commented Jun 24, 2026

Copy link
Copy Markdown

🚅 Deployed to the secure-exec-pr-119 environment in rivet-frontend

Service Status Web Updated (UTC)
secure-exec 😴 Sleeping (View Logs) Jun 24, 2026 at 1:47 am

🚅 Deployed to the secure-exec-pr-119 environment in secure-exec

Service Status Web Updated (UTC)
secure-exec 😴 Sleeping (View Logs) Web Jun 24, 2026 at 1:45 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant