fix(db): renumber the two newer 0134 migrations to resolve the 0134 collision#4578
fix(db): renumber the two newer 0134 migrations to resolve the 0134 collision#4578davion-knight wants to merge 1 commit into
Conversation
…ollision Three PRs landed a migration numbered 0134 (pr_last_backlog_convergence_regated_at, review_targets_cadence_idx, predicted_gate_calls), so check-migrations fails on main and blocks the queue. Keep the earliest at 0134 and renumber the two later ones to the next free numbers (0136, 0137), preserving merge order. Pure renames; no SQL changes.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4578 +/- ##
=======================================
Coverage ? 94.12%
=======================================
Files ? 429
Lines ? 38131
Branches ? 13905
=======================================
Hits ? 35889
Misses ? 1585
Partials ? 657 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-10 05:32:40 UTC
🛑 Suggested Action - Reject/Close
Review summary Nits — 3 non-blocking
Why this is blocked
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (No linked issue detected; Maintainer requires a linked issue). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Three PRs each landed a migration numbered 0134, so
check-migrationsfails onmainand every open contributor PR inherits the duplicate:Fix
Keep the earliest-merged file at
0134(it pairs with0135_backlog_convergence_fanout_marker.sqlfrom the same PR) and renumber the two later ones to the next free numbers, preserving merge order:0134_review_targets_cadence_idx.sql0136_review_targets_cadence_idx.sqlCREATE INDEXonreview_targets0134_predicted_gate_calls.sql0137_predicted_gate_calls.sqlCREATE TABLE predicted_gate_callsPure
git mvrenames — no SQL content changes (0 insertions / 0 deletions). The three migrations touch independent objects (apull_requestscolumn, areview_targetsindex, a new table), so ordering is unaffected. Same shape as the recent 0131 collision fix (#4554).Validation
npm run db:migrations:check→140 migrations OK — contiguous 0001..0137, no new duplicates. Next free: 0138git grepconfirms no code references either migration by filename; no migrations manifest to regenerate.npm run engine-parity:drift-check→ ok (unaffected).