voidzero-dev / voidzero-dev/vite-task

Implement `run-many`

Aperta
#388 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Rust
Stelle
466
Fork
42
Merge medio
1g 15h
PR unite (30g)
19

Descrizione

Tracking issue for the run-many RFC.

RFC: docs/rfcs/run-many.md (PR #387)

Summary

Add vp run-many <task1> <task2> ... that builds one execution graph containing multiple requested tasks, deduped by node. This is the schedule that today's primitives can't express:

  • ["vp run a", "vp run b"] (#381) serializes the two (each vp run is its own isolated graph, items run one at a time).
  • vp run --parallel only takes one task and drops every dependency edge — too blunt when some edges matter.

Combined with the string[] shorthand from #381, the tree of execution graphs gains a full algebra: string[] sequences siblings, run-many fans out within one node.

Open questions

  • Which run flags are accepted by run-many (the RFC marks this TBD).
  • pkg#task specifiers — included or restricted to bare task names for v1.
  • Behavior when invoked with no task names (error vs. interactive multi-select).

See the RFC for the full motivation, diagrams, and a worked composition example.

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Inizia da docs/rfcs/run-many.md e dal PR #387 collegato per comprendere la progettazione proposta del grafo di esecuzione. Risolvi le questioni aperte relative ai flag accettati, agli specificatori pkg#task e al comportamento di no-task prima di implementare il comando. Il lavoro sarà completato quando vp run-many accetterà più task e costruirà un unico grafo di esecuzione deduplicato con il comportamento documentato per dipendenze e concorrenza.

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

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.