Skip to content

Make v18-to-v19 migration discover graphs before confirmation #806

Description

@flyingrobots

Problem

The published v19 README used --graph events as a literal example. Running that command against a repository containing other graph namespaces reports migration: empty, which makes a missing graph look like a successful no-op.

A repository may contain multiple independent git-warp graphs under refs/warp/<graph>/...; the migration must never imply that events is global or special.

Result

  • Fail with Graph not found when the selected graph namespace is absent.
  • List discovered graph names, ref/writer counts, and whether each graph is current v19, requires migration, or has an unsupported marker.
  • Replace literal events migration examples with an explicit graph-name placeholder and discovery-first instructions.
  • Render operator output and progress with Bijou.
  • Ask for confirmation before inventory, scratch migration, or apply work; provide an explicit --yes path for automation.
  • Preserve multi-graph isolation and add regression coverage for selecting a missing graph in a multi-graph repository.

Safety

Discovery is read-only. --apply must continue to update only the explicitly selected graph after scratch verification and compare-and-swap checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:storagePrimary work area: storage.priority:asapImmediate release pressure.status:activeSomeone is actively working this issue.type:featureNew capability or product behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions