fix: use canonical ~/hero/var/hero_compute.env path (#70) #72
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute!72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_env_path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace fragile .env loading (CWD guessing, binary parent scanning,
$HOME/.env symlink) with a single canonical path:
~/hero/var/hero_compute.env
Changes:
hero_compute_sdk::load_env() instead of dotenvy::dotenv()
(only SDK needs it now)
This fixes the "Symbolic link loop (os error 40)" crash that occurred
when hero_compute created a self-referential symlink $HOME/.env ->
$HOME/.env after running from $HOME with no Cargo.toml in CWD.
#70