[bug] Multi-Repo Tome Imports File Conflicts

Aperta
#607 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go, graphql, rust
Ambito
backend, devtools

Direzione di ricerca

The issue is a design conflict when two imported repos share a tome and the same asset name, so imports overwrite each other. Read how tomes reference assets by name and how multi-repo imports currently land files. Decide between namespacing (which breaks agent lookups) versus sending an id-to-name mapping so fetches use ids. Done means imports no longer clobber assets and agents can still resolve them; there is no named file or test in the issue.

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

Descrizione

bug help wanted

Describe the bug
If two repos have the same tome, with the same asset, then they will conflict (and overwrite eachother each time they are imported). To solve this, we could prefix the name with a namespace (e.g. the imported repo), but this would prevent the agent from being able to access the asset (since the tome references assets by name, and they are not expected to know which repository they were imported from).

Additional context
It's possible that we could send a mapping of ids <--> asset names to the agent and always reference by id when fetching assets.

Lingua principale
Rust
Stelle
639
Fork
65
Merge medio
1g 5h
PR unite (30g)
62

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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.

Altre issue di spellshift/realm

Tutte le issue di spellshift/realm

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.