Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

build(registry): fold native Makefile builds into the Turbo task graph

Đang mở
#272 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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 build does not produce the WASM command binaries, so packages that depend on them assemble as empty placeholders.
  • Anyone running the core tests or an AgentOs example must remember to manually run just registry-native (and just registry-build) first, or hit software 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/native Makefile targets in a Turbo build task (e.g. a package-level script that shells to make, with proper inputs/outputs for 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 + outputs should 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rivet-dev/dynamic-apps

Tất cả issue của rivet-dev/dynamic-apps

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.