NoFOMO
Search 中EN Sign in Sign up

Peaked at #2 Off the board

Superlogical trunk-based workflow

Mitchell Hashimoto shares Superlogical's culture where everyone pushes to main, with machine-aided code review and few PRs.

Rank over time

Key points

  • Mitchellh says everyone at Superlogical is trusted to push to main, with machine-aided code review before pushing and human plus more machine-aided review after, and limited to no PRs.
  • The team agreed that anyone they hire who they don't trust to push directly to main probably isn't the right fit.
  • Everyone can cut a release; the fully automated process triggers a Slack notification and a 15 minute countdown, during which anyone in the company can pause the rollout, and the 15 minutes cannot be overridden except to pause.
  • Mitchellh says he opens PRs for UI-affecting work because he's "pretty trash at macOS/iOS UI," but pushes to main for business logic and internals.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Mitchell Hashimoto @mitchellh 241.1K followers

We're still so small but I'm loving the team we've got at Superlogical. They're so talented and kind and love their craft. It's a different era of software development and our expectations and practices reflect that. I want to share a bit about how we work. First, everyone is trusted to push to main. We do machine-aided code review pre-push and human plus more machine-aided code review post-push. Limited to no PRs. Culturally, we've all agreed that if we ever hire someone who we DON'T trust to push directly to main, then they probably aren't the right fit for the team (so far, not an issue). Some common sense here: if someone is stepping outside their lane or comfort zone, we'll open PRs. For example, I'm pretty trash at macOS/iOS UI, so I'll open PRs for UI-affecting functionality and ask for eyeballs/help. But for business logic and internals, I push to main. Second, everyone can cut a release. Our release process is fully automated and when you start a release (for any platform) it triggers a Slack notification and a 15 minute countdown. The 15 minute warning is a final gate that allows people to review plus collaborate on a changelog. During that 15 minutes, anyone in the company can pause the release rollout. After 15 minutes, the train leaves the station. You can't override the 15 minutes (except to pause). It gives everyone a chance to step in. Third, we avoid synchronization through fast remediation rather than through planning. The server and clients on various platforms ship features as fast as they can. We use post-hoc human review and AI-assistance to identify feature mismatches across products ("Windows has support for X and Mac doesn't." or "Mac and Windows differ in their behaviors for Y in this way."). This avoids expensive "sync" meetings and coordination. We trust that producers of features are mindful of what they're producing and we trust that adjacent product lines will self-synchronize quickly. In practice, we see feature parity across platforms within 24 to 48 hours. All of this works on mutual trust. It ONLY works with mutual trust. Everyone at all times has to trust that they've got each others back: 1. Push to main only works if you fix your mess, or if you don't, that someone else will quickly but that you'd do the same (and generally in equal amounts). 2. Anyone can deploy only works if you trust everyone to cut at the right time, with the right changelog, and that people will respect the 15 minute timer. 3. Sync through fast remediation only works if you trust other teams will pick up and integrate your work quickly, which only works if you would too. It also only works if you are fairly producing mismatches (e.g. not constantly). We've got a great team. I know we're still small and that these practices will change in many ways as we scale. But this is already a markedly different practice than what I would've done 15 years ago. In general, we are building from day 1 on a foundation of mutual respect, excellence, and trust. And it's been awesome.
3,972likes 154reposts 154replies 203.7Kviews

View on X Save

Top replies on X

Reaction on X: Replies were mostly practical questions rather than debate: users asked which tools are used for post-land code review and how machines perform the reviews, how trust is built with a new onboarder, which old habit was hardest to drop, and whether more platforms or a standalone headless server are planned. One solo developer said the part they miss is having someone to disagree with.

Sign in to see 5 top replies from X

From @steveklabnik, @yaserabbass, @vasilios_s and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link