New API to detect fid change on rebase
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 46/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend-api-design
Línea de trabajo
The issue describes exposing feature ID remapping from the rebase API and points to geodiff logs showing the mapping, but names no files or tests. First read the rebase API implementation and locate where the mapping is produced. Decide how the API should return those remapped IDs, then add coverage showing a rebase reports the mapping; the issue gives no test path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem:
If an application is holding a reference to Feature and a geodiff rebase happens on the background, currently there is no mechanism to detect if the ID of the feature has been changed. This stale data can lead to deletion/modification of wrong feature. https://github.com/MerginMaps/mobile/issues/4693
Workaround:
It's possible to create changeset before and after rebase. Comparing these changesets should yield the remapping, however we need to make some assumptions when doing it this way (e.g. geodiff creates the changeset in the same order of features).
Solution:
Either create a new API, which would do a dry-run rebase and return the list of remapped ID's or add another parameter to rebase API, which would be populated with the remapped ID's. Geodiff should already have this information available (see logs below), so it's just the matter of exposing it to consumers.
"2026-10-31T09:58:39.875Z GEODIFF debug: rebase info (base2their / old)
TABLE survey
inserted 12,
deleted --none --
updated --none --"
"2026-10-31T09:58:39.876Z GEODIFF debug: mapping
survey
12->13,"
"2026-10-31T09:58:39.877Z GEODIFF debug: No conflicts present"
- Lenguaje dominante
- Python
- Estrellas
- 185
- Forks
- 22
- Merge medio
- 1 h 31 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 MerginMaps/geodiff
-
GEODIFF_changesCount aborts the process on a truncated changeset (uncaught GeoDiffException)Posiblemente ocupada @mohanedmoh la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MerginMaps/geodiff#272 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
MerginMaps/geodiff#275 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 40/100
MerginMaps/geodiff#267 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
MerginMaps/geodiff#262 ·
-
bug data corruption - sync failure - crash
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
MerginMaps/geodiff#255 ·
Todos los issues de MerginMaps/geodiff
Issues similares
-
bug(mcp): handle malformed and partial reranker responses safelyPosiblemente ocupada @KamilEjaz890 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kubeflow/docs-agent#301 ·
Los mantenedores suelen responder en 4 días
-
Update the demo docsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
pulp/pulp_workflow#78 ·
-
Invalid syntax in sshtunnelAbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pgadmin-org/pgadmin4#10797 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
gcivil-nyu-org/team5-mon-fall26#132 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
gcivil-nyu-org/team4-mon-fall26#291 ·
Los mantenedores suelen responder en 1 día