chore: install the whole build, run and test toolchain through mise, and consider mise tasks in place of Taskfile
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, ci-cd, tooling
Hướng nghiên cứu
Start with mise.toml, the go.tool*.mod files, Taskfile.yml and .github/actions/install-task/action.yml to see how tools are installed today. Then read internal/upgrade/taskfile_shape_test.go, which pins the CI jobs to task targets, and scripts/vuln_report.py, which lists the tool roster. Done means the D-04 tool-sourcing decision and the task-runner decision are recorded, with the required job names still intact. This is design work, so check with the maintainer before writing any code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The build, run and test tools reach a machine in four different ways, and none of them pins the Go toolchain itself. Move the whole tool suite into mise, and consider mise tasks in place of Taskfile.yml.
What exists today (main at 8c0107f1)
-
Go tools are built from five isolated modfiles:
go.tool.mod: task, goreleaser, govulncheckgo.tool-changie.mod: changiego.tool-golangci.mod: golangci-lintgo.tool-lint.mod: actionlintgo.tool-proto.mod: buf, protoc-gen-go, protoc-gen-connect-go
CI builds
taskthrough.github/actions/install-task, and the Taskfile runs the rest throughgo tool -modfile=.... -
Go comes from
actions/setup-gowithgo-version-file: go.modin CI, and from whatever Go is on the machine locally. Ambient Go 1.27 cannot buildcockroachdb/swiss, so every localtask testneedsGOTOOLCHAIN=go1.26.10, and the Taskfile hard-codes that pin in several places (#104). -
Node and pnpm:
actions/setup-node(Node 24) andweb/package.json'spackageManager: [email protected]. -
mise already pins
hkand@fission-ai/openspecinmise.toml, withmise.lockfor linux-x64, linux-arm64 and macos-arm64. -
Python is the runner's
python3. #177 covers it. -
Tasks:
Taskfile.ymlholds about 6,200 lines and 73 top-level tasks. CI runstask <target>in every workflow (43 uses inci.yml).
What to do
- Pin every tool in
mise.toml: Go (from go.mod'sgoline, which also closes the local half of #104), task or its replacement, goreleaser, govulncheck, changie, golangci-lint, actionlint, buf and the protoc plugins, Node, pnpm, uv, hk and openspec. Keepmise.lockfor all three platforms. - Use one bootstrap for local and CI. Locally that is
mise install. In CI it is eitherjdx/mise-actionor a composite action that keeps D-04 (below). - Retire the
go.tool*.modfiles once mise owns those tools, and point the tool roster thattask vulnscans (scripts/vuln_report.py) at the mise-installed binaries. - Evaluate mise tasks (
[tasks]inmise.toml, or file tasks under.mise/tasks/) as a replacement forTaskfile.yml, as a separate step after the tools move.
Decisions needed
- D-04, how CI gets tools.
.github/actions/install-task/action.ymlsays every CI build tool is built from the checksummed Go module proxy and never from a GitHub Releases download or an install script, after CDN outages brokearduino/setup-taskandtaskfile.dev/install.shin holomush. mise'sgo:backend keeps that for the Go tools, because it runsgo installthrough the proxy. Theaqua:andubi:backends, andjdx/mise-actionitself, download release binaries. Decide per tool, and record the decision. - Taskfile vs mise tasks.
internal/upgrade/taskfile_shape_test.gomakes everyci.ymljob a registeredtask <target>run (inScopeJobs,runBodyExceptions). Moving to mise tasks means rewriting that guard. Several Taskfile targets also carry long, load-bearing comments: the golden suite, the tmux e2e, release rehearsal and fragment checks. - Required checks. The
protect-mainruleset pins its required checks by job name. The migration must keep every job name.
Suggested order
- Pin Go, Node, pnpm and uv in mise, and use them locally.
- Move the Go-built tools to mise
go:entries, and switch CI bootstrap with D-04 kept or explicitly revised. - Decide on the task runner.
Related: #104 (Go toolchain pin), #177 (uv), #176 (the mutation-check script).
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Go
- Star
- 0
- Fork
- 0
- Merge trung bình
- 7 giờ 42 phút
- Pull request đã merge (30 ngày)
- 111
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của seanb4t/codegraph-go
-
chore needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
seanb4t/codegraph-go#380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
seanb4t/codegraph-go#379 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:query chore needs-triage spec-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
seanb4t/codegraph-go#377 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
seanb4t/codegraph-go#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:query bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
seanb4t/codegraph-go#355 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của seanb4t/codegraph-go
Issue tương tự
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
v2fly/domain-list-community#4307 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mattabate/life-distributable#232 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày