Skip to content

feat(migration): migrate historical review data Cloudflare D1/KV → self-host, then deprecate cloud infra #1573

Description

@JSONbored

Priority: P3 (after reviews are flawless). Child of #1029.

Problem: self-host review_audit/review_targets/repository_settings are EMPTY — no historical reviews/outcomes/per-repo configs migrated from the cloud (Cloudflare D1 "gittensory-api" + KV). We cannot safely delete cloud infra until 100% migrated + verified.

Deliverables: (1) inventory the cloud D1 tables + KV namespaces (review history, pr_outcomes, repository_settings, per-repo rules/configs); (2) an export→import path into the self-host SQLite with row-count + checksum verification; (3) replicate each repo's REAL cloud config into its container-private .gittensory.yml (currently generic advisory templates); (4) a deprecation checklist for the old Cloudflare Workers/D1/KV/queues once verified. Analyze extensively before any deletion.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions