You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(platform): page the MCP project list and the settings lists #5203
Split from #5193, which was split from #5156 (item 4 of 7 of #4708). The change for #5193 (TALE-283, branch perf/join-readable-projects-readers, on its way to feature-train) joins readableProjectsSql in the document search, the create-task fallback and the chat hand-over; this issue takes the MCP and settings doors.
What the reads do now
list_projects (listProjectsTool in services/platform/backend/domains/mcp/platform-tools.ts) reads every project the caller may read with listProjects and filters them by name in memory. It then reads every automation of the organization to name the ones installed in each project.
The settings resources in services/platform/backend/domains/projects/settings-resource.ts read every project the caller may read with their own readableProjectIds (listProjects(…, { summary: true })) on every page:
the agent list (agentIds) then reads the agents one project at a time;
the project instructions list pages over that whole id list.
What to do
list_projects: read one bounded page of the readable projects, searching the name on the server, and read only the automations installed in that page's projects.
The settings lists: page in one statement that joins readableProjectsSql, with a keyset cursor.
Keep each door's rule for archived projects.
Done means:
neither door reads an unbounded project list, and neither sends the caller's whole project-id list as ANY(<ids>);
tests cover the visibility rules (PROJ-R1, PROJ-R2) through the join.
Landed on release/0.6 with feature train #5221 (merged by rebase on 2026-10-31 at 20:26:51 UTC) as commit a579aaf (perf(platform): page the MCP project list and the settings lists). It ships with Tale 0.6.0. GitHub closes issues only for commits on main, so the feature-train role closes this one. Task: TALE-288.
Activity
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
tale-code-bot commentedon Oct 31, 2026
Landed on
release/0.6with feature train #5221 (merged by rebase on 2026-10-31 at 20:26:51 UTC) as commit a579aaf (perf(platform): page the MCP project list and the settings lists). It ships with Tale 0.6.0. GitHub closes issues only for commits onmain, so the feature-train role closes this one. Task: TALE-288.perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
20 remaining items
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists
perf(platform): join readable projects in three server readers
perf(platform): page the MCP project list and the settings lists