Skip to content

fix(diff): call oswatcher.diffTreesRecursive, not example.* - #74

Merged
Wenzel merged 1 commit into
masterfrom
fix/procedure-namespace
Sep 23, 2026
Merged

Wenzel merged 1 commit into
masterfrom
fix/procedure-namespace

Conversation

@Wenzel

@Wenzel Wenzel commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Problem

On a fresh docker compose up -d of OSWatcher/oswatcher, comparing two releases fails. The UI shows Error Loading Filesystem, and the API logs:

Neo.ClientError.Procedure.ProcedureNotFound
The procedure or function example.diffTreesRecursive() was not registered for this database instance.

oswatcher-procedures has registered its procedures under the oswatcher.* namespace since release 1.0.1 (@Procedure(value = "oswatcher.diffTreesRecursive")). The API still called the old example.* name.

Fix

Rename the call in NODES_DIFF_QUERY (src/queries.ts).

Verification

  • Built this branch as a local image and swapped it into a fresh quickstart stack (ghcr.io/oswatcher/oswatcher-procedures:latest, seeded corpus). Comparing win11-21h2-22000.194 with win11-21h2-22000.318 now renders the diff, with the Filesystem, Registry and Symbols tabs.
  • npm run format-check and npm run build pass. npm test: 90/90 tests pass. tests/git-log/index.test.ts fails to compile (ts-jest top-level await). It fails the same way on master without this change.

Merging to master republishes ghcr.io/oswatcher/graphql-api:latest through deploy.yml.

🤖 Generated with Claude Code

oswatcher-procedures registers its procedures under the oswatcher.*
namespace since release 1.0.1. The API still called the old
example.diffTreesRecursive name, so on a fresh install every comparison
fails with Neo.ClientError.Procedure.ProcedureNotFound and the UI shows
"Error Loading Filesystem".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Wenzel
Wenzel merged commit 8cf00ed into master Sep 23, 2026
2 checks passed
@Wenzel
Wenzel deleted the fix/procedure-namespace branch September 23, 2026 08:43
Wenzel added a commit that referenced this pull request Sep 25, 2026
master moved to the oswatcher.* procedure namespace (#74) after this branch's
docs were written, which still named it example.diffTreesRecursive. The MCP's
own code never references the procedure by name (it calls diffNodesAt over
GraphQL), so this is a docs-only correction, not a behavior change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WnrRvhmHcMPj6iwJ2NnzK
Wenzel added a commit that referenced this pull request Sep 26, 2026
master moved to the oswatcher.* procedure namespace (#74) after this branch's
docs were written, which still named it example.diffTreesRecursive. The MCP's
own code never references the procedure by name (it calls diffNodesAt over
GraphQL), so this is a docs-only correction, not a behavior change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WnrRvhmHcMPj6iwJ2NnzK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant