Bug: iris-global subtree=true returning no results

Aperta
#146 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust, wasm
Ambito
backend

Direzione di ricerca

Start with the iris_global tool handler in the Rust MCP server and check how subtree=true is translated into the IRIS query for ^SYS("SourceControl","Git","settings"). Reproduce by calling the tool with subtree true against a namespace where that global has child nodes, and compare with a direct read. Done when the subtree call returns the child nodes and a test covers the subtree case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When using the iris_global tool and passing "subtree": true, no results return even though the global being requested has child nodes.

For example, I was setting up git-source-control in my IRIS instance and wanted Claude Code to verify my settings.

The settings global in question looked like this:

Image

When Claude ran the MCP tool, it used these inputs:

{
    ...
    "tool_name": "mcp__test-instance__iris_global",
    "tool_input": {
        "action": "get",
        "global_name": "^SYS",
        "subscripts": [
            "SourceControl",
            "Git",
            "settings"
        ],
        "subtree": true,
        "namespace": "TEST",
        "max_nodes": 200
    },
    "tool_response": "{\"node_count\":0,\"nodes\":[],\"success\":true,\"truncated\":false}",
    ...
}

Because of this, Claude has to manually pull each subscript individually under ^SYS("SourceControl","Git","settings") in order to check the settings instead of getting everything in one call.

Lingua principale
Rust
Stelle
45
Fork
17
Merge medio
2g 11h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intersystems-community/iris-agentic-dev

Tutte le issue di intersystems-community/iris-agentic-dev

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.