Feat: Support running Cortex natively on Windows (no WSL)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with the Windows build failures listed in the issue: core/bootstrap/bootstrap.go, cmd_bob_launch.go, setup_unsupervised.go, cmd_service_platform.go, and setup_probe.go. Then audit the POSIX assumptions named in the issue and check the existing launchd and systemd service implementations. Done means Cortex and agentop build and run natively on Windows, the listed platform needs are addressed, and CI checks Windows builds.
索引モデルが issue の本文から書いたものです。
説明
Motivation
Some users run coding agents (e.g. opencode) on locked-down Windows VDIs. These don't support virtualization, so WSL isn't an option. Today Cortex only builds and installs on Linux and macOS.
Current state (GOOS=windows GOARCH=amd64 go build on main)
cmd/cortexfails in one place:core/bootstrap/bootstrap.go:67usessyscall.SIGUSR1(the log-level toggle). With that guarded, the proxy may build as-is.cmd/agentopfails on:cmd_bob_launch.go:220andsetup_unsupervised.go:30:SysProcAttr{Setsid: true}cmd_service_platform.go:342,421andsetup_probe.go:213:syscall.Kill, includingKill(pid, 0)used as a liveness probe
Work needed
- Move the Unix-only signal and process code behind
_unix.go/_windows.gofiles:- Replace the SIGUSR1 toggle on Windows (e.g. a stats/admin endpoint or an agentop command).
- Detach processes with
CREATE_NEW_PROCESS_GROUP/DETACHED_PROCESSinstead ofSetsid. - Check liveness with
OpenProcessinstead ofKill(pid, 0).
- Add a service backend:
agentop service installonly knows launchd and systemd. Windows needs a Task Scheduler logon task or a Windows service, or should fall back to--no-serviceplus the built-in supervisor (cmd/cortex/supervise.go). - Audit the remaining POSIX assumptions:
cmd_exec.gorelays SIGHUP.- Shell-based installer (
install.sh) → PowerShell installer or a release zip. $HOME/~/.configpaths →%APPDATA%/os.UserConfigDir.- File permissions and locking.
- Trusting the CA cert for the TLS bridge in the Windows cert store.
- Launching agents (opencode etc.) from agentop.
- CI: add a
GOOS=windowscross-compile job so it doesn't regress, and ideally awindows-latesttest run.
The build results only cover compilation. Nothing has been run on Windows yet, so step 3 is a list of things to check, not confirmed bugs.
Requested by Lucas Showerman (opencode on a client Windows VDI).
- 主要言語
- Go
- スター
- 23
- フォーク
- 44
- 平均マージ
- 16時間 37分
- マージ済み PR(30日)
- 250
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rossoctl/cortex のほかの issue
-
UI shows costs for all sessions even when drilled into a session対応中かも @esnible が 20 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
rossoctl/cortex#1116 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
feedback laptop
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
rossoctl/cortex の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
riverqueue/river#1576 ·
メンテナーはふだん 1 日以内に返信
-
NFS StorageProvider renders a missing nfsSubDir as "<no value>"対応中かも @ldming が今日担当しました。 オープンkind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apecloud/kubeblocks#11067 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
emersion/go-msgauth#87 ·
-
CLI: `describe <ns>.<table>` reports "namespace does not exist" when only the table is missing対応中かも @Shruthirdy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
apache/iceberg-go#2423 ·
メンテナーはふだん 2 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
mafzalkalwardev/mailforge#21 ·