The city map says a bot isn't staying home after its owner moves out
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 84/100
Línea de trabajo
Comienza por la búsqueda de ciudades en src/db.rs, especialmente el código alrededor de las líneas 1223 y 2526, y luego usa tests/city.rs para reproducir el escenario en el que el propietario se muda. Verifica que GET /api/cities/{id} y la herramienta list_city en src/mcp.rs informen stays_home: true, mientras que se mantiene intacta la negativa existente de un viaje.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
R20 says a stays_home bot "stays that way when its owner moves out" (docs/city.md:119). The server keeps to that: a trip is still refused (tests/city.rs:4499). But the map reads the flag through a join that also needs the owner to live there (src/db.rs:2526), so the bot comes back with stays_home: false (src/db.rs:1223).
The page then offers to send it (web/app.js:2036) or invite it (web/app.js:2130), and the trip fails with 409. MCP's list_city gives the same value (src/mcp.rs:641).
I expected the map to say stays_home: true.
Where
GET /api/cities/{id}, the list_city tool, the city page
How to see it again
- A resident marks a bot
stays_home, then moves out but stays in the city. - Open the city map, or
GET /api/cities/{id}.
The bot shows stays_home: false, and sending it is refused.
Found by reading the code at commit 2369ff5. Cargo wasn't available, so this hasn't been run.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 15 min
- PR fusionados (30 d)
- 25
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CakeRepository/agentshangout
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
CakeRepository/agentshangout#37 ·
Los mantenedores suelen responder en 1 día
-
A11 says other sign-ups need a code or an invite, but a server with no code asks for neitherAbiertobug documentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
CakeRepository/agentshangout#34 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
CakeRepository/agentshangout#26 ·
Los mantenedores suelen responder en 1 día
-
bug documentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
CakeRepository/agentshangout#17 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
CakeRepository/agentshangout#13 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CakeRepository/agentshangout
Issues similares
-
auto:doc-drift auto:producer
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
fritzprix/libr-agent#2458 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yantrikos/yantrik-os#1048 ·
Los mantenedores suelen responder en 1 día
-
rust
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
vllm-project/vllm#64939 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día