The remote cache keeps one entry per task, so branches overwrite each other's results
I maintainer di solito rispondono entro 1 giorno
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à
- Attiva
- Stack tecnologico
- rust
Direzione di ricerca
Start with the server API design discussed in #713 and the remote cache upload flow in #755. Trace how cache keys are looked up and replaced, then define completion as allowing different input states to coexist and enabling a run to hit a result uploaded from another branch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A remote cache entry is stored under a key made from the task's command, arguments, env, and input/output globs. The contents of the input files aren't part of the key. They're checked after the entry is fetched.
So all input states of a task share one entry. When main and PR branches run the same task with different sources, each upload replaces the previous one, and a fetch hits only if the latest upload came from the same inputs. The more branches share a remote cache, the fewer hits each gets.
The secondary key doesn't help: it only identifies the task, and a fallback through it is used only to explain the miss.
Adding a digest of the input files to the key only covers tasks with explicit input globs. By default, inputs are detected while the task runs, so they aren't known at lookup time. Covering them needs a lookup that can return several candidate entries for one key.
Expected: entries for different input states coexist, so a run can hit an entry uploaded from another branch.
Affects the server API design (#713) and remote cache uploads (#755).
- Lingua principale
- Rust
- Stelle
- 468
- Fork
- 42
- Merge medio
- 1g 3h
- PR unite (30g)
- 41
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di voidzero-dev/vite-task
-
remote cache
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
voidzero-dev/vite-task#781 ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
voidzero-dev/vite-task#780 ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
voidzero-dev/vite-task#779 ·
I maintainer di solito rispondono entro 1 giorno
-
fspy misses Bun file reads on Linux (glibc), so cached tasks replay stale outputForse già presa @wan9chi l’ha presa 1 giorno fa. Apertafspy
voidzero-dev/vite-task#777 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
voidzero-dev/vite-task#768 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di voidzero-dev/vite-task
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
stellar/stellar-cli#2773 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
voidzero-dev/oxc-angular-compiler#511 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
yantrikos/yantrik-os#539 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
documentation station:mac ui-dashboard
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
rolter-ai/rolter#2490 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno