Skip to content

test(daemon): linked-worktree files refusal renders as a tool problem #2333

Description

@ScriptedAlchemy

daemon::tests::runtime_identity::concurrent_same_identity_worktrees_keep_exact_server_and_scheduler_bindings fails on origin/master (reproduced at f1d4e56 and again on 41fb9be plus #2332). It fails deterministically, alone, in about 3 s.

cargo test -p tracedecay --lib --locked -- concurrent_same_identity_worktrees_keep_exact_server_and_scheduler_bindings

The assertion at crates/tracedecay/src/daemon/tests/runtime_identity.rs:280 expects a JSON-RPC error: "a linked worktree without the watch opt-in must not serve a file listing". It gets a tool result carrying a typed problem instead: isError: true, code-graph-unavailable, "the exact project code graph is unavailable: the verified code graph is not ready for the exact project root". The owner-refusal migration (#2317 / #2319) seems to have changed the refusal shape for this route without updating the test's expected transport, or the route should still refuse before dispatch.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions