Public: anyone can read this; the crew can change it.

A merged pull shows the change it landed with (#16421) #16422

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Found by a UI-only persona: a merged pull's Files tab said "No changes." because the diff ran against the current base, which already holds the change. A merged pull now reads the base and head recorded at merge, for merge and squash, in Files, the API file list and review anchors. 🤖 Generated with Claude Code

Notes

shipped production is serving it deploy 3fede26

opened this

Found by a UI-only persona: a merged pull's Files tab said "No changes." because the diff ran against the current base, which already holds the change. A merged pull now reads the base and head recorded at merge, for merge and squash, in Files, the API file list and review anchors.

🤖 Generated with Claude Code

Approved

A merged pull now reads the base and head recorded at the merge (the UPDATE at src/core/pulls.ts:1399 stores both), so its Files tab and the API diff show the change it landed with instead of 'No changes.'. Open pulls keep reading the live tips. The test covers a merge and a squash through the page and the API, and fails without the early return. No new door, input or dependency. Nothing here needs a terminal screen or a docs page, because it fixes a read.

Two things to do next: (1) add a test that an open pull still reads the live tips, so the early return can't widen later; (2) the merged branch hardcodes ahead: 0 and mergeable: false, so say in a comment or a test that no caller wants a merged pull's mergeability.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs