Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#272 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
wasm
Área
build-system

Línea de trabajo

Comienza con registry/native/Makefile, registry/native/c/Makefile y las recetas de just registry-native y registry-build. Rastrea los puntos de entrada de compilación del software de registry y del paquete de agent, y luego define la dependencia, las entradas y las salidas de la compilación de Turbo alrededor de la compilación nativa existente. La tarea está terminada cuando pnpm build o turbo build producen los binarios de comandos nativos de registry sin un paso manual.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
1k
Forks
54
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rivet-dev/dynamic-apps

Todos los issues de rivet-dev/dynamic-apps

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.