Page MenuHomePhabricator

Update kartotherian to use mapdata 0.9.0 (external data is expanded in-place)
Closed, ResolvedPublic

Description

This work has been split out from the Kartographer upgrades, because it will require some additional testing and a separate deployment.

The new mapdata library changes the internal result format for expanded ExternalData. Write tests to prove correctness and update the dependency.

Event Timeline

After thinking about this, I see that there's no difference from the perspective of kartotherian. Mapdata failures are still returned at the top level and so are filtered out by testing each for a .failed property. Successful external data expansion is encapsulated inside of the GeoJSON which is opaque here.

I'll write a test to demonstrate that failed groups are skipped.

Change 889991 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/services/kartotherian@master] Upgrade to mapdata 0.9; test

https://gerrit.wikimedia.org/r/889991

Change 889991 merged by jenkins-bot:

[mediawiki/services/kartotherian@master] Upgrade to mapdata 0.9; test

https://gerrit.wikimedia.org/r/889991

thiemowmde claimed this task.

Mentioned in SAL (#wikimedia-operations) [2023-08-01T17:05:19Z] <mbsantos@deploy1002> Started deploy [kartotherian/deploy@ee544cb]: Update kartotherian to e28ea7ef (T334668 T332985 T332664 T329924)

Mentioned in SAL (#wikimedia-operations) [2023-08-01T17:09:44Z] <mbsantos@deploy1002> Finished deploy [kartotherian/deploy@ee544cb]: Update kartotherian to e28ea7ef (T334668 T332985 T332664 T329924) (duration: 04m 25s)