Menu

I Debugged a Timezone Bug by Talking to Myself, Then Ran the Audio to Text and Got a Bug Report
📰

I Debugged a Timezone Bug by Talking to Myself, Then Ran the Audio to Text and Got a Bug Report

DEV Community: python·Joy·4 days ago
#7JWf5uBw
#devtopython#devto#dev#recording#minutes
Reading 0:00
15s threshold

Rubber-duck debugging works for me, but I've always lost the useful part. I talk through the problem, I find the bug, and an hour later I can't explain to my team how I found it. Last month I tried recording the monologue and running the audio to text afterwards. The transcript turned into the first draft of my bug report.

This is what happened, what the script looks like, and where it fell short.

The bug: a test that failed only after 4 p.m.

We had a test in a Node service that checked "orders created today." It passed in CI every morning and failed for anyone who ran it after about 4 p.m. Pacific.

You can probably guess the cause. I couldn't, at the time, and I spent forty minutes going in circles.

Recording myself (and only myself)

I work from home, so the only voice on the recording was mine. That matters. If you try this while pairing, ask your pair first, and stop recording when someone else drops into the call without knowing.

I didn't bother with a separate app.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.