fix(sync): guard optional bash profile helper - #67
Merged
Conversation
Repair the canonical bash-profile source during known-config ingest so a missing optional local env helper cannot pollute login-shell stderr while the present helper still initializes the environment. Task: cde9f87b-ff03-45d2-9882-4899f0ba1e8b Issue: #65 Agent: cornificia
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
. "$HOME/.local/bin/env"line while ingesting the managedbash-profilesourceRoot cause
The canonical
bash-profileconfig stored an unconditional source of an optional helper. Instructions then faithfully rendered those source bytes into~/.bash_profile, causing every login shell to emit a missing-file error on machines without the helper.Regression proof
28 pass, 0 fail623 pass, 0 failScope
Only the known
bash-profilesource and its regression tests change. This PR does not merge, publish, install, apply a profile, or modify the rendered home file.Task:
cde9f87b-ff03-45d2-9882-4899f0ba1e8bFixes #65
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.