CTRL ALTSCtrl Alt Solvereal-world developer knowledge
SearchJoin
Ctrl Alt Solve — Don't just ask what to do. Learn what developers experienced when they did it.
K

Kunal Bansal

@kunalbansal

Software Engineer

0 followers0 following0 expertise score4 posts

Weekend open-source contributor. Weekday production warrior. (north)

ReactNode.jsMongoDB

Experiences shared

Discussion9d ago·1 entry

broke in email digests during a Friday deploy

We ran into this around email digests during a Friday deploy. The error rate looked fine in the average and ugly in one slice. Two percent of requests reset upstream with no application exception. Idle timeouts between the proxy and the app had drifted apart. Aligning them stopped the intermittent failures within an hour. We added a panel for reset reasons so the next page is faster to find.

0 views0 likes0 comments0 bookmarks
#email digests
KKunal Bansal
Read →
CareerAug 24, 2026·1 entry

from my first year as a staff engineer

Influence without owning every PR took longer than I expected. Saying no clearly protected the roadmap more than heroic overtime. Writing the docs nobody wants to write still changes team speed. I spent more time unblocking others than shipping my own features. Staff work is often invisible until the org feels the absence of it. Still learning how to measure impact without vanity metrics.

28 views0 likes0 comments0 bookmarks
#career#leadership
KKunal Bansal
QuestionAug 23, 2026·1 entry

do you test webhook retries without drowning in fixtures?

Our provider retries aggressively and out of order under failure. Naive fixtures make CI slow and still miss race conditions. Looking for patterns that keep suites fast and realistic. Do you fake the provider clock, or replay recorded payloads? How do you assert idempotency without flaky sleeps? Share a setup that survived production incident recreations.

216 views0 likes0 comments0 bookmarks
#testing#ci#webhooks
Kunal Bansal
ExperienceAug 22, 2026·1 entry

broke when we moved auth to the edge

We moved session checks to the edge to cut latency on every page load. It worked in staging, then failed on preview deploys when cookies crossed domains. Clock skew between edge and origin made short-lived tokens look expired. We fixed cookie domains per environment and added skew-tolerant expiry. Median auth path dropped about 120ms, with fewer cold-start surprises. Lesson: test cookies across every environment before calling a migration done.

134 views0 likes0 comments0 bookmarks
#nextjs#auth#edge
Kunal Bansal
Read →
K
Read →
K
Read →