feat: graduate Following out of Experimental
Dean decided on Nov 13 to graduate Following out of Experimental as its own PR. Following is no longer an experiment: every gate on EXPERIMENT.FOLLOWING is gone, so it works in every workspace.
What changes
The EXPERIMENT.FOLLOWING key is deleted, along with its Experimental row, the words shown when an admin flips it, its settings anchor, and its counted mapping. Deleting the key makes every remaining gate fail to compile, so this PR removes all of them:
- Panel:
- The task page's Following chip and popover.
- Follow and Unfollow in a task's menus.
- The dock row offering to add a mentioned person.
- The sidebar's Following group, and Following in Assigned to (now always offered after Me).
- Service:
- The
taskFollowersprocedures now refuse only a task the account can't reach. read_taskandlist_tasksalways returnfollowers.- The task list's live read always returns each task's followers, and no longer re-reads tasks when a workspace's experiment flips.
- The
- Routing:
machine-routing.ts'speopleOfdrops only its experiment check. Everything else in it stays as it was, so the separately approved owner rule can build on top. - iOS: no code gate there. It already drew whatever followers the list carried, so only its comments change.
No data change
Follower rows were always written whatever the experiment: on start, assignment, and a member's message, in the store's own transactions. #8732's migration backfilled existing tasks. So workspaces that never turned Following on already have their followers.
Kept on purpose
PRODUCT_EXPERIMENT.FOLLOWINGstays, so an older build's batch that still counts it is read rather than refused. This matches the Run actions graduation, #8962.workspace_experimentstays logged (LOG.EVERY). Nothing reads its log since the task list stopped re-reading on a flip, but dropping the log is a migration of its own.- The wire still accepts
followerIds: nulland absentfollowers, from a service or a build before this one.
Tests
- Removed with the gate: the test that a list kept on Following reads as My tasks while Following is off, and the routing test's "need Following on" step.
- Updated: the two Assigned to menu tests now expect Following after Me. The Experimental page and settings search lists drop Following.
- Ran locally:
- recursive typecheck
- biome, oxlint and
repository-checks.sh - the touched panel, settings and routing test files
- 12 follower and tool test files across service, host and features (322 tests)
- Left to CI: the rest.
pnpm check:affectedtimed out locally after its typecheck stage passed.
Screenshots
Taken from the web fixtures (?fixture=inbox, ?fixture=settings-workspace), whose workspace has Following off. On main, the sidebar has no Following group and Settings › Experimental lists Following. On this branch, the teammate's followed task, Billing export, stands under Following, and the Experimental row is gone. Light and dark versions are posted in the Vespin thread.
Summary by CodeRabbit
- New Features
- Task following is available without a workspace-level setting. Followed tasks appear in the sidebar, and follow controls and follower indicators appear when follower data is available.
- Agents can use follower machines for task-related routing when those machines are enabled.
- Changes
- Removed Following from experimental settings and related search results. Existing follow controls and task-following features remain available without that setting.