New API to detect fid change on rebase
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 46/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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"
- 主要言語
- Python
- スター
- 185
- フォーク
- 22
- 平均マージ
- 1時間 31分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MerginMaps/geodiff のほかの issue
-
GEODIFF_changesCount aborts the process on a truncated changeset (uncaught GeoDiffException)対応中かも @mohanedmoh が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MerginMaps/geodiff#272 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
MerginMaps/geodiff#275 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
MerginMaps/geodiff#267 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
MerginMaps/geodiff#262 ·
-
bug data corruption - sync failure - crash
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
MerginMaps/geodiff#255 ·
MerginMaps/geodiff の issue をすべて見る
似ている issue
-
bug(mcp): handle malformed and partial reranker responses safely対応中かも @KamilEjaz890 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubeflow/docs-agent#301 ·
メンテナーはふだん 4 日以内に返信
-
Update the demo docsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
pulp/pulp_workflow#78 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pgadmin-org/pgadmin4#10797 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gcivil-nyu-org/team5-mon-fall26#132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
gcivil-nyu-org/team4-mon-fall26#291 ·
メンテナーはふだん 1 日以内に返信