Windows contributor DX: bun run check, setup and release:test fail on Windows
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
调研方向
The first stop is package.json: every script that calls scripts/*.sh directly needs a bash prefix (the failing one is check → scripts/check-skills.sh), and the TS release tests that spawn a script need the same prefix. Then read setup.sh for the Linux hints and add a MINGW/MSYS branch covering MSVC Build Tools, WebView2, Git Bash and actionlint/zizmor, plus a Windows section in docs/contributing.md. Add a Windows CI job running bun run check without Rust; done means a fresh Windows 11 machine gets rc=0 from bun run setup through bun run check.
由索引模型根据 Issue 内容生成。
描述
Observed on one Windows 11 machine (Git Bash, Bun, WSL installed) while gating #259 (gate note: https://github.com/codeatlasdev/atlas/pull/259#issuecomment-6882316955). The release:test failures also happen on main, so they are a pre-existing Windows break, not caused by #259. Causes marked "inferred" were not traced to Bun source.
Contributors on Windows cannot run the repo's own gate today. Found while gating #259 on Windows 11 (Git Bash + Bun):
What breaks
bun run checkstops after cargo-deny:scripts/check-skills.shfails withbun: unknown error. Inferred: Bun's script runner on Windows does not execute a.shfile by path (observed:bun: unknown errorandEFTYPE uv_spawn). Same for every script that callsscripts/*.shdirectly:setup,desktop:dev,desktop:build,lint:workflows,mobile:check,release:*,sweep,icons:dev.release:test: 38 failures withEFTYPE: inappropriate file type or format, uv_spawn, identical onmain: the TS testsBun.spawnSync([script])on.shhelpers;python3is not the Windows name (python/py).lint:workflows: actionlint/zizmor not installed andsetup.shdoes not say how on Windows.setup.shhas hints for Linux packages only; nothing for Windows (WebView2, MSVC Build Tools, cargo-xwin not needed locally, etc.).- CI job
rust-windowsbuilds and tests Rust, but no CI job runs the scripts orbun run checkon Windows, so this regresses silently.
Works by hand: bash scripts/check-skills.sh, bun run desktop:check (3199 tests), Rust fmt/clippy/nextest (1920 tests).
Proposal
- Every
package.jsonscript runs shell scripts asbash scripts/x.sh(Git Bash is already required for the repo); TS tests spawn["bash", script]; Python viapython3 || python. setup.shdetects Windows (uname -sMINGW/MSYS) and checks/hints: MSVC Build Tools, WebView2 runtime, Git Bash,cargo nextest,cargo deny, actionlint + zizmor viawinget/scoop.docs/contributing.md: a "Windows" section (prereqs,bun run desktop:dev, what is macOS-only: agent instances, Lab, mirror).- CI: a Windows job running
bun run checkminus the Rust part (already covered), so script breakage on Windows turns CI red. - Optional later: port the most used scripts (setup, check-changed, heavy) to Bun TS so they need no bash at all.
Done when
A fresh Windows 11 machine with Git, Rust, Bun goes bun run setup → bun run check → rc=0, and CI enforces it.
- 主要语言
- Rust
- 星标
- 3
- 派生
- 1
- 平均合并
- 9 小时 51 分钟
- 30 天内合并 PR
- 310
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codeatlasdev/atlas 的其他 Issue
-
type: bug
难度 2/5 1-3 小时 新手友好度 75/100
codeatlasdev/atlas#597 ·
维护者通常 1 天内回复
-
area: ci os: linux type: bug
难度 2/5 1-3 小时 新手友好度 78/100
codeatlasdev/atlas#496 ·
维护者通常 1 天内回复
-
area: ci type: bug
难度 3/5 1-2 天 新手友好度 68/100
codeatlasdev/atlas#596 ·
维护者通常 1 天内回复
-
os: linux type: bug
难度 3/5 1-2 天 新手友好度 68/100
codeatlasdev/atlas#591 ·
维护者通常 1 天内回复
-
area: ci os: windows type: bug
难度 3/5 1-2 天 新手友好度 56/100
codeatlasdev/atlas#550 · 1 条评论 ·
维护者通常 1 天内回复
查看 codeatlasdev/atlas 的全部 Issue
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKit未关闭bug
难度 2/5 1-3 小时 新手友好度 83/100
nledford/Ladderback#1091 ·
维护者通常 1 天内回复
-
bug fix packaging ui user-sprint
难度 2/5 1-3 小时 新手友好度 78/100
Vondor/KassenSturz#1197 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复