Skip to content

test(daemon): linked-worktree files refusal test fails on master #2347

Description

@ScriptedAlchemy

daemon::tests::runtime_identity::concurrent_same_identity_worktrees_keep_exact_server_and_scheduler_bindings (crates/tracedecay/src/daemon/tests/runtime_identity.rs:280) fails deterministically on a clean origin/master checkout at 0e7b2c3df4 (built with cargo test -p tracedecay --features test-transport,test-helpers --lib), 2/2 runs alone and in the full lib run:

a linked worktree without the watch opt-in must not serve a file listing: JsonRpcResponse { ..., result: Some({... "isError": true, "problem": {"code": "code-graph-unavailable", "kind": "unavailable", "message": "the exact project code graph is unavailable: the verified code graph is not ready for the exact project root", "retry": "after_delay", ...}}), error: None }

The test expects the linked-worktree files follow-up to be refused as a JSON-RPC error (the missing watch opt-in). It is instead admitted and answered with a typed code-graph-unavailable tool-result problem, so either the route no longer refuses before dispatch, or the refusal now travels as a typed tool result and the assertion is stale. It also failed on 761adc2597, before #2340. Found while verifying the fact_store_curate receipt lane, which does not touch this path.

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