Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 8 min read Case study mediumAdept

Building a great developer experience at a startup

incident.io treats developer experience as leverage for sustaining engineering pace without accruing technical or product debt. Their practices include hot reloading, CI kept under roughly 3 minutes, PR reviews within an hour or two, Slack block-kit previews, and a Go `toolbox` CLI for running code locally or in production. Strong typing across Go and TypeScript is reinforced by a type-safe DB library, goa-generated OpenAPI clients and an exhaustive-enum `assertUnreachable` pattern. Reusable building blocks such as engine conditions, actors and `useMutation` hooks sit alongside debugging aids: per-engineer real GCP dev environments, tracing, Sentry sourcemaps and structured logs linked to traces.

Related posts

  • DevEx matters for coding agents, too

    incident.io mediumAdept

    incident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it. The gains came from replacing ESLint and Prettier with Biome (40s to under 1s), adopting the preview Go-based TypeScript compiler tsgo while keeping tsc on CI as a safety net, and switching tasks from Node/Yarn to Bun. The team also replaced the Java OpenAPI Generator with a ~700-line Bun/TypeScript generator, built with Claude Code to match the old output exactly, which cut generation from 45s to 0.21s. An upstream Goa PR added parallel file writing and cut its generation time from 52s to 10s.

  • Ready, steady, goa: our API setup

    incident.io mediumAdept

    incident.io defines its HTTP API in Goa's design-first DSL, which generates net/http transport handlers, validation code, typed Go service interfaces, OpenAPI 3.0 specs and Go clients. This replaces hand-written Gin handlers with manual parsing, auth and serialization. On top of Goa, a `make generate-api` pipeline pretty-prints and merges the OpenAPI output and filters it into internal, mobile and public variants. Those variants feed specialised clients: typed TypeScript for the React frontend, lean mobile clients and Go test clients. A single DSL change then flows through to server code, docs and compile-time-checked frontend types.

  • AI coding has made CI a bottleneck, so we reworked ours to keep up

    Linear mediumAdept

    Linear cut pull request CI wait time from over 6 minutes to about 5 and halved runner time per test, even as its test suites nearly quadrupled. The biggest wins came from faster third-party runners (34% faster jobs), switching to tsgo (73% faster typecheck), and rewriting type-aware lint rules as pure AST checks so ESLint and later Oxlint could skip TypeScript. Further gains came from trimming critical-path gating jobs with shallow, sparse and blobless checkouts, a retrying checkout action with low-speed git timeouts, filtered pnpm installs instead of caching node_modules, schema snapshots instead of replaying migrations, and batching short checks, which saved about 87,000 runner-minutes a month. Splitting large Vitest files and moving to eight shards cut the slowest shard from 5.25 to 4.33 minutes.

  • How GitHub’s Developer Experience team improved innerloop development

    GitHub Engineering mediumAdept

    GitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying. Docker-Compose won out over Minikube, rejected for networking complexity and long cycle times, and over the internal Codespace-Compose, which had no SLA and would add maintenance burden. A Go CLI with versioning that matches HCS releases wraps long compose invocations into commands like `hcs start`, `hcs shell` and `hcs status`. Scheduled automation pins SHAs from the monorepo and service repos into frequent releases, consumed via a devcontainer feature or the gh CLI.

  • Logs and tracing: not just for production, local development too

    incident.io mediumAdept

    A small team wired its Go app to Google Cloud Trace via the OpenCensus Stackdriver exporter, then teed zap logs to both STDERR and Cloud Logging with trace and span IDs attached, so logs appear inline with traces. The same setup runs in local development: every log line carries a clickable Cloud Trace URL, letting developers jump from one interleaved log line to the full trace of a concurrent request or Pub/Sub handler. The payoff is faster local debugging plus fluency with the production tooling, for a small investment that avoids running any tracing infrastructure.

The quest for software engineering knowledge.

Look:
Layout: