City Updates not working properly

Just noticed this: Solna kommun Hans Westerback is running Solna kommun, Stockholms län - CityStrides
There is one street that has been partly closed off due to construction works (the middle part) for a couple of years now
Järva Skjutbaneväg - CityStrides
But it has just been opened, and on Sep 3 this was updated in OSM Way: ‪Järva Skjutbaneväg‬ (‪25412096‬) | OpenStreetMap
But Solna kommun was updated to CS today, Sep 5, and the change has been imported. The middle part is still shown as runnable in CS (there should be nodes at the intersections)


This street was also not mentioned in my notification mail as an updated street
( The reason I discovered this missed update is that in a ”competing street hunting application” I was suddenly not at 100% for Solna anymore)
This is probably the same thing that I mentioned in Mismatch nested and parent city, then I thought it was somehow connected to parent/nested cities, but this one, Solna kommun, is not nested, so there seems to be something else involved

I suspect it was just a data lag between OSM & the Overpass service I use. Edits in OSM are not immediately available via Overpass - it can lag by various amounts of time. Right now it’s serving up data from 2023-09-02T20:19:00Z

I checked the Overpass query to see what it’s returning now & I see that section of Ways is included in the response. I queued up a sync for the city, so that should fix it up. It’s just going to take a while, because I’m currently running code to add the length to each street record.

Haven’t seen any change in CS for Solna kommun yet, but maybe these other km updates take very long time. I’ll keep an eye on it…

@JamesChevalier

This city shows an updated date but didn’t actually update.

Can you give an example of something that is not updated?

Ah, the code that handles Overpass failures wasn’t resilient enough. I’m updating it so it will clear out that date as the last step, if it wasn’t successful. This will place it in the front of the queue for the next update attempt, so hopefully won’t be too confusing to people if they happen to see it change to blank. :sweat_smile:

(Note to self: see you back here in like a month when you’ve received too many emails and need to change this behavior again)

@JamesChevalier, still encountering the issue with this city in the recent updates. Shows updated as of 10/09, but no update notifications/email.

Something wrong with the updates? I got one notification tonight that one of my cities have been updated. But when I look at my city pages many more say update Oct 10, e.g Hans Westerback is running Skärholmens stadsdelsområde, Stockholms län - CityStrides

And some have date Oct 10 but the arrow circle is just spinning, e.g. Hans Westerback is running Södermalms stadsdelsområde, Stockholms län - CityStrides

Hm, I’ve now received some more notifications, but not all, seens to be a very long lag between update finished and notification sent. And the one that was spinning is now ok, maybe the update takes a lot longer time than I thought

It’s tough to say for certain … Some take less than a minute, some take hours.

If an update runs and nothing is changed, then no notification is sent.

:person_shrugging: Let’s see how the next update goes…

Update: Merged this into the other thread on the same topic. I’m able to see that the Cambridge update started … the Overpass server that responded had old data … and it properly re-queued the city … but the next time around, with the same issue, it did not properly reset its sync date :thinking: and I can’t see how/why that could happen :grimacing: