Skip to content

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

incident.io 11 min read Case study mediumAdept

DevEx matters for coding agents, too

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.

Assumes: TypeScript toolchainsOpenAPI code generationlinters and formatters

Related posts

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

  • Building a great developer experience at a startup

    incident.io mediumAdept

    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.

  • Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini

    Render mediumAdept

    Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website. Cursor scored highest overall (8/10 average), producing the most complete app, including Docker Compose and a SQL migration, and following codebase-specific patterns. Gemini CLI excelled at large-context refactors but struggled on the greenfield build. Codex's model produced accurate, idiomatic code but was held back by setup friction and a weaker CLI UX. All tools faltered on novel or obscure libraries without targeted guidance, so experienced engineers still need to audit the output.

  • Adding the ESLint Tool to an AI Assistant: Improving Recommendations for JS/TS Projects

    Docker mediumAdept

    An AI assistant gets better at linting JavaScript and TypeScript projects when it is given ESLint tooling instead of relying on the LLM's built-in knowledge. Out of the box, GPT-4 suggests boilerplate ESLint configs that often don't work. A prompt plus a containerized StandardJS function definition lets the assistant pick ts-standard when tsconfig files exist, run it from the right directory, and install Docker-based Git hooks. The LLM can then generate JSON edit ranges for violations that aren't auto-fixable. Showing these fixes in VSCode's problems window, driven by linter output, avoids the hallucinations that context-free Copilot "fix this" requests produce.

  • Engineering nits: Generating code faster

    incident.io mediumAdept

    incident.io cut a Go code-generation step from about 16 seconds to under half a second (97% faster) by adding commonly used imports directly to the generator's template. The bottleneck was goimports resolving missing imports, which requires scanning every package in the module and its dependencies, repeated hundreds of times. Removing unused imports is cheap because it only inspects a single file, so over-including imports (with the list built via `go list`) leaves goimports little to resolve. The roughly 20-line change saves about 3 engineer-hours per week for a team of around 20.

The quest for software engineering knowledge.

Look:
Layout: