• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Freegle / Iznik / 25455
73%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2026 02:15PM UTC
Jobs 4
Files 1379
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 01:50PM UTC coverage: 72.566% (+0.005%) from 72.561%
25455

push

circleci

edwh
fix(migration): logs.subtype enum must match the live DB's physical order

On the live DB 'OurEmailFrequency' was hot-fixed as an END-APPEND, so it
sits at ordinal 47, after 'Repost'. Commit 87afcc2e3 back-filled it into
the create_logs_table migration at position 40 (next to OurPostingStatus),
so every DB built from migrations has had diverged ordinals since. The
add_restored migration (PR #987) was authored from that dev order: on the
live DB its MODIFY is an 8-ordinal reorder, which INSTANT and INPLACE
refuse (error 1846) and only a COPY rebuild of ~40M rows under Galera TOI
can perform - a cluster-wide lock.

- create_logs_table: move OurEmailFrequency to the end, matching live.
- add_restored_to_logs_subtype_enum: list values in the live order so the
  ALTER is a true end-append (INSTANT works); keep the INPLACE fallback
  and add a bare-COPY last resort for dev DBs built from the old order.
  Fix the comment, which claimed the statement was append-only with no
  rebuild.
- Add companion idempotent prod-deploy SQL (INSTANT-only, so any future
  order mismatch fails loudly instead of silently rebuilding).

Validated on percona:8.0.43-34: INSTANT append succeeds on the live order
with row values intact; the old statement is refused by both INSTANT and
INPLACE (1846), confirming the reorder diagnosis; the COPY fallback
remaps by string correctly; the companion SQL is idempotent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MAMpjuyJgnUSEAsdUcpJr6

12821 of 16905 branches covered (75.84%)

Branch coverage included in aggregate %.

134108 of 185572 relevant lines covered (72.27%)

38.34 hits per line

Jobs
ID Job ID Ran Files Coverage
25455 playwright - 25455 07 Jul 2026 02:16PM UTC 74
22.54
CircleCI Job 25455
25455 vitest - 25455 07 Jul 2026 02:16PM UTC 748
70.42
CircleCI Job 25455
25455 go - 25455 07 Jul 2026 02:15PM UTC 147
84.19
CircleCI Job 25455
25455 laravel - 25455 07 Jul 2026 02:15PM UTC 483
69.89
CircleCI Job 25455
Source Files on build 25455
  • Tree
  • List 1379
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #25455
  • 93538da4 on github
  • Prev Build on master (#25446)
  • Next Build on master (#25471)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc