Skip to content

doctor on a cold daemon reports mounting until another request opens the project #2713

Description

@ScriptedAlchemy

Symptom

On a freshly started daemon, tracedecay doctor run from inside a registered project reports "Canonical Doctor report is pending: the project runtime is still mounting (application.runtime.mounting)" indefinitely. Doctor never asks for the project to mount. The canonical report appears only after some other request (for example tracedecay tool search) opens the project.

Evidence

Isolated HOME, debug CLI at 11957c55c8, healthy stores: init a scratch project, restart the daemon, then poll doctor --json. daemon_findings.state was "mounting" on all 20 tries over about 80s. After one tool search, the next doctor served the full report.

Expected

Either doctor requests the project mount (bounded, in the background) and reports progress, or it states that the project is not open rather than "still mounting".

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