build(registry): fold native Makefile builds into the Turbo task graph
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- wasm
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với registry/native/Makefile, registry/native/c/Makefile và các recipe just registry-native và just registry-build. Truy vết các điểm vào build của phần mềm registry và package agent, sau đó xác định dependency, input và output của Turbo build xoay quanh native build hiện có. Hoàn tất khi pnpm build hoặc turbo build tạo ra các binary lệnh native của registry mà không cần bước thủ công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The registry native command binaries are built by a standalone Makefile (registry/native/Makefile, registry/native/c/Makefile) invoked out-of-band via make -C registry/native commands (the just registry-native recipe). This build is not part of the Turbo task graph:
turbo build/pnpm builddoes not produce the WASM command binaries, so packages that depend on them assemble as empty placeholders.- Anyone running the core tests or an
AgentOsexample must remember to manually runjust registry-native(andjust registry-build) first, or hitsoftware package … is not BUILT/ missing-command failures at runtime. - The manual step is a recurring footgun for contributors and CI setup.
Proposal
Drive the registry native builds through Turbo (turborepo) as the primary build path so a single turbo build produces everything, no manual pre-build:
- Wrap the
registry/nativeMakefile targets in a Turbobuildtask (e.g. a package-level script that shells tomake, with properinputs/outputsfor caching), or port the command build to per-crate Turbo tasks. - Wire it into the dependency graph (
dependsOn) so registry software/agent package builds depend on the native commands being built. - Keep the Makefile as the underlying compiler invocation if convenient, but stop requiring it to be run by hand — Turbo's cache +
outputsshould make repeat builds cheap.
Outcome
pnpm build (or turbo build) alone leaves the registry fully built; no separate just registry-native / just registry-build step before running tests or examples.
Note: filed as "Turbo/turborepo" (the monorepo task runner already in use), per the "replace the makefiles … using turbo" ask.
- Ngôn ngữ chính
- TypeScript
- Star
- 1k
- Fork
- 54
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 rivet-dev/dynamic-apps
-
Build cache ignores maxResponseBytes, potentially reusing an outdated response limitCó thể đã có người làm @Utkarshpandey0001 đã nhận 19 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
rivet-dev/dynamic-apps#297 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
rivet-dev/dynamic-apps#280 · 2 bình luận ·
-
Make agentOS runtime classifier content-based (match Linux exec semantics), not extension-basedCó thể đã có người làm @mittal-parth đã nhận 25 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
rivet-dev/dynamic-apps#275 ·
-
Treat the WASM/WASI build target as cfg(unix) so filesystem tools need no per-tool mode-bit patchesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rivet-dev/dynamic-apps#271 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
rivet-dev/dynamic-apps#178 ·
Tất cả issue của rivet-dev/dynamic-apps
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
MystenLabs/MemWal#1163 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mondriaan
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
knaw-huc/textannoviz#709 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
billion-context-pi
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ranxianglei/billion-context#2521 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: YRF Music NepalĐang mởstreams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100