Support Bazel repository contents cache
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- build-system
Direzione di ricerca
Start with handler/getchangedtargets.go and trace how target graph computation finds Bazel repository metadata, especially the expected external/<repo>.marker file. Compare that lookup with the repository contents cache layout described in the issue, where metadata is in a .recorded_inputs file. Done when analysis handles this layout without the reported missing-marker error; run the relevant target graph tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I am trying to setup Tango for one of our projects as a POC. The project is a Java service built with Bazel 9.3.0.
I am facing the following issue when analyzing the repository:
2026-10-20T12:03:08.957+0200 ERROR handler/getchangedtargets.go:39 GetChangedTargets failed {"repository": "demand-api", "error": "fetch target graphs: failed to get target graph #1: get target graph: compute target graph: bzlmod repo \"rules_jvm_external++maven+io_netty_netty_codec_protobuf_4_2_19_Final\" has targets in query but no marker file", "error_code": "infra"}
AI assisted analysis: Bazel successfully finds the dependency but Tango fails afterward while calculating target hashes. Tango uses Bazel's repository metadata to detect changes to external dependencies. It currently expects that metadata in an external/@<repo>.marker file. With Bazel's repository contents cache, the dependency directory can instead be a symlink into a shared cache, with metadata stored alongside the cached directory in a .recorded_inputs file. This layout was observed in the affected Tango workers. Tango only looks for .marker files, so it treats the dependency's metadata as missing and aborts the request.
Perhaps I am missing some necessary configuration in the project's .bazelrc to support Tango. Do you any have suggestions or workarounds?
- Lingua principale
- Go
- Stelle
- 23
- Fork
- 11
- Merge medio
- 1g 10h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 uber/tango
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
race in core/bazelForse di nuovo libera @sywhang l’ha presa 136 giorni fa e non c’è nessuna pull request aperta. Aperta
uber/tango#134 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
evener-transcript-v2-upgrade tool still scans transcript files through bufio's 4 KiB default bufferAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
prime-radiant-inc/evener#6370 ·
I maintainer di solito rispondono entro 1 giorno
-
ManageSieve proxy: a backend's NO/BYE greeting is skipped as a capability line and reported as EOFApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ManageIQ/manageiq-pods#1476 ·
I maintainer di solito rispondono entro 1 giorno