Skip to content

feat(sync): add repository synchronization and safe registration - #126

Merged
mangoknight merged 3 commits into
dingodb:mainfrom
dongzhenyangofficial-ctrl:feat/repository-sync-and-registration-20261009
Oct 10, 2026
Merged

mangoknight merged 3 commits into
dingodb:mainfrom
dongzhenyangofficial-ctrl:feat/repository-sync-and-registration-20261009

Conversation

@dongzhenyangofficial-ctrl

@dongzhenyangofficial-ctrl dongzhenyangofficial-ctrl commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds repository synchronization that executes a fixed uploaded or remote manifest on the target Speed, with persistent task state, conditional publication and result recovery. Remote repository registration now waits for verified upstream metadata.

Changes

  • Validate upstream metadata (including ModelScope application responses) before registering; read-only lookups never register.
  • Fixed-manifest upload/HF/ModelScope synchronization with prepare/execute lifecycle APIs, transfer reuse, conditional publication receipts and recovery that inspects results instead of replaying.
  • Preheat/mount reuse the manifest executor; narrower projection invalidation and inventory-report locking.
  • Preserve original transfer failures and cancellation identity when concurrent metadata preparation returns an opaque cancellation.

Depends on dingodb/dingoscheduler#29 for uploaded sync source lookup.

Tests

go test passes for internal/dao, downloader, handler, router, service, service/task and pkg/config, hfprojection, repository, util, proxypool, including a two-process synchronization integration test.

@dongzhenyangofficial-ctrl
dongzhenyangofficial-ctrl force-pushed the feat/repository-sync-and-registration-20261009 branch from cd711b4 to 26786d8 Compare October 10, 2026 07:58
@mangoknight
mangoknight added this pull request to the merge queue Oct 10, 2026
Merged via the queue into dingodb:main with commit 6a6392f Oct 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants