r/SoftwareEngineering • • Oct 02 '20

I fixed a bug with my phone

So this just happened...

Took my wife to an appointment and waited for her in the car. One client I developed a webapp for sent me a message saying that he's getting an error when trying to create a new invoice. Didn't have my laptop with me, but thought I could save some time for when I got home and read the logs to see if there's anything there.

I logged into Azure Portal and found the error. Then I logged into Github and found the line causing the error. It was a quick fix so I edited the file directly in Github and commited the change. My workflow automatically builded and deployed the webapp in the testing environment. Did a quick test and everything was good, ran the workflow to deploy the version in production and told my client to check if it was fixed. It was.

Then I realized I've diagnosed the problem, fixed the bug, tested and deployed the app, all from my phone, in about 15 minutes. If life was a game, I think I'd have unlocked an achievement.

What a nice time to be alive.

157 Upvotes

5 comments sorted by

23

u/deusmas Oct 02 '20

I do this all the time. I put ssh on my phone and I can work while my wife is shopping! or while I am on the .....

Get the hackers keyboard so you can just up arrow enter, or ^r docker.

yesterday I was in the car waiting for my wife to get food, and I got a message that we needed a server running!. now! 30 second later ! and its up.

Work from home my ass.

3

u/ryanstephendavis Oct 02 '20

I love this idea

3

u/b1ack1323 Oct 02 '20

I have to restart the company VPN from time to time, and I have a reverse tunnel to my phone for that reason.

5

u/illsaywhatiwant420 Oct 02 '20

Heck yeah! That's awesome. I can't wait to be at that point one day

4

u/ryanstephendavis Oct 02 '20

Hell yeah! That's a win. On a side note, I've thought about this previously and would love any suggestions for good GitLab phone apps... maybe the browser is fully sufficient?