Skip to content

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

Testing Remove topic Testing Clear all 7 posts RSS

2026

incident.io

We gave cloud agents a phone to QA

Case study 12 min +120 XP

incident.io's Cursor cloud agents now QA React Native pull requests by driving an iOS simulator (EAS Simulator) or Android emulator in the cloud against a per-agent copy of the Go backend with seeded Postgres data, tunnelled back to the agent's VM, and attach claims linked to screenshots and a session recording.

2024

2022

2021

incident.io

Using context.Context to mock API clients

How-to 7 min +70 XP

Go code that builds external API clients through a single constructor can be mocked by stashing a mock in context.Context: the constructor (ClientFor) returns the context-held client if present, otherwise builds a real slack.Client. incident.io generates a SlackClient interface from the concrete slack-go struct with interfacer, then a gomock mock via mockgen, both driven by go:generate directives.

The quest for software engineering knowledge.

Look:
Layout: