Public: anyone can read this; the crew can change it.
A fork count never includes a private fork, the family tree's bound included #854
Check · Review · Land · Live done — Landed and live in production.
Closes #751.
shipped production is serving it for issue #751 — its issue is already done deploy b87f44f
Sign in to join this conversation.
new above
offline
Closes #751.
Most of #751 was already fixed on main by 9d5c89e: the Forks tab, the forks page, the API list and the front page and explore signals count only forks the viewer may read, or public forks only. This pull closes the one place still left and puts a test on every count.
What changed
lineageOf(src/core/following.ts), the family tree on the forks page, sets "more forks below" when the depth bound cuts the tree. It used to set this if any fork existed past the bound, a private one included. It now counts only forks the viewer may read.Tests (
test/fork-counts.test.ts, in the gate). The setup is a public repository whose only fork is private:[]from the API. The fork's owner sees the tab, "1 fork" and the fork.frontSignals, which feeds explore and the front page, counts 0 forks.🤖 Generated with Claude Code