Skip to content

Linux support#8

Merged
IliaMManolov merged 4 commits into
mainfrom
dk-stdiod
Jul 9, 2026
Merged

Linux support#8
IliaMManolov merged 4 commits into
mainfrom
dk-stdiod

Conversation

@dimitriosGX

@dimitriosGX dimitriosGX commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Add Linux support for edison-stdiod via a systemd user service and static musl binaries for x64 and arm64. Also resolves the login-shell PATH on Linux so child servers (e.g., npx) start reliably.

  • New Features

    • Systemd user service (install/uninstall/status): writes ~/.config/systemd/user/edison-stdiod.service, enables --now, uses Restart=on-failure, WantedBy=default.target, avoids lingering, and quotes the ExecStart binary path so paths with spaces work.
    • Detects when a systemd user manager isn’t available and returns a clear error; you can still run edison-stdiod run under any init/PM.
    • Resolves the interactive login-shell PATH on Linux once at startup, searches programs against it, and passes it to child spawns so version-manager installs (nvm/fnm/volta) work.
    • Routes stdout/stderr to the daemon log (append) and seeds PATH in the unit for common tools.
    • CI: new Linux job builds fully static musl binaries for x86_64 and aarch64 using zig + cargo-zigbuild, smoke-tests x64, generates SHA256SUMS-linux, uploads artifacts, and publishes on tags.
    • Added scripts/build-linux.sh to reproduce the static builds locally.
  • Migration

    • Requires saved credentials before install: edison-stdiod login --backend ... --api-key ...
    • Install: edison-stdiod install; Uninstall: edison-stdiod uninstall; Logs: edison-stdiod logs --follow

Written for commit 88fcd60. Summary will update on new commits.

Review in cubic

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@dimitriosGX dimitriosGX requested a review from IliaMManolov June 29, 2026 08:30

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 5 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread crates/edison-stdiod/src/platform/linux.rs Outdated
dimitriosGX and others added 3 commits June 29, 2026 12:01
Paths containing spaces would otherwise break service startup.
Identified by cubic in PR review.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@IliaMManolov IliaMManolov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IliaMManolov IliaMManolov merged commit e653344 into main Jul 9, 2026
4 checks passed
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.

2 participants