Fixing bugs in production when all you have is an iPhone
Noticed an issue with Beckygram yesterday where single-video posts weren't successfully syndicating to Instagram as reels if she didn't also upload a custom thumbnail ("cover") image—which Instagram's API doesn't require.
Even though I'm in Japan with nothing but a phone, a crappy LTE signal from Google Fi (that I can't believe they charge money for), and spotty hotel Wi-Fi, I was glad to find I had the tools to fix it:
- Log into my Mac Studio over SSH using Terminus
- Run
heroku run rails c
to get into the production Rails console to reproduce the error - Clone the repository with Working Copy
- Fix the bug
- Commit & push
- Wait for it to deploy
It was a relief this whole ordeal didn't take more than 15 minutes or so to fix and it's encouraging to know that little one-line bugs won't require me to travel with an iPad or a Mac for supporting her app in production. Nice.
(Oh, and check out her little video of Akita being cute while you're here!)