发布

  • fix(execd): deduplicate context entries in listAllContexts and listLanguageContexts

    frostbyte_neo 发布于 2026-04-03 03:46:37 +00:00

    createDefaultLanguageJupyterContext() stores session ID in both
    jupyterClientMap and defaultLanguageSessions. When listing contexts,
    both maps are iterated, causing default contexts to appear twice.

    Add a 'seen' map to skip already-collected session IDs during the
    second iteration over defaultLanguageSessions.

    Fixes duplicate entries in GET /code/contexts responses.

    下载附件