voidzero-dev / voidzero-dev/vite-task
Implement `run-many`
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 (eachvp runis its own isolated graph, items run one at a time).vp run --parallelonly 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
runflags are accepted byrun-many(the RFC marks this TBD). pkg#taskspecifiers — 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- 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