Skip to content

fix(db): renumber the two newer 0134 migrations to resolve the 0134 collision#4581

Merged
JSONbored merged 1 commit into
mainfrom
fix-migration-0134-collision-retry
Jul 10, 2026
Merged

fix(db): renumber the two newer 0134 migrations to resolve the 0134 collision#4581
JSONbored merged 1 commit into
mainfrom
fix-migration-0134-collision-retry

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

Scope

  • The PR title follows type(scope): short summary Conventional Commit format.
  • This PR is focused and does not mix unrelated backend, UI, MCP, docs, dependency, and deploy changes.
  • This follows CONTRIBUTING.md and does not reintroduce GitHub Pages, VitePress, site/, or CNAME.
  • I linked a currently open issue this PR resolves — owner/maintainer fix for a live migration-numbering collision on main blocking every other PR's CI, not tied to a filed issue (same as fix(db): renumber impact-map-query-cache migration to resolve 0131 collision #4554's precedent).

Validation

  • git diff --check
  • npm run actionlint (via npm run test:ci)
  • npm run typecheck
  • npm run test:coverage locally — no source lines changed (pure file rename), nothing new to cover
  • npm run test:workers
  • npm run build:mcp
  • npm run test:mcp-pack
  • npm run ui:openapi:check
  • npm run ui:lint
  • npm run ui:typecheck
  • npm run ui:build
  • npm audit --audit-level=moderate
  • npm run db:migrations:check140 migrations OK — contiguous 0001..0137, no new duplicates. Next free: 0138

Safety

  • No secrets, wallet details, hotkeys, coldkeys, user PATs, private keys, raw trust scores, private rankings, or private maintainer evidence are exposed.
  • Public GitHub text stays sanitized, low-noise, and does not imply compensation guarantees or optimization tactics.
  • Auth, cookie, CORS, GitHub App, Cloudflare, or session changes include negative-path tests — N/A, no such change.
  • API/OpenAPI/MCP behavior is updated and tested where needed — N/A, no behavior change.
  • UI changes use live API data — N/A, no UI change.
  • UI Evidence — N/A, no visible/UI change (pure migration file rename).
  • Public docs/changelogs updated — N/A.

Notes

…PRs)

Three already-merged PRs independently claimed 0134 (#4549's
review_targets_cadence_idx, #4558's predicted_gate_calls, and #4563's
pr_last_backlog_convergence_regated_at). CI on this branch inherits main's
full migrations/ directory regardless of which PR fixes it, so this can't
be deferred to a separate PR without also blocking this one. Renumber the
two newer files (keeping #4563's oldest 0134 file in place); this branch's
own new migration was already moved to 0138 to stay clear of both this
collision and #4563's separate 0135 collision.
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored JSONbored self-assigned this Jul 10, 2026
@JSONbored JSONbored added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 10, 2026
@JSONbored JSONbored added this to the orb milestone Jul 10, 2026
@JSONbored
JSONbored merged commit d4e2464 into main Jul 10, 2026
8 checks passed
@JSONbored
JSONbored deleted the fix-migration-0134-collision-retry branch July 10, 2026 05:45
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@97e91d4). Learn more about missing BASE report.
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4581   +/-   ##
=======================================
  Coverage        ?   94.12%           
=======================================
  Files           ?      429           
  Lines           ?    38131           
  Branches        ?    13905           
=======================================
  Hits            ?    35889           
  Misses          ?     1585           
  Partials        ?      657           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Development

Successfully merging this pull request may close these issues.

1 participant