Repository navigation
feat(project): search all teams on update, add list --updates, page past 100 - #312
Conversation
…ast 100 `project update` only searched the active profile's team, so projects on other teams (leopard, Sequel Outbox) could not be found. It now searches the whole workspace unless --team is given. `project list --updates` shows each project's most recent status update with its date. Favorites are refetched with their update, since cached snapshots carry none. `project list` silently stopped at 100 projects. Interactive, workspace-wide listings now show 100 at a time and ask before fetching the next page. JSON, piped, --mine and --team listings fetch every project without prompting. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
Duplicate project names across teams can cause updates to target the wrong project because exact matches are not checked for uniqueness or disambiguated, including in JSON mode.
1 open issue
What changed in this PR
This PR expands Linear CLI project lookup across teams, adds latest status updates to project listings, and removes the 100-project listing cap.
Changes:
- Search the whole workspace for
project updateunless--teamis supplied. - Add
project list --updates, including fresh update data for favorites. - Prompt between pages for interactive workspace listings; fetch all pages for other listing modes.
| File | Description |
|---|---|
Readme.adoc |
Documents workspace lookup, update display, and paging. |
documents/ash-domain-erd.adoc |
Updates the domain inventory and pagination documentation. |
app/test/linear_cli/linear/project_test.exs |
Adds all-page and single-page retrieval tests. |
app/test/linear_cli/cli/favorites_commands_test.exs |
Tests refreshing favorites with their latest updates. |
app/test/linear_cli/cli_test.exs |
Tests workspace lookup, update display, and paging behavior. |
app/lib/linear_cli/linear/project.ex |
Adds update selection, unbounded retrieval, and a single-page action. |
app/lib/linear_cli/linear/project_update.ex |
Maps update creation dates into the resource. |
app/lib/linear_cli/linear.ex |
Exposes the project-page action through the domain interface. |
app/lib/linear_cli/cli/display.ex |
Formats latest update dates, health, and text. |
app/lib/linear_cli/cli/commands/projects.ex |
Implements workspace lookup, paging prompts, and favorite refreshes. |
app/lib/linear_cli/cli.ex |
Registers the project list --updates flag. |
Review effort: Balanced
• In documents/ash-domain-erd.adoc:153-164, latest_update was added to the LinearCli.Linear.User row (L155) instead of the LinearCli.Linear.Project row (L163). |
OpenSourceAlchemist
left a comment
There was a problem hiding this comment.
Reviewed feat/project-update-all-teams-and-paging against main.
The changes for workspace-wide project update, project list --updates, and unbounded/interactive paging look solid overall. Left a few inline comments (one doc table mix-up in ash-domain-erd.adoc and a few minor edge cases).
(Note: mix test was not run in this review environment because app/ dependencies have not been fetched.)
Move latest_update to the Project row in the Ash domain ERD.

project updateonly searched the active profile's team, so projects onother teams (leopard, Sequel Outbox) could not be found. It now searches
the whole workspace unless --team is given.
project list --updatesshows each project's most recent status updatewith its date. Favorites are refetched with their update, since cached
snapshots carry none.
project listsilently stopped at 100 projects. Interactive,workspace-wide listings now show 100 at a time and ask before fetching
the next page. JSON, piped, --mine and --team listings fetch every
project without prompting.
Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com