Skip to content

Build Stateful Repair CLI on Top of Synapse #6

Description

@Kubuxu

Summary

Build the durable operator tooling needed to execute manual repairs safely and resume after interruption.

Why

Repair is long-running and piece-based. Stateless scripts are not good enough if they crash mid-operation.

Scope

  • accept a dataset or provider as input
  • use the repair inventory to determine available repair sources and destination actions
  • support creating a new destination dataset or reusing an existing operator-controlled dataset
  • execute repair by copying or uploading pieces into the destination dataset using Synapse
  • persist progress and retry state
  • resume cleanly after crash or operator restart
  • produce a verification summary

Non-Goals

  • generic orchestration platform
  • unattended auto-remediation
  • internal GUI

Done Criteria

  • CLI supports dataset-level repair execution
  • CLI supports provider-driven execution by expanding provider scope into dataset-by-dataset repair work
  • CLI can create or reuse the destination dataset used for repaired pieces
  • piece-level progress is persisted durably
  • CLI can resume safely after interruption without losing track of work
  • retries and restarts do not duplicate or lose track of work
  • operator gets a final report of success/failure by piece

Subtasks

  • define repair state model
  • define CLI commands and operator workflow
  • implement provider-to-dataset repair expansion flow
  • implement destination dataset handling
  • integrate Synapse upload / transfer operations
  • implement persistence and resume behavior
  • implement verification output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
🎉 Done

Relationships

None yet

Development

No branches or pull requests

Issue actions