Skip to content

fix(migrations): renumber orb_webhook_events 0063 → 0064 (collision) - #1300

Merged
JSONbored merged 1 commit into
mainfrom
fix/migration-0063-collision
Jun 25, 2026
Merged

fix(migrations): renumber orb_webhook_events 0063 → 0064 (collision)#1300
JSONbored merged 1 commit into
mainfrom
fix/migration-0063-collision

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

#1293 and the re-gate sweep PR each grabbed migration 0063, so main now has a duplicate (0063_orb_webhook_events.sql + 0063_sweep_fanout_marker.sql) and db:migrations:check fails on every branch off main. Renumber the newest — orb_webhook_events (pure CREATE TABLE/INDEX IF NOT EXISTS, not yet deployed since the Orb app isn't live) — to the next free number 0064; the sweep marker keeps 0063.

File rename only — the migration runner globs migrations/*.sql, no code references the number.

Validation

  • db:migrations:check66 migrations OK — contiguous 0001..0064 … Next free: 0065

#1293 (orb webhook receiver) and the re-gate sweep PR both grabbed migration number 0063, so main
shipped a duplicate 0063_*.sql and db:migrations:check fails for every branch off main. Renumber the
newest (orb_webhook_events, which uses CREATE TABLE/INDEX IF NOT EXISTS and is not yet deployed) to the
next free number; the sweep marker keeps 0063.
@dosubot dosubot Bot added the size:XS label Jun 25, 2026
@superagent-security

Copy link
Copy Markdown
Contributor

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

@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.14%. Comparing base (5ff81d4) to head (bca8d6e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1300   +/-   ##
=======================================
  Coverage   95.14%   95.14%           
=======================================
  Files         179      179           
  Lines       20124    20124           
  Branches     7239     7239           
=======================================
  Hits        19147    19147           
  Misses        386      386           
  Partials      591      591           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JSONbored
JSONbored merged commit a40febb into main Jun 25, 2026
19 checks passed
@JSONbored
JSONbored deleted the fix/migration-0063-collision branch June 25, 2026 02:38
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.

1 participant