[bug] Multi-Repo Tome Imports File Conflicts

Abierto
#607 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
28/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go, graphql, rust
Área
backend, devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
639
Forks
65
Merge medio
1 d 5 h
PR fusionados (30 d)
62

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de spellshift/realm

Todos los issues de spellshift/realm

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.