Turborepo adapter: read the task graph and run through `turbo run` (tracking issue)

Aperta
#115 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ci-cd, testing

Direzione di ricerca

Start with the existing Nx adapter referenced by issue #111 and inspect src/ci-inference/resolve.ts, where Turbo is currently treated as an opaque wrapper. Run turbo run test --dry=json in a public Turborepo monorepo to inspect resolved tasks, inputs and hashes, then compare how changed files select package tasks. The tracking issue is ready to evaluate once a public repository is available; done means Core can plan turbo run test --filter=<pkg>... and leave cache decisions to Turborepo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

adapter enhancement help wanted

Same shape as the Nx adapter (#111), after it works on one public repository.

  • Read packages and task dependencies from turbo.json and the workspace (turbo run test --dry=json gives the resolved tasks, inputs and hashes).
  • A changed file that a task's inputs match selects that package's task.
  • Plan turbo run test --filter=<pkg>... so Turborepo's cache decides what runs. File-level runs only in the agent's pre-push loop.
  • Today Core treats turbo as an opaque wrapper (src/ci-inference/resolve.ts) and lists turbo.json only as an implicit config file.

Looking for a public Turborepo monorepo to try it on. Comment if you maintain one.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
18h 41m
PR unite (30g)
48

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiffCI/core

Tutte le issue di DiffCI/core

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.