Skip to content

Preserve Runtime PATH in login shells - #649

Merged
SaladDay merged 2 commits into
mainfrom
preserve-runtime-path-in-login-shells
Oct 10, 2026
Merged

SaladDay merged 2 commits into
mainfrom
preserve-runtime-path-in-login-shells

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Native login shells in maintained Runtime images reset the initialized npm/Python package PATH. Preserve exported Runtime PATH through the shared Debian profile build step while retaining Debian defaults when PATH is absent. All three image contexts use one definition, and the combined image inherits it.

Validation: independent full-diff review without findings; focused Python/shell tests; actual image baseline and candidate with offline npm/Python console scripts, custom paths, login/non-login/nested shells, and unset/empty PATH. Repeated local login measurements show no material overhead. Real native dependency/cold-continuation acceptance is running; Core and daemon are unchanged by this patch.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@blacksmith-sh

This comment has been minimized.

@SaladDay
SaladDay force-pushed the honor-initialization-execution-budget branch from e45241d to 5718fc1 Compare October 10, 2026 17:00
@SaladDay
SaladDay force-pushed the preserve-runtime-path-in-login-shells branch from 25a0c8d to dd91fd1 Compare October 10, 2026 17:01
Base automatically changed from honor-initialization-execution-budget to main October 10, 2026 17:15
@SaladDay
SaladDay force-pushed the preserve-runtime-path-in-login-shells branch from dd91fd1 to a82ce0d Compare October 10, 2026 17:16
@SaladDay
SaladDay marked this pull request as ready for review October 10, 2026 17:22
@SaladDay
SaladDay merged commit a442026 into main Oct 10, 2026
25 checks passed
@SaladDay
SaladDay deleted the preserve-runtime-path-in-login-shells branch October 10, 2026 17:22
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