Top Tweets for #MyTreda
@tochukwudev @mytreda_app so the owner had no idea for a week. that's the part that'd worry me, seven days of sales recorded wrong and nobody notices till sentry does
@_ZaniarAhmadi @mytreda_app very tough and the fact that it was something else that made notice the bug is crazy.
@tochukwudev @mytreda_app That’s a crucial distinction: a temporary auth issue shouldn't turn a sale into a permanent failure. Offline-first systems need to treat recoverable errors as “pending,” not “lost.”
@z18929514881 @mytreda_app Sentry, was going through it and found it. went through the code and found the bug. thankful it was just that one shop
@positioningNerd @mytreda_app Yes, it can. it is an offline first app. Everything syncs immediately internet is restored
@tochukwudev @mytreda_app brutal lol. a sale just sitting there for a week and nobody notices until sentry flags it. did the shop owner catch it first or was it purely sentry?
@tochukwudev @mytreda_app tried that. if the phone is locked the shortcut can't write the pending note either, so there's nothing for the app to pick up later. a failed row you can see is the better miss. mine just never shows up.
@tochukwudev @mytreda_app totals drifting is a quiet bug
will u fix the old days too
or just new sales from now on
@tochukwudev @mytreda_app I'd make the pending sale visible in the shop's totals as ‘on this device, waiting to sync’. Then staff can explain the number before the next login instead of finding a missing sale a week later.
@syc0ms @mytreda_app ouch, silent loss is the worst kind, at least a failed one shows up somewhere. could the shortcut drop a tiny "pending" note anywhere it can still write while locked, and the app pick it up on the next unlock? that's basically what kept my sale alive
@tochukwudev @mytreda_app no. if the shortcut runs while the phone is locked, that payment just doesn't get saved. it doesn't queue for the next unlock. i treat those as missed and only trust the ones that actually land.
@syc0ms @mytreda_app exactly, the sale was fine, the session wasn't. a payment that only saves when the phone is unlocked is a nasty one. did you end up queueing it for the next unlock?
@wakeona @mytreda_app that's what the sync id is for. every sale gets an id on the phone, and the server only accepts one sale per id. if the first send landed and the reply got lost, the resend gets "already recorded" and the phone marks it synced. it retries, but it can't count twice
@blud872 @mytreda_app good catch, and you're right. the real time travels with it and the activity log keeps it, but the sale itself is still dated when it lands, so a sale that sat on a phone for days shows up in the wrong day's totals. that's on my list now
@tochukwudev @mytreda_app An offline sale came back to a signed-out phone and got marked failed. The 401 did more damage than the outage
@tochukwudev @mytreda_app does the waiting sale keep its original time when it sends
i would guess the daily totals look off if not
@tochukwudev @mytreda_app the 401-as-failed part is the nasty one. the sale was fine. the session wasn't.
i had a similar miss: a shortcut that only logs a payment when the phone is unlocked. if it fires locked, it's just gone. "not yet" is the right bucket.
@ericdjav same lesson building @mytreda_app. sign-ups feel like progress, paying users are the real signal. 105 of 3,301 is about 3.2%. what does someone get when they pay that they can't get free?
@tochukwudev @mytreda_app fair, "failed" is doing way too much work there. though the flip side is a queue that retries forever can silently duplicate a sale if the first send actually landed
An offline-first bug I shipped in @mytreda_app and didn't notice for a week 👇
A sale was recorded on a phone while it was offline. By the time the phone reconnected, it was signed out.
So the app sent the sale, got a 401, marked it "failed" and waited for someone to tap Retry.
Nobody did. The sale sat on the phone, outside the shop's records, for 7 days, until Sentry flagged it.
The fix: a 401 no longer means failed. The sale stays waiting, and the moment someone signs in, it's sent again.
Lesson: in an offline-first app, "failed" should be rare. Most errors just mean "not yet".
What's a bug in your own app that took you too long to notice?
@tochukwudev @mytreda_app makes sense, debts are the one thing they'd never forget lol. do they log new sales in it too or mostly just check who's owing?
@tochukwudev @mytreda_app nice, so in-app is actually the reliable one then. what pulls them back in daily, just checking debts or something else?
@tochukwudev @mytreda_app yeah that tracks. do they even open the app often enough for in-app to work though? or does it just sit there unread too lol
@z18929514881 @mytreda_app True. Email message most time go off without being read. I am been working on seeing how to communicate better without adding to cost. There’s in app notifications too.
@tochukwudev @mytreda_app email for the reminders makes sense on cost. do the shop owners actually read them though? most people i know live on whatsapp, email is where messages go to die lol
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers










