Support incremental reruns
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- nodejs, typescript
- Ambito
- tooling
Direzione di ricerca
Inizia tracciando la gestione esistente in TypeScript dello store, del changes array e dei watched paths. Definisci l’API dei task e verifica gli eventi task:start/task:end, l’invalidazione specifica del task e i risultati memorizzati tra le riesecuzioni del generatore. L’opzione filesystem-cache è esplicitamente fuori ambito per l’implementazione iniziale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, jumpgen has a store object for preserving arbitrary data between runs. When combined with the changes array, you can manually determine which data in your store has been invalidated, allowing you to know which parts of your generator need to be rerun.
With a new API, we could make this less of a hassle.
- Add
taskfunction that takes anamestring and a callback. - When a task starts and ends, a
"task:start"or"task:end"event is emitted with the task name. - Any paths watched from within a task's callback will only invalidate that task when changed.
- When your generator reruns, some tasks may not rerun and instead will return a memoized result, if nothing they watched has changed.
- Optionally, you can specify that a task's result should be stored in a filesystem cache, rather than kept in memory. (This feature won't exist in the initial implementation)
- Lingua principale
- TypeScript
- Stelle
- 22
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Altre issue di alloc/jumpgen
-
Write some tests! Apertaplanned
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
idea (not planned)
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
-
idea (not planned)
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Add `fs.typeof` method Apertagood first issue help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di alloc/jumpgen
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/DebateAI#582 · 2 commenti ·