Skip to content

serve: graph reload still blocks every request (0.9.114) #5371

Open

Description

@vduybq

Follow-up to #5177 (closed); 0.9.114 still stalls as its 2026-11-16 comment showed for 0.9.111.

Observed: call_tool runs _select_graph() → _ctx_cache.load() on the event loop. After graph.json is rewritten, every request waits ~70 s (582 MB graph).
Expected: requests use the current graph while the new one loads off the loop (patch in that comment).
Repro: python -m graphify.serve --transport http graph.json on a large graph; rewrite the file; send 3 concurrent graph_stats.
Impact: every client of a server whose graph gets rewritten.

Activity

  1. github-actions commented on Nov 21, 2026

    @github-actions

    Thanks for opening this issue, @vduybq. A maintainer will take a look soon.

    If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.

    To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions