Checkout spins forever on UPI
Ananya (sample) · Android · 9:12 pmEarly access · for software teams in India
Support tickets in. Reviewed fixes out.
BugsClosed reads your incoming tickets, finds the ones caused by the same bug, reproduces it from your logs and opens a pull request with the fix and a test. An engineer reviews it. Nothing merges without them.
Tuesday, 9:12 pm
Four people write in within twenty minutes. One says checkout is stuck. One says the UPI button does nothing. One sent a screenshot of a spinner. One is angry and wants a refund.
Your support agent answers each one, one at a time, and tags them “payments”. The engineer on rotation sees the tags tomorrow morning. Somebody spends an hour working out that all four are one bug.
BugsClosed does that hour of work the moment the second ticket arrives.
Ticket to pull request
Four tickets. One bug. One pull request.
Sample data. This is what the run looks like from start to finish.
Pay with UPI button does nothing
Rohit (sample) · iOS · 9:18 pmStuck on “Waiting for payment”
Meera (sample) · Web · 9:26 pmCharged? App still loading. Refund pls
Kabir (sample) · Android · 9:31 pm41export async function confirmUpiIntent(order: Order) {42 const intent = await createIntent(order.id, order.amount);43 track("upi_intent_created", { id: intent.id });4445 // wait for the bank app to hand control back46 const status = await pollStatus(intent.id, {47 everyMs: 1500,48 until: (s) => s === "SUCCESS",49 });5051 return finalizeOrder(order, status);52}
Line 48 Polling only stops on SUCCESS. When the bank app times out, the status stays PENDING and the spinner never ends. Seen in 4 sessions, all after a 30 s timeout.
Waiting for a reproduced cause…
Fix: retry UPI intent on timeout
- Stop polling on PENDING after 30 s
- Retry intent once, then show “Try again”
- New test: intent.timeout.test.ts
- Linked tickets: #8841 #8844 #8847 #8850
Waiting on: your engineer
What it understands
The first support desk grounded in your code
A ticket says what the customer felt. Your logs say what the system did. Your code says why. BugsClosed reads all three together, so a vague complaint can point at a real line.
The ticket
Words, screenshots, device, app version, plan and the order ID if the customer gave one.
The logs and session
21:12:04 POST /upi/intent 201 21:12:05 poll status=PENDING 21:12:35 bank_app timeout 21:12:36 poll status=PENDING 21:14:51 poll status=PENDING ×92
Request logs, error traces and session events from the minutes around the ticket.
The code
git blame intent.ts:48 a91f3c2 “poll until success” merged 6 days ago touches: confirmUpiIntent()
The repository, recent commits and existing tests, read through the access you grant.
How it works
Five steps, each one you can check
- 01
Read every new ticket
It pulls the text, attachments and metadata from your helpdesk as tickets arrive. Billing questions and feature requests are left alone.
- 02
Group the ones with the same cause
Tickets are matched on what happened in the logs, not on keywords. “Spinner”, “stuck” and “refund pls” can land in the same group.
- 03
Reproduce the bug
It replays the failing path from session data in a sandbox copy of your service. If it cannot reproduce it, it says so and stops there.
- 04
Find the code that broke
It follows the trace into the repository and names the file, the line and the commit that most likely caused it, with its reasons.
- 05
Open a pull request with a test
The fix comes with a test that fails before and passes after. It goes to the reviewer you choose, like any other pull request.
Three people, one bug
How teams run their support queue with BugsClosed
The same bug looks different depending on where you sit. Each person sees the part they need.
The ticket tells the agent what is happening
Every linked ticket shows a status line: grouped, reproduced, fix in review, shipped. The agent stops guessing and stops chasing engineers on chat.
A suggested reply is ready for each customer. The agent edits it and sends it, or does not.
I tried paying with UPI three times. The screen just keeps spinning. Has my money gone?
9:13 pm · Grouped with 3 tickets into BC-214
9:19 pm · Reproduced in sandbox, 3 of 3 runs
9:24 pm · Cause found: intent.ts line 48
9:27 pm · Pull request #482 waiting for review
Not yet shipped
Hi Ananya, we found the problem. Your payment did not go through, so no money was taken. A fix is with our engineers now and we will write again when it is live.
The engineer gets a reproduced bug, not a vague complaint
The pull request explains the cause, links the failing sessions and includes a test. Read the diff, run the checks, ask for changes, or close it.
If the fix is wrong, say why in a review comment. BugsClosed revises it or steps aside.
const status = await pollStatus(intent.id, { everyMs: 1500,- until: (s) => s === "SUCCESS",+ until: (s) => s !== "PENDING",+ timeoutMs: 30_000, });+ if (status === "PENDING") {+ return retryIntentOnce(order);+ }
intent.timeout.test.ts · stops polling after 30 s
intent.timeout.test.ts · retries once, then shows “Try again”
142 existing tests pass
The customer hears back when it ships
After your team merges and deploys, the linked tickets get an update in the channel the customer used. You write the template. Nothing goes out before the fix is live.
Re: Payment screen keeps spinning [#8841]
Hi Ananya,
The UPI payment problem you reported on Tuesday is fixed in app version 6.2.2, live today. If the bank app takes too long now, you will see a “Try again” button instead of a spinner.
No money was taken from your account. Thank you for telling us.
Sample Support Team
Where it plugs in
Agents that work across people, process and code
BugsClosed connects to the tools you already run. Which ones we support first depends on who joins early access, so ask us about yours.
Helpdesk
Tickets, replies, tagsRead tickets, post internal notes, set a status fieldLogs and errors
Traces, events, crashesRead onlySession data
Clicks, screens, network callsRead only, personal fields maskedGit host
Code, commits, branchesRead code, push to its own branch, open pull requestsCI
Tests and checksRuns your existing pipeline on its branchTeam chat
Alerts to the right personOptional, one message per bug groupHonest about inputs
It is only as good as your logs
If your service logs a request ID, the user’s session and the error, BugsClosed can usually follow a ticket all the way to a line of code. If your logs say “something went wrong”, it can still group tickets, but it may not reproduce the bug.
When it cannot reproduce something, it tells you what it was missing, so you know which log line to add.
| You have | Group | Reproduce | Draft fix |
|---|---|---|---|
| Tickets only | Yes | No | No |
| Tickets + error tracker | Yes | Sometimes | Sometimes |
| Tickets + logs with request IDs | Yes | Often | Often |
| Tickets + logs + session data | Yes | Most often | Most often |
Guardrails
Your engineers always press merge
It can
- Read tickets, logs, session data and code you connect
- Push to branches it creates, named bugsclosed/*
- Open pull requests and reply to review comments
- Post internal notes and a status on tickets
It cannot
- Merge a pull request
- Deploy anything, to any environment
- Push to your main branch
- Message a customer before your team ships the fix
Plainly
What BugsClosed does not do
It does not replace your support team. People still answer customers. It gives them better answers about bugs.
It does not fix every bug. Some fixes need a product decision or a schema change. It will describe those and leave them to you.
It does not ship code. Deploys stay in your pipeline, run by your people.
It does not guess quietly. Every pull request says how sure it is and what it could not check.
Who it is for
Made for the engineer on support rotation
On most small teams, one engineer each week owns “whatever support sends over”. That week usually goes to reading tickets, asking for screenshots and searching logs by timestamp.
BugsClosed hands that engineer a short queue of reproduced bugs, each with a draft fix. The judgement stays with them. The digging does not.
These describe how the product is built. They are not results from customers.
How we charge
Pricing on request
We charge a monthly fee in ₹ based on the number of repositories connected and how many tickets come in. Pull requests that your team closes without merging are not counted.
Early-access teams set the price with us after the first month, once we both know how useful it was. No annual lock-in.
Questions
Asked by engineers so far
Does it need write access to our repository?
It needs permission to push to its own branches and open pull requests. Branch protection on main stays as it is, so it cannot merge.
Where does our code and customer data go?
It is read to do the job and is not used to train shared models. We will share the full data handling details, including where processing runs, during the demo and in writing before you connect anything.
What if it groups two different bugs together?
Anyone on the team can split a group or move a ticket. The pull request is then re-checked against the tickets that remain.
Which languages and frameworks?
Tell us your stack when you book a demo. We will say honestly whether it is a good fit today.
Will it reply to customers by itself?
No. It drafts replies for agents to edit, and sends a “fixed” update only after your team ships, using a template you approve.
What happens when it cannot reproduce a bug?
It leaves a note on the group saying what it tried and what data was missing. No pull request is opened.
Book a Demo
Bring a real bug. We will trace it with you.
Tell us a little about your team. We reply by email within two working days to set up a 30 minute call.
Or write to hello@bugsclosed.com