---
title: "Debugging (medium)"
description: "Tracking down bugs, debugging techniques and war stories"
url: "https://swe.quest/tags/debugging?difficulty=medium"
---

# Debugging (medium)

Topic in Engineering practices: Tracking down bugs, debugging techniques and war stories

By difficulty: [Easy](https://swe.quest/tags/debugging.md?difficulty=easy) · [Medium](https://swe.quest/tags/debugging.md?difficulty=medium) · [Hard](https://swe.quest/tags/debugging.md?difficulty=hard)

Posts 1–24 of 98, page 1 of 5, newest first.

## 2026-11-25

- [How one quadratic webhook handler pinned our autoscaler at its ceiling](https://swe.quest/articles/how-one-quadratic-webhook-handler-pinned-our-autoscaler-at-its-ceiling-edd41e1673be3d81.md): Sentry · 2026-11-25 · Medium · 10 min read · Capacity planning, Kubernetes, Performance engineering, Incidents & postmortems, Debugging
  Sentry's Control RPC deployment sat pinned at its 256-pod autoscaler ceiling (normally ~32) because three GitLab integration bugs combined.

## 2026-11-24

- [More ways to debug Expo apps with the React Native SDK](https://swe.quest/articles/more-ways-to-debug-expo-apps-with-the-react-native-sdk-2e4faf16fb4fe081.md): Sentry · 2026-11-24 · Medium · 5 min read · Mobile, React, Observability, Debugging
  Sentry's React Native SDK now ships a first-class, auto-registering Expo Router integration that traces screen focus and imperative router calls (via wrapExpoRouter), correlates deep links with the navigation they trigger, and captures errors from per-route ErrorBoundaries, which a Babel plugin can wrap automatically at build time.

## 2026-11-23

- [Tracing Cache Inconsistencies to Their Root Cause](https://swe.quest/articles/tracing-cache-inconsistencies-to-their-root-cause-0cc21b10b814cb9e.md): Nextdoor Engineering · 2026-11-23 · Medium · 7 min read · Caching, Consistency models, Observability, PostgreSQL, Debugging
  Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill\_on\_write or fill\_on\_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.

## 2026-11-20

- [Configure HikariCP for Spring Boot on Red Hat OpenShift 4](https://swe.quest/articles/configure-hikaricp-for-spring-boot-on-red-hat-openshift-4-3a25ad3cfb278c99.md): Red Hat Developer · 2026-11-20 · Medium · 9 min read · Java & JVM, Databases, Kubernetes, Resilience, Debugging
  HikariCP's default settings can leave Spring Boot apps on OpenShift 4 with exhausted or hung database connections.

## 2026-11-19

- [The ultimate guide to analyzing and troubleshooting critical issues on Red Hat Enterprise Linux 8 and 9](https://swe.quest/articles/the-ultimate-guide-to-analyzing-and-troubleshooting-critical-issues-on-red-hat-e5b34fd4a48226ea.md): Red Hat Developer · 2026-11-19 · Medium · 15 min read · Linux, Debugging, Incidents & postmortems, SRE, Observability
  A structured standard operating procedure for triaging critical production incidents on RHEL 8 and 9, starting from a severity matrix tied to Red Hat Support SLAs and moving subsystem by subsystem through system identity, CPU, memory/OOM, storage, disk I/O, systemd, networking/DNS, logs, SELinux, time sync, cron and resource limits.

## 2026-11-09

- [How a broken release name overloaded our symbolication database](https://swe.quest/articles/how-a-broken-release-name-overloaded-our-symbolication-database-a58ed5f9f475f6d7.md): Sentry · 2026-11-09 · Medium · 7 min read · PostgreSQL, Performance engineering, Incidents & postmortems, Resilience, Debugging
  A handful of customer releases with unexpanded names like \`VERCEL\_GIT\_COMMIT\_SHA\` accumulated tens of millions of URL index rows in Sentry's Postgres 14 files database, and an unbounded source-map URL lookup kept scanning them, timing out and being retried.

## 2026-10-26

- [Making Failure Diagnosis Reliable with Pensive AI](https://swe.quest/articles/making-failure-diagnosis-reliable-with-pensive-ai-99ce7ba81c232629.md): Netflix TechBlog · 2026-10-26 · Medium · 16 min read · LLMs, Evaluation, Debugging, Data pipelines, Observability
  Netflix augmented Pensive, its rule-based failure diagnosis system for data and ML workloads, with LLM-based error extraction and on-demand debugging after roughly half of seven million failure classifications landed in an "unknown" bucket.
- [Building with Stripe Data Pipeline and the Neon backend](https://swe.quest/articles/building-with-stripe-data-pipeline-and-the-neon-backend-d3614e7e4b927058.md): Neon · 2026-10-26 · Medium · 11 min read · Payments & fintech, PostgreSQL, System design, Debugging, Serverless
  Stripe Data Pipeline's real-time sync streams Stripe objects into Postgres tables within seconds, which lets apps drop webhooks entirely: they write to Stripe's API and read charges, prices and promotion codes from synced stripe.\* tables.

## 2026-10-14

- [Why Is My Kubernetes Job Still Pending? Tracing Kueue Admission with Headlamp](https://swe.quest/articles/why-is-my-kubernetes-job-still-pending-tracing-kueue-admission-with-headlamp-7f5d23bd7dc9a3f3.md): Kubernetes Blog · 2026-10-14 · Medium · 9 min read · Kubernetes, Scheduling, Debugging, Developer tools
  A pending Job in a Kueue-managed cluster is often waiting on Kueue admission, not kube-scheduler, so troubleshooting should start with the Workload's QuotaReserved and Admitted conditions before looking at Pods.

## 2026-10-08

- [Data needs its DevOps moment](https://swe.quest/articles/data-needs-its-devops-moment-d7c45f88ee69de4f.md): Render · 2026-10-08 · Medium · 9 min read · Stream processing, Data pipelines, Observability, Debugging, Memory management
  Data pipelines should be treated like any other production service: defined as code in the producing team's repo, with portable SQL logic tested in CI, and run 24x7 against SLOs for lag, freshness and completeness.

## 2026-09-11

- [Debugging our AI search assistant with agent tracing](https://swe.quest/articles/debugging-our-ai-search-assistant-with-agent-tracing-56459c7d4f094d19.md): Sentry · 2026-09-11 · Medium · 4 min read · AI agents, Observability, Debugging, Evaluation, LLMs
  Sentry's Search Query Assistant converts natural-language prompts into Sentry Search Syntax, and its team relies on evals plus agent tracing to debug wrong outputs.

## 2026-09-05

- [Bun v1.4.2](https://swe.quest/articles/bun-v1-4-2-e542954b0234ed25.md): Bun · 2026-09-05 · Medium · 3 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.4.2 is a patch release fixing two v1.4.1 regressions: a \`bun build\` renaming bug that made nested \`var\` collide with a \`let\` (breaking Elysia builds or silently miscomputing), and an \`AsyncLocalStorage\` leak where timers or promises created in \`store.exit()\` or nested \`run()\` kept outer store values alive.

## 2026-09-02

- [Goroutine Leak Profiles](https://swe.quest/articles/goroutine-leak-profiles-28367c8af5986ce1.md): The Go Blog · 2026-09-02 · Medium · 23 min read · Go, Concurrency, Memory management, Debugging, Runtimes & VMs
  Go 1.27 adds a goroutineleak profile that finds goroutines permanently blocked on channels or sync primitives (Mutex, RWMutex, WaitGroup, Cond) in running programs, including production, with few or no false positives.

## 2026-08-19

- [From Weeks to Hours: Inside Wix’s Autonomous Bug-Fixing System](https://swe.quest/articles/from-weeks-to-hours-inside-wix-s-autonomous-bug-fixing-system-60c0afee518a78c2.md): Wix Engineering · 2026-08-19 · Medium · 9 min read · AI agents, AI for coding, Debugging, System design
  Wix Orchestrator turns user support tickets into reviewed pull requests in hours instead of weeks.

## 2026-07-01

- [Introducing the Safari MCP server for web developers](https://swe.quest/articles/introducing-the-safari-mcp-server-for-web-developers-5cebd79747a867c7.md): WebKit · 2026-07-01 · Medium · 7 min read · AI agents, Browsers, Debugging, Developer tools, AI for coding
  Safari 27 and Safari Technology Preview 247 ship a Model Context Protocol server, exposed via safaridriver --mcp, that lets any MCP-compatible coding agent drive a local Safari window.

## 2026-06-29

- [Working With AI: A Concrete Example](https://swe.quest/articles/working-with-ai-a-concrete-example-53cea94b1ea67643.md): htmx essays · 2026-06-29 · Medium · 9 min read · AI for coding, Compilers, Language design, Debugging, JavaScript
  A regression in hyperscript 0.9.91 caused \`fetch \<url\> as JSON\` to bind \`as\` as a conversion expression on the URL.

## 2026-06-24

- [A 15-Second Health Check for Your Heroku Connect Data Pipeline](https://swe.quest/articles/a-15-second-health-check-for-your-heroku-connect-data-pipeline-ed2bcac9c7da237d.md): Heroku Engineering · 2026-06-24 · Medium · 4 min read · Data pipelines, PostgreSQL, Debugging, Developer tools
  The \`heroku connect:diagnose\` command in the Heroku Connect CLI plugin audits a Salesforce-to-Heroku Postgres sync and reports GREEN/YELLOW/RED status for connection-level checks (API version, permissions, database plan) and mapping/field checks (unique identifiers, binary and calculated fields, schema drift).

## 2026-06-18

- [Profiling Performance Bottlenecks in Production](https://swe.quest/articles/profiling-performance-bottlenecks-in-production-057c5006f3673d4b.md): Doximity Technology · 2026-06-18 · Medium · 8 min read · Ruby, Performance engineering, Debugging, Observability
  A slow Sidekiq background job at Doximity was traced with the Vernier sampling profiler to a Redis fetch memoized on a per-record builder instance.

## 2026-06-07

- [Replay](https://swe.quest/articles/replay-cd1e00a39568cbbd.md): Box2D · 2026-06-07 · Medium · 6 min read · Games, Debugging, C & C++, Data structures
  Box2D's new Replay system records a full binary snapshot of world state followed by opcodes and arguments for every API call, including steps, forces, impulses, body creation and queries with their callback results.

## 2026-05-29

- [Profiling in PyTorch (Part 1): A Beginner's Guide to torch.profiler](https://swe.quest/articles/profiling-in-pytorch-part-1-a-beginner-s-guide-to-torch-profiler-de0c791495fa22c4.md): Hugging Face · 2026-05-29 · Medium · 27 min read · Performance engineering, Machine learning, Python, Debugging
  torch.profiler produces two artifacts: a statistical table showing where time goes and a Chrome/Perfetto trace showing when CPU and GPU events happen.

## 2026-05-08

- [A Story of Delayed AWS Pipelines](https://swe.quest/articles/a-story-of-delayed-aws-pipelines-5cf6d8717da0bdca.md): Booking.com Engineering · 2026-05-08 · Medium · 6 min read · Infrastructure as code, Cloud platforms, CI/CD, Debugging, Resilience
  Terraform's aws\_organizations\_organization data source silently calls DescribeOrganization plus the paginated ListAccounts and ListRoots APIs, and all of them share organization-wide rate limits of about 1 request per second with a burst of 2.

## 2026-04-28

- [Who's on call? How we improved schedule rendering performance 2,500x](https://swe.quest/articles/who-s-on-call-how-we-improved-schedule-rendering-performance-2-500x-8f76a3cfe21d61b4.md): incident.io · 2026-04-28 · Medium · 17 min read · Performance engineering, Go, Algorithms, AI for coding, Debugging
  incident.io's on-call schedule renderer, which computes future shifts on the fly from rotation config, working hours and fair-scheduling rules, became dramatically faster through a series of fixes culminating in a ~2,500x speedup.

## 2026-03-23

- [When upserts don’t update but still write: Debugging Postgres performance at scale](https://swe.quest/articles/when-upserts-don-t-update-but-still-write-debugging-postgres-performance-at-cd64ef72ac9ca8ec.md): Datadog Engineering · 2026-03-23 · Medium · 11 min read · PostgreSQL, Performance engineering, Storage engines, Debugging, SQL
  A Postgres \`INSERT ... ON CONFLICT DO UPDATE ... WHERE\` upsert still locks the conflicting row even when the WHERE clause blocks the update.

## 2026-02-17

- [RocksDB development finds a CPU bug](https://swe.quest/articles/rocksdb-development-finds-a-cpu-bug-3928169c558d3987.md): RocksDB Blog · 2026-02-17 · Medium · 4 min read · Hardware, Testing, Debugging, Storage engines, C & C++
  A RocksDB unit test that generated thousands of SST file unique IDs across many threads exposed a hardware bug: the RDSEED instruction on a newer AMD CPU sometimes returned 0 while reporting success, but only on some cores and only under memory load.

[Next page](https://swe.quest/tags/debugging.md?difficulty=medium&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=debugging](https://swe.quest/feed.xml?difficulty=medium&tag=debugging). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
