Skip to content

status: reset-required profile renders 'omitted graph_statistics' #2734

Description

@ScriptedAlchemy

Symptom

When the profile registry is served in its typed reset-required state, tracedecay status fails with an unrelated config error instead of naming the reset:

$ tracedecay status
Error: config error: daemon status response omitted graph_statistics
rc=1

The daemon itself reports the typed state correctly:

WARN tracedecay_store_runtime::session_registry::maintenance: registered store is served in its typed reset-required state event="store_reset_required" store=profile authority authority=LCM remedy=tracedecay wipe --all --yes

tracedecay list --all also surfaces it under the wrong code: Error: project route error (graph_tool.failed): LCM profile schema 5 is incompatible with required schema 13; reset the profile.

#2263 says status, doctor and initialize name the exact reset command for a reset-required store. The CLI status path doesn't.

Reproduction (isolated profile)

  1. Download the published v0.0.74 x86_64-linux release, then in a scratch HOME run tracedecay disable-upload-counter and tracedecay init in a scratch git repo. This creates ~/.tracedecay/global.db with LCM schema 5.
  2. Build tracedecay-cli from master (654d88db17). Start tracedecay daemon run --socket $HOME/.tracedecay/daemon.sock under that HOME.
  3. Run tracedecay status in the repo. Output: config error: daemon status response omitted graph_statistics.

A current registry whose code_projects table is missing a column triggers the same status output. That registry is refused with ResetRequired { authority: "project registry" } and remedy tracedecay wipe --all --yes.

Expected

status renders the reset-required state: store, authority, reason, and the remedy tracedecay wipe --all --yes. It should not report a missing field.

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