---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=debugging"
---

# Posts

Filtered by topics: Debugging.

Posts 1–96 of 129, page 1 of 2, 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

- [Extending LLDB to Debug Applications That Span CPUs and GPUs](https://swe.quest/articles/extending-lldb-to-debug-applications-that-span-cpus-and-gpus-36dc33c7472e000a.md): Meta Engineering · 2026-11-09 · Hard · 6 min read · Debugging, Developer tools, Hardware, Open source
  LLDB gains a vendor-neutral accelerator plugin architecture in lldb-server that represents the CPU and GPU as separate debugger targets, each with its own architecture, threads, registers and address space, while presenting them in one debugging session.
- [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-13

- [Chasing that 32 ms tail latency in ClickHouse](https://swe.quest/articles/chasing-that-32-ms-tail-latency-in-clickhouse-e6423f2da8a7c8b8.md): ClickHouse · 2026-10-13 · Hard · 11 min read · Networking, Performance engineering, Linux, Databases, Debugging
  An extra full round trip (~32 ms) on simple SELECTs over ClickHouse's Native protocol came from TCP\_NODELAY turning each end-of-query metadata packet (Logs, Progress, ProfileEvents) into its own TCP segment.

## 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-10-02

- [How recurring network maintenance exposed 6 bugs](https://swe.quest/articles/how-recurring-network-maintenance-exposed-6-bugs-e0c55b4aaea1ee8f.md): Jane Street Tech Blog · 2026-10-02 · Hard · 20 min read · Debugging, DNS, Resilience, Functional programming, Linux
  Recurring weekend network partitions caused Jane Street's Kafka relays and consumer-group monitors to segfault, leak hundreds of thousands of sockets, and crash under recovery-time TCP connection surges, and tracing them uncovered six layered bugs.
- [Results from the ASIC puzzle](https://swe.quest/articles/results-from-the-asic-puzzle-ca06d1b0c156ce5d.md): Jane Street Tech Blog · 2026-10-02 · Hard · 12 min read · Hardware, Debugging, Formal methods
  Jane Street's puzzle chip, shipped as a bare GDS layout, turns out to be a hardware checker for an 11x11 Star Battle ("Two Not Touch") puzzle.

## 2026-10-01

- [A resilient kernel log reporter](https://swe.quest/articles/a-resilient-kernel-log-reporter-6b71e14df313dc47.md): Jane Street Tech Blog · 2026-10-01 · Hard · 6 min read · Linux, Observability, Resilience, Debugging, Operating systems
  Jane Street built a kernel log shipper that keeps working when disk or network fail, so logs from the most interesting crashes still reach central storage.

## 2026-09-11

- [Module Tracking in Swift Debug Info](https://swe.quest/articles/module-tracking-in-swift-debug-info-924221c1e8f2aa55.md): Swift.org · 2026-09-11 · Hard · 9 min read · Swift, Debugging, Build systems, Compilers, Developer tools
  Swift 6.3 and 6.4 change how explicitly-built Swift modules are referenced in debug info so LLDB's expression evaluator can import the exact module for the code at a breakpoint instead of looking it up by base name.
- [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-08

- [Testing race conditions with memory access tracing and stack-based delay injection](https://swe.quest/articles/testing-race-conditions-with-memory-access-tracing-and-stack-based-delay-a9851e9c2152e266.md): Google Project Zero · 2026-09-08 · Hard · 16 min read · Concurrency, Linux, Vulnerability research, Testing, Debugging
  MAccConc is a set of tools for exploring thread interleavings of multi-threaded Linux kernel test cases to confirm, regression-test and eventually fuzz race condition bugs.

## 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-30

- [Core dump epidemiology: fixing an 18-year-old bug](https://swe.quest/articles/core-dump-epidemiology-fixing-an-18-year-old-bug-49f918c45e5e4eb3.md): OpenAI · 2026-06-30 · Hard · 16 min read · Debugging, C & C++, Linux, Hardware, Incidents & postmortems
  Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's \_Ux86\_64\_setcontext, which read the synthesized ucontext\_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding.

## 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-26

- [strace-ui, Bonsai\_term, and the TUI renaissance](https://swe.quest/articles/strace-ui-bonsai-term-and-the-tui-renaissance-cdfbd7f00b61f5f9.md): Jane Street Tech Blog · 2026-05-26 · Easy · 9 min read · Functional programming, Developer tools, Debugging, Testing, AI for coding
  Jane Street's strace-ui turns strace into an interactive terminal UI with on-the-fly syscall hiding, per-file-descriptor navigation and filtering, short PID labels, hexdumped buffers, man-page lookup and hostname resolution for sockets.

## 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-05-06

- [vLLM V0 to V1: Correctness Before Corrections in RL](https://swe.quest/articles/vllm-v0-to-v1-correctness-before-corrections-in-rl-4dc68bef7cff8909.md): Hugging Face · 2026-05-06 · Hard · 7 min read · Model training, Inference & serving, LLMs, Debugging
  Migrating PipelineRL's rollout generation from vLLM V0 (0.8.5) to V1 (0.18.1) caused training metrics (clip rate, KL, entropy, reward) to diverge.

## 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.

## 2026-02-16

- [Index, Count, Offset, Size](https://swe.quest/articles/index-count-offset-size-8c9106813a691acc.md): TigerBeetle · 2026-02-16 · Medium · 3 min read · Zig, Debugging, Type systems
  TigerBeetle uses a strict naming convention to catch off-by-one and index-space bugs that types don't easily prevent: \`count\` is a number of items, \`index\` points at an item (invariant \`index \< count\`), \`size\` is a byte count (\`size = @sizeOf(T) \* count\`), and \`offset\` is the bytewise counterpart of index. \`length\` is banned because it is ambiguous, for example Rust's byte-size \`str::len\` versus Python's code-point \`len\`.

## 2026-02-13

- [Building AI-Powered Observability with Heroku Managed Inference and Agents](https://swe.quest/articles/building-ai-powered-observability-with-heroku-managed-inference-and-agents-c65a18c2ea58a958.md): Heroku Engineering · 2026-02-13 · Medium · 5 min read · AI agents, Observability, Go, Debugging
  Observability platforms like Splunk, Honeycomb and Sentry can be exposed to AI coding assistants as MCP tools, so engineers query production telemetry in natural language from Cursor or Claude instead of switching to dashboards and writing SPL.

## 2026-02-09

- [How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth](https://swe.quest/articles/how-ly-corporation-uses-clickhouse-to-observe-one-of-the-largest-kafka-4673da61e0f144c7.md): ClickHouse · 2026-02-09 · Medium · 6 min read · Observability, Queues & messaging, Analytics & OLAP, Debugging
  LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day.

## 2026-01-27

- [Unlocking Agentic RL Training for GPT-OSS: A Practical Retrospective](https://swe.quest/articles/unlocking-agentic-rl-training-for-gpt-oss-a-practical-retrospective-2439023c679282b9.md): Hugging Face · 2026-01-27 · Hard · 21 min read · Model training, LLMs, AI agents, Debugging
  Agentic RL training of GPT-OSS-20B in verl initially failed with exploding gradient norms, KL and entropy, and flat rewards.

## 2025-12-14

- [Progress Report: Linux 6.18](https://swe.quest/articles/progress-report-linux-6-18-d30ed5d919b583a6.md): Asahi Linux · 2025-12-14 · Hard · 8 min read · Linux, Hardware, Debugging, Open source
  Asahi Linux continues upstreaming Apple Silicon support: SMC hwmon and RTC subdevice drivers land in Linux 6.19, and USB3-over-Type-C changes to the Synopsys and TI USB-PD drivers are merged, with only the Apple Type-C PHY driver still awaiting review.

## 2025-12-11

- [A disappearing Service Processor](https://swe.quest/articles/a-disappearing-service-processor-a469beb073a3e15f.md): Oxide · 2025-12-11 · Hard · 8 min read · Debugging, Hardware, Operating systems, Rust
  Oxide's Cosmo sled Service Processor (an STM32H7 Cortex-M7 running Hubris) intermittently dropped off the network and hung so hard a debug probe couldn't halt it.

## 2025-12-03

- [Getting from tested to battle-tested](https://swe.quest/articles/getting-from-tested-to-battle-tested-e1b6bb8c2cdb1387.md): Jane Street Tech Blog · 2025-12-03 · Medium · 13 min read · Testing, Distributed systems, Debugging, Formal methods, Queues & messaging
  Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run.

## 2025-11-03

- [Faster root cause for slow traces with ClickStack Event Deltas](https://swe.quest/articles/faster-root-cause-for-slow-traces-with-clickstack-event-deltas-a6101b03bbd87110.md): ClickHouse · 2025-11-03 · Medium · 9 min read · Observability, Debugging, Performance engineering
  ClickStack's Event Deltas compare a user-selected region of slow spans on a duration-over-time heatmap against the remaining inlier spans, issuing two queries and sampling both sets to surface attribute values disproportionately present in the outliers.

## 2025-10-29

- [Building with the OpenAI Apps SDK: A Field Guide](https://swe.quest/articles/building-with-the-openai-apps-sdk-a-field-guide-4d32891d09b8bb2e.md): Render · 2025-10-29 · Medium · 8 min read · AI agents, LLMs, Developer tools, TypeScript, Debugging
  OpenAI's Apps SDK extends the Model Context Protocol with a widget layer: tools that return structuredContent with \`\_meta.openai/outputTemplate\` metadata get rendered as inline React components in ChatGPT.

## 2025-10-16

- [Debug Docker Builds with Visual Studio Code](https://swe.quest/articles/debug-docker-builds-with-visual-studio-code-88a4489b80049e81.md): Docker · 2025-10-16 · Medium · 6 min read · Containers, Debugging, Developer tools
  Docker Buildx 0.29+ adds a Dockerfile build debugger. It is integrated into VS Code through the Docker DX extension and configured with a launch.json entry of type "dockerfile".

## 2025-09-24

- [Trace similarity systems on top of ClickHouse to analyze crash stack traces from our CI](https://swe.quest/articles/trace-similarity-systems-on-top-of-clickhouse-to-analyze-crash-stack-traces-c60df248c0d43431.md): ClickHouse · 2025-09-24 · Medium · 9 min read · Debugging, CI/CD, SQL, Algorithms, Testing
  ClickHouse built a crash-deduplication pipeline for its CI that groups similar stack traces from fuzzing, stress and functional tests using the TraceSim similarity method, implemented almost entirely in ClickHouse SQL.

## 2025-09-14

- [Bun v1.2.22](https://swe.quest/articles/bun-v1-2-22-c985f96b20e06efe.md): Bun · 2025-09-14 · Medium · 16 min read · JavaScript, Runtimes & VMs, Build systems, MySQL, Debugging
  Bun v1.2.22 adds async stack traces that include awaited caller frames, a fast path making postMessage and structuredClone up to ~240x faster for plain objects of primitives, and Bun.YAML.stringify.

## 2025-08-28

- [An adventure in writing compatible systems](https://swe.quest/articles/an-adventure-in-writing-compatible-systems-f48d37f87fc6e365.md): Turso · 2025-08-28 · Medium · 4 min read · SQLite, Storage engines, Formal methods, Debugging, Rust
  Turso, a Rust rewrite of SQLite, hit a bug where every write after the database crossed 1GB made SQLite's integrity checks fail, even though Turso's own checks found the file intact.

## 2025-08-19

- [Zed for Windows: What's Taking So Long?!](https://swe.quest/articles/zed-for-windows-what-s-taking-so-long-fce443a86971bc62.md): Zed · 2025-08-19 · Medium · 5 min read · Hardware, Developer tools, Performance engineering, Debugging
  Porting the Zed editor to Windows required a new DirectX 11 rendering backend with HLSL shaders, replacing Vulkan so it runs on nearly all Windows machines including VMs and uses less memory.

## 2025-07-17

- [How we tracked down a Go 1.24 memory regression across hundreds of pods](https://swe.quest/articles/how-we-tracked-down-a-go-1-24-memory-regression-across-hundreds-of-pods-bbf00972d141a71d.md): Datadog Engineering · 2025-07-17 · Medium · 9 min read · Go, Memory management, Debugging, Performance engineering, Runtimes & VMs
  Upgrading a data-processing service to Go 1.24 raised container memory by about 20% even though Go runtime metrics and heap profiles stayed flat.

## 2025-07-08

- [When SIGTERM Does Nothing: A Postgres Mystery](https://swe.quest/articles/when-sigterm-does-nothing-a-postgres-mystery-0ecf6df7cd549d22.md): ClickHouse · 2025-07-08 · Hard · 11 min read · PostgreSQL, Replication, Debugging, Event-driven architecture
  Creating a logical replication slot on a Postgres hot standby (v16+) can hang indefinitely and ignore pg\_cancel\_backend and pg\_terminate\_backend when a transaction is still open on the primary.

## 2025-07-02

- [A Higgs-bugson in the Linux Kernel](https://swe.quest/articles/a-higgs-bugson-in-the-linux-kernel-ee1594bf1b749860.md): Jane Street Tech Blog · 2025-07-02 · Hard · 11 min read · Debugging, Linux, Storage systems, Identity & auth, Networking
  Rare EACCES failures during large file copies over Kerberized NFSv3 came from a Linux kernel bug in RPCSEC\_GSS reply verification.

## 2025-06-18

- [The Debugger is Here](https://swe.quest/articles/the-debugger-is-here-13c8e56684fd9503.md): Zed · 2025-06-18 · Medium · 7 min read · Developer tools, Debugging, Rust
  Zed now ships a native debugger built on the Debug Adapter Protocol, with out-of-the-box support for Rust, C/C++, JavaScript, Go and Python.

## 2025-06-06

- [Fuzzer Blind Spots (Meet Jepsen!)](https://swe.quest/articles/fuzzer-blind-spots-meet-jepsen-95901ab1fc56e123.md): TigerBeetle · 2025-06-06 · Hard · 7 min read · Testing, Formal methods, Storage engines, Query engines, Debugging
  Jepsen found a missing-results bug in TigerBeetle's query engine despite four fuzzers covering it, because the VOPR and LSM query fuzzer pre-registered disjoint queries whose matching objects were always consecutive in every secondary index, so zig-zag merge join probing was never exercised.

## 2025-05-28

- [parking\_lot: ffffffffffffffff...](https://swe.quest/articles/parking-lot-ffffffffffffffff-e7cd36eac4ddf5cc.md): Fly.io · 2025-05-28 · Hard · 16 min read · Concurrency, Rust, Debugging, Incidents & postmortems, Load balancing
  Fly.io's Rust Anycast router, fly-proxy, kept deadlocking after Catalog state was moved to lazy loading.

## 2025-05-22

- [The 3 Levels of Debugging With AI](https://swe.quest/articles/the-3-levels-of-debugging-with-ai-2547609068f4c653.md): Neon · 2025-05-22 · Medium · 8 min read · AI for coding, Debugging, AI agents, LLMs
  AI-assisted debugging falls into three levels: pasting raw errors into an LLM ("lazy prompting"), writing structured bug-report-style prompts with code, environment, expected vs. actual behavior, and attempts so far, and agents that drive real debuggers.

## 2025-04-09

- [Zero-config Debugging with Deno and OpenTelemetry](https://swe.quest/articles/zero-config-debugging-with-deno-and-opentelemetry-84e6e1786536c301.md): Deno · 2025-04-09 · Medium · 9 min read · Observability, Debugging, Runtimes & VMs, TypeScript
  Deno's built-in OpenTelemetry support (enabled with --unstable-otel) automatically correlates console.log output with trace IDs, creates spans for incoming and outgoing HTTP requests, propagates W3C tracecontext headers across services, and records request-count and latency metrics by status code, all without code changes.

## 2025-04-02

- [Debugging JavaScript Memory Leaks](https://swe.quest/articles/debugging-javascript-memory-leaks-440c20d303c4be9c.md): Bun · 2025-04-02 · Medium · 8 min read · Memory management, Debugging, JavaScript, Runtimes & VMs
  Bun implements V8's writeHeapSnapshot API, so heap snapshots can be loaded and diffed in Chrome DevTools, where a steadily growing Delta column reveals leaks. bun:jsc's heapStats also reports per-type object counts, including objects protected from GC.

## 2025-03-05

- [The case of the vanishing CPU: A Linux kernel debugging story](https://swe.quest/articles/the-case-of-the-vanishing-cpu-a-linux-kernel-debugging-story-3db1aa1b81ec8319.md): ClickHouse · 2025-03-05 · Hard · 32 min read · Linux, Memory management, Debugging, Performance engineering, Incidents & postmortems
  Intermittent, indefinite CPU saturation of ClickHouse Cloud pods, seen only on GCP, turned out to be a Linux kernel memory-management livelock.

## 2025-02-04

- [Debugging deadlocks in Postgres](https://swe.quest/articles/debugging-deadlocks-in-postgres-e07d42201c9784eb.md): incident.io · 2025-02-04 · Medium · 6 min read · PostgreSQL, Concurrency, Debugging, Consistency models
  Postgres deadlocks come from transactions acquiring locks in inconsistent orders, and the main fix is to restructure transactions so they always lock resources in the same sequence.

## 2025-01-15

- [Unraveling a Postgres segfault that uncovered an Arm64 JIT compiler bug](https://swe.quest/articles/unraveling-a-postgres-segfault-that-uncovered-an-arm64-jit-compiler-bug-3a4fc2ffe09ef0c2.md): Datadog Engineering · 2025-01-15 · Hard · 19 min read · PostgreSQL, Compilers, Debugging, Hardware, Incidents & postmortems
  Postgres crashes with segfaults on Arm64 instances were traced to JIT-compiled tuple-deforming code, and ultimately to a bug in LLVM's Arm64 code generation.

## 2025-01-07

- [How to Set Up a Kubernetes Cluster on Docker Desktop](https://swe.quest/articles/how-to-set-up-a-kubernetes-cluster-on-docker-desktop-5bb34fca4cff3c73.md): Docker · 2025-01-07 · Medium · 7 min read · Kubernetes, Containers, Debugging, Developer tools
  Docker Desktop can run a single-node Kubernetes cluster locally by enabling it under Settings \> Kubernetes, giving developers a place to test pods, services, ConfigMaps, secrets and CI/CD pipelines without a remote cluster.

## 2024-11-21

- [Pumas, Routers & Keepalives—Oh my!](https://swe.quest/articles/pumas-routers-keepalives-oh-my-4b676798ea4106ef.md): Heroku Engineering · 2024-11-21 · Medium · 17 min read · Debugging, Performance engineering, Ruby, Load balancing, Networking
  Elevated tail latency seen by some Puma apps after enabling Heroku Router 2.0 turned out to be a Puma bug, not a router problem.

## 2024-11-04

- [Observability as a superpower](https://swe.quest/articles/observability-as-a-superpower-5609b41c95a2309f.md): incident.io · 2024-11-04 · Medium · 8 min read · Observability, Go, Debugging, Incidents & postmortems
  Distributed tracing with OpenTelemetry lets incident.io engineers spot bugs before customers report them, by showing each request's route as a tree of timed spans that exposes slow steps, N+1 queries and duplicate calls.

## 2024-10-16

- [Fixing Gradient Accumulation](https://swe.quest/articles/fixing-gradient-accumulation-48a9d96c28c11b53.md): Hugging Face · 2024-10-16 · Medium · 4 min read · Model training, Python, Debugging
  Gradient accumulation in the transformers Trainer did not match full-batch training because the default model loss averaged per-batch cross-entropy instead of summing token losses across all accumulated batches and dividing by the total count of non-padding tokens.

## 2024-10-10

- [We’re All Just Looking for Connection](https://swe.quest/articles/we-re-all-just-looking-for-connection-b10700c8e0417e48.md): Slack Engineering · 2024-10-10 · Medium · 7 min read · Python, Networking, Debugging, Concurrency, Incidents & postmortems
  Spikes of EOFError on SQL queries in Quip's Python backend (which also powers Slack canvas) traced back to connection-state checks that only tracked closes initiated by the application.

## 2024-09-02

- [How to deadlock Tokio application in Rust with just a single mutex](https://swe.quest/articles/how-to-deadlock-tokio-application-in-rust-with-just-a-single-mutex-8d0964c04bebf8f2.md): Turso · 2024-09-02 · Medium · 3 min read · Rust, Concurrency, Debugging
  A Tokio program can deadlock with a single std::sync::Mutex when a spawn\_blocking task holds the lock while calling Handle::block\_on on a future, and an async task on a worker thread tries to take the same lock.

## 2024-08-26

- [What the interns have wrought, 2024 edition](https://swe.quest/articles/what-the-interns-have-wrought-2024-edition-b9d6cc4b73c67320.md): Jane Street Tech Blog · 2024-08-26 · Medium · 12 min read · Functional programming, Performance engineering, Debugging, Event-driven architecture, Analytics & OLAP
  Three 2024 Jane Street intern projects get a technical walkthrough.

## 2024-07-24

- [Node.js and the tale of worker threads](https://swe.quest/articles/node-js-and-the-tale-of-worker-threads-2f7f52d719f58af7.md): Zalando Engineering · 2024-07-24 · Medium · 10 min read · JavaScript, Kubernetes, Incidents & postmortems, Debugging, Observability
  A Node.js service using cluster mode called os.cpus().length inside a Kubernetes container, which returns the host's core count, not the pod's CPU allocation.

## 2024-06-24

- [Leveraging AI for efficient incident response](https://swe.quest/articles/leveraging-ai-for-efficient-incident-response-c0ed9d554ec34552.md): Meta Engineering · 2024-06-24 · Medium · 5 min read · Incidents & postmortems, LLMs, Model training, Debugging
  Meta's AI-assisted root cause analysis system narrows suspect code changes in its web monorepo by combining a heuristic retriever with a fine-tuned Llama 2 (7B) ranker.

## 2024-06-20

- [Failing to Auto Scale Elasticsearch in Kubernetes](https://swe.quest/articles/failing-to-auto-scale-elasticsearch-in-kubernetes-c5af95622c43445d.md): Zalando Engineering · 2024-06-20 · Medium · 6 min read · Kubernetes, Incidents & postmortems, Search, Capacity planning, Debugging
  A schedule-driven Elasticsearch cluster run by es-operator on Kubernetes repeatedly failed to scale out for the morning peak.

## 2024-06-19

- [Bun v1.1.14](https://swe.quest/articles/bun-v1-1-14-d9093a5e7df90e79.md): Bun · 2024-06-19 · Medium · 11 min read · JavaScript, Runtimes & VMs, SQLite, Build systems, Debugging
  Bun v1.1.14 fixes 63 bugs and adds \`bun patch\`, which clones a dependency out of the global cache for local edits and saves the changes as a standard diff under \`patches/\` that \`bun install\` applies automatically. \`bun:sqlite\` gains \`query.as(Class)\` for prototype-based result mapping without constructors, a \`strict\` mode for unprefixed bindings, \`run()\` returning \`changes\` and \`lastInsertRowid\`, and \`safeIntegers\` for 64-bit BigInt results.

## 2024-06-17

- [Seeing the Big Picture: Shopee’s Journey to Distributed Tracing with ClickHouse](https://swe.quest/articles/seeing-the-big-picture-shopee-s-journey-to-distributed-tracing-with-clickhouse-3d442ea100c6757c.md): ClickHouse · 2024-06-17 · Easy · 7 min read · Observability, Analytics & OLAP, Kubernetes, Debugging
  Shopee runs dozens of ClickHouse clusters on Kubernetes, fronted by managed services (Manager, Gateway, Console, Monitoring), and uses them to store and query distributed traces of the ClickHouse service itself.

## 2024-06-12

- [Try out your website in the spatial web](https://swe.quest/articles/try-out-your-website-in-the-spatial-web-5164ff9af4fcad84.md): WebKit · 2024-06-12 · Medium · 6 min read · Browsers, Developer tools, Debugging
  Websites generally need no special changes to work in Safari on visionOS, which runs the same WebKit engine.

## 2024-05-22

- [Post-quantum readiness for TLS at Meta](https://swe.quest/articles/post-quantum-readiness-for-tls-at-meta-92c6471e952cc018.md): Meta Engineering · 2024-05-22 · Hard · 8 min read · Cryptography, Networking, Concurrency, Debugging
  Meta has deployed hybrid X25519+Kyber key exchange in its Fizz TLS library for most internal service traffic, prioritizing store-now-decrypt-later protection where it controls both endpoints.
- [Signals, shells, and docker: an onion of footguns](https://swe.quest/articles/signals-shells-and-docker-an-onion-of-footguns-4676a655661a15a7.md): Benchling Engineering · 2024-05-22 · Medium · 9 min read · Linux, Containers, Debugging, CI/CD
  Canceled CI runs kept executing pytest because SIGTERM was never forwarded down a long process chain: ci-agent → docker compose → docker → dumb-init → bash → test\_pipeline → pytest.

## 2024-05-14

- [PostgreSQL Stories: From slow query to fast—via stats](https://swe.quest/articles/postgresql-stories-from-slow-query-to-fast-via-stats-ac7001ab0fde8224.md): Render · 2024-05-14 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, Debugging
  A simple LIMIT 1 join between a ~100k-row postgres\_dbs table and a ~90M-row events table ran for hours.

## 2024-05-06

- [Fixing the Git Blame Beachball](https://swe.quest/articles/fixing-the-git-blame-beachball-d67cc5c16a8fe68b.md): Zed · 2024-05-06 · Medium · 3 min read · Debugging, Performance engineering, Concurrency, Developer tools
  Committing with many files open froze Zed for about 10 seconds.

## 2024-05-03

- [Bun v1.1.7](https://swe.quest/articles/bun-v1-1-7-443b16215b4eb538.md): Bun · 2024-05-03 · Medium · 7 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.1.7 fixes 28 bugs and adds glob patterns in package.json workspaces (via Bun.Glob), asymmetric matcher support in expect.extend's this.equals, and a working bunx --version.

## 2024-04-26

- [bun.report is Bun's new crash reporter](https://swe.quest/articles/bun-report-is-bun-s-new-crash-reporter-19b1535d615212f4.md): Bun · 2024-04-26 · Medium · 8 min read · Debugging, Zig, Developer tools, Privacy
  Bun v1.1.5 replaces unsymbolicated crash output with a compact ~150-byte bun.report URL that encodes platform, subcommand, commit SHA, a 64-bit feature-usage bitfield, crash type and message, and ASLR-adjusted stack addresses as base64 VLQs, with no personal information.

## 2024-04-04

- [Bun v1.1.1](https://swe.quest/articles/bun-v1-1-1-0a986921804883de.md): Bun · 2024-04-04 · Medium · 7 min read · JavaScript, Runtimes & VMs, Build systems, Debugging
  Bun v1.1.1 fixes 20 bugs, mostly in bun install on Windows. The causes include a race in the Zig standard library's retry-on-ERROR\_DELETE\_PENDING loop, mishandled ERROR\_SHARING\_VIOLATION from mismatched file sharing modes, a bunx cache invalidation bug that compared npm publish-time file creation dates, and git dependencies relying on a stale cwd file descriptor instead of \`git -C\`.

## 2024-04-03

- [PostgreSQL Stories: A simple query with a big problem](https://swe.quest/articles/postgresql-stories-a-simple-query-with-a-big-problem-6dd72fff3c9a1d47.md): Render · 2024-04-03 · Medium · 10 min read · PostgreSQL, Debugging, Incidents & postmortems, Schema migrations
  A seemingly simple indexed join with LIMIT 1 ran for over four hours on Render's staging PostgreSQL, holding a lock that blocked CREATE OR REPLACE VIEW migrations and stalled deploys.

## 2024-03-17

- [Bun v1.0.32](https://swe.quest/articles/bun-v1-0-32-1109f83c2797523f.md): Bun · 2024-03-17 · Medium · 4 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.0.32 fixes 13 bugs, several of them regressions from the I/O rewrite in v1.0.31 done in preparation for Windows support. bun install could hang in GitHub Actions because the active lifecycle-script counter was never decremented. --frozen-lockfile and --production still installed packages, and Bun Shell hung on && and || because a file descriptor was left open.

## 2024-03-04

- [Bun v1.0.30](https://swe.quest/articles/bun-v1-0-30-809370fb784e3d50.md): Bun · 2024-03-04 · Medium · 7 min read · JavaScript, Runtimes & VMs, Testing, Debugging
  Bun v1.0.30 fixes 27 bugs, including an 8x performance regression in Bun.serve() when a direct ReadableStream writes exactly one chunk in a single event-loop tick, introduced in v1.0.4.

## 2024-02-21

- [How posix\_spawn & close\_range “fixed” cold starts](https://swe.quest/articles/how-posix-spawn-close-range-fixed-cold-starts-0c769ed6733a0a1b.md): Neon · 2024-02-21 · Medium · 14 min read · Linux, Performance engineering, Debugging, Rust, PostgreSQL
  Neon's Pageserver regressed cold-start and first-query-after-idle latency to seconds after it began shutting down idle per-tenant walredo sidecar processes.

## 2024-02-07

- [Optimizing the Metal pipeline to maintain 120 FPS in GPUI](https://swe.quest/articles/optimizing-the-metal-pipeline-to-maintain-120-fps-in-gpui-951f2f761e0fc50d.md): Zed · 2024-02-07 · Medium · 9 min read · Performance engineering, Frontend, Rust, Hardware, Debugging
  Zed's GPUI renderer dropped frames on Macs running in direct (non-composited) mode because \`MetalRenderer::draw\` blocked the main thread with \`wait\_until\_completed\`.

## 2024-01-29

- [Option Soup: the subtle pitfalls of combining compiler flags](https://swe.quest/articles/option-soup-the-subtle-pitfalls-of-combining-compiler-flags-ee7121060b7d1c26.md): Mozilla Hacks · 2024-01-29 · Hard · 8 min read · C & C++, Debugging, Build systems, Linux, Incidents & postmortems
  A Firefox 120 beta crash in std::locale::classic() on Ubuntu 18.04 traced back to a downstream build that combined -static-libstdc++ with the linker flag -Bsymbolic-functions.

## 2023-12-19

- [AI debugging at Meta with HawkEye](https://swe.quest/articles/ai-debugging-at-meta-with-hawkeye-ac064241de32ab52.md): Meta Engineering · 2023-12-19 · Medium · 7 min read · ML platforms, Observability, Debugging, Recommendations & ranking
  HawkEye is Meta's internal toolkit for monitoring and debugging production ML workflows behind recommendation and ranking models, structured as a guided decision tree that has cut debugging time by an order of magnitude.

## 2023-09-26

- [Clouds, caches and connection conundrums](https://swe.quest/articles/clouds-caches-and-connection-conundrums-9abdd4ad0c3450ff.md): incident.io · 2023-09-26 · Medium · 10 min read · Kubernetes, Networking, Incidents & postmortems, Debugging, PostgreSQL
  After migrating to Google Cloud, sporadic Postgres and memcached connection timeouts on GKE turned out to be node-wide, not process-local.

## 2023-08-03

- [Something you probably want to know about if you're using SQLite in Golang](https://swe.quest/articles/something-you-probably-want-to-know-about-if-you-re-using-sqlite-in-golang-998bba3901e282c7.md): Turso · 2023-08-03 · Medium · 5 min read · SQLite, Go, Storage engines, Debugging
  In SQLite's WAL mode, an unclosed Go database/sql rows object keeps a read transaction open, which stops checkpoints from moving changes from the WAL file into the main database file.

## 2023-07-27

- [How to get your database access code deadlocked in Golang](https://swe.quest/articles/how-to-get-your-database-access-code-deadlocked-in-golang-f01f82ad269b4372.md): Turso · 2023-07-27 · Medium · 5 min read · Go, Concurrency, Debugging, Databases
  In Go's database/sql, failing to close a Rows result can deadlock the program when a loop over query results returns early on error.

## 2023-07-26

- [Copy Hunting](https://swe.quest/articles/copy-hunting-7c2f19f97f1f7edc.md): TigerBeetle · 2023-07-26 · Medium · 11 min read · Zig, Compilers, Performance engineering, Debugging, Developer tools
  Reading Zig's emitted LLVM IR as plain text and grepping it is a practical substitute for staring at disassembly when chasing implicit memcopies and binary bloat.

## 2023-07-10

- [Rendering Engine Tales: Road to Concurrent React](https://swe.quest/articles/rendering-engine-tales-road-to-concurrent-react-735d8093c1f69c78.md): Zalando Engineering · 2023-07-10 · Medium · 16 min read · React, Frontend, Web performance, Debugging
  Zalando migrated its Rendering Engine framework, which renders the Fashion Store from backend-defined Entity trees mapped to React Renderers, to React 18 concurrent rendering.

## 2023-06-30

- [Bun v0.6.12](https://swe.quest/articles/bun-v0-6-12-dcf44324c9c4f6f2.md): Bun · 2023-06-30 · Medium · 4 min read · JavaScript, Runtimes & VMs, Debugging, Build systems
  Bun v0.6.12 makes runtime errors more readable by patching JavaScriptCore to format Error.prototype.stack like V8, hiding internal builtin frames, and automatically sourcemapping stacks back to original (pre-transpile) source.

## 2023-05-30

- [When LIMIT 9 works but LIMIT 10 hangs](https://swe.quest/articles/when-limit-9-works-but-limit-10-hangs-7b201245bb9c1182.md): Neon · 2023-05-30 · Medium · 11 min read · Debugging, JavaScript, Networking, PostgreSQL, Performance engineering
  A Postgres query over Neon's serverless driver hung only when its WebSocket payload reached 126 bytes, the threshold where WebSocket framing switches to a 16-bit extended length field.

## 2023-05-26

- [Not just another network latency issue: How we unraveled a series of hidden bottlenecks](https://swe.quest/articles/not-just-another-network-latency-issue-how-we-unraveled-a-series-of-hidden-cc3a7d83431d9610.md): Datadog Engineering · 2023-05-26 · Medium · 8 min read · Networking, Debugging, Performance engineering, Cloud platforms, Kubernetes
  Recurring high-startup-latency pages on every deployment of Datadog's usage estimation \`counter\` service traced back to four stacked bottlenecks rather than one.

## 2023-05-03

- [How Figma draws inspiration from the gaming world](https://swe.quest/articles/how-figma-draws-inspiration-from-the-gaming-world-d8a336bcdbd13832.md): Figma · 2023-05-03 · Easy · 13 min read · Real-time systems, WebAssembly, System design, Games, Debugging
  Figma's architecture resembles a game engine more than a typical web stack: a C++ canvas compiled to WebAssembly for 2D rendering, a React/TypeScript UI layer, and a Rust multiplayer server, plus layered systems for multiplayer, animation, collisions, chat and plugins.

[Next page](https://swe.quest/index.md?per=96&tag=debugging&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=debugging](https://swe.quest/feed.xml?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)
