Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat(web): lazy graph build on /api/workspaces/:id/graph

3 months ago

bbece7a
Authored
asta-nguyen8/8/2026, 5:05:32 AM
Mirror the MCP code_context/graph_neighbors flow: if graph hasn't been
built yet (pending status or 0 nodes), call buildGraphForWorkspace
before reading nodes/edges. Previously the endpoint returned empty
until graph was built by some other trigger.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Parent77c6408

1 file changed
  • apps/web/src/server/index.ts+11−2