Skip to content

Add linux-amd64 support (install + release artifacts)#466

Open
jeffrichley wants to merge 4 commits into
nexu-io:mainfrom
jeffrichley:feat/linux-amd64-support
Open

Add linux-amd64 support (install + release artifacts)#466
jeffrichley wants to merge 4 commits into
nexu-io:mainfrom
jeffrichley:feat/linux-amd64-support

Conversation

@jeffrichley
Copy link
Copy Markdown

What

Adds linux/amd64 as a supported install/run target for looper and looperd.

The daemon's default mode is already foreground/detached (cross-platform Go), so this change only:

  1. CLI target resolver (resolveLooperdTarget) accepts linux-amd64.
  2. Install script (scripts/install.sh) detects Linux/x86_64.
  3. Release workflow publishes looper-linux-amd64 / looperd-linux-amd64, built on an ubuntu-latest runner so the post-build --version self-check runs the binary natively.
  4. Docs updated for Linux.

Out of scope (follow-up)

Supervised lifecycle on Linux via a systemd daemon mode (parity with macOS launchd). On Linux today the daemon runs in foreground mode; --daemon-mode launchd stays macOS-only and returns its existing actionable error.

Testing

  • go test ./internal/cliapp/ passes, including the updated TestResolveLooperdTarget (now asserts linux-amd64 resolves).
  • scripts/install.sh detect_target verified to emit linux-amd64 on Linux/x86_64, darwin-arm64 on macOS/arm64, and fail cleanly on unsupported arches.
  • Built both binaries on linux/amd64 (WSL2) and confirmed end to end:
    • looper daemon install --json β†’ "target": "linux-amd64"
    • looper daemon start β†’ daemon starts detached
    • looper status β†’ healthy: yes, daemonMode: foreground, DB migrations applied, scheduler healthy
    • looper daemon stop β†’ stops cleanly

Caveat

The release-workflow matrix additions could not be exercised in upstream CI from a fork; they mirror the existing darwin-arm64 rows exactly, on an ubuntu-latest runner.

πŸ€– Generated with Claude Code

jeffrichley and others added 4 commits May 29, 2026 14:18
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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