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

Freegle / Iznik / 25558
72%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 05:59AM UTC
Jobs 4
Files 1384
Run time 2min
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

08 Jul 2026 05:32AM UTC coverage: 72.649% (+0.001%) from 72.648%
25558

push

circleci

invalid-email-address
Fix collation crash in bulk-offer stats generation; backfill 07-06/07-07

messages_bulk_items and messages_bulk_items_interest were created on production
with a bare CREATE TABLE that inherited the MySQL 8 server default
(utf8mb4_0900_ai_ci) instead of the schema-wide utf8mb4_unicode_ci. Stats
generation joins `items i ON i.name = bi.name` and items.name is
utf8mb4_unicode_ci, so the mismatch threw SQLSTATE[HY000] 1267 "Illegal mix of
collations" and aborted the whole day's stats for all groups. Daily stats were
missing for 2026-07-06 and 2026-07-07.

- StatsGenerationService: force the join collation with
  `i.name = bi.name COLLATE utf8mb4_unicode_ci` in all four bulk-weight queries
  (buildDailyContext + regenerateWeightForRange). Works against the current
  mis-collated prod table without any DDL.
- Root-cause fix: the two create migrations now pin charset/collation
  explicitly so fresh/CI databases can never inherit the server default. Paired
  2026_07_08 migration (.php for dev/CI, idempotent .sql for manual prod apply)
  converts the existing tables to utf8mb4_unicode_ci.
- Tests: guard that both code paths emit the COLLATE clause (the runtime
  reproduction isn't possible under DatabaseTransactions, since an ALTER forces
  an implicit commit that breaks isolation).

Prod backfill for 2026-07-06 and 2026-07-07 already run (stats:generate-daily).
The .sql table conversion still needs a manual one-off apply on prod.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ka6SXbZyznGYXyCyC9C86h

12897 of 16982 branches covered (75.95%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

134689 of 186167 relevant lines covered (72.35%)

38.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.77
-0.58% iznik-batch/app/Services/AutoRepostService.php
Jobs
ID Job ID Ran Files Coverage
25558 laravel - 25558 08 Jul 2026 05:59AM UTC 485
69.93
CircleCI Job 25558
25558 go - 25558 08 Jul 2026 05:59AM UTC 148
84.21
CircleCI Job 25558
25558 playwright - 25558 08 Jul 2026 05:59AM UTC 74
22.53
CircleCI Job 25558
25558 vitest - 25558 08 Jul 2026 05:59AM UTC 750
70.52
CircleCI Job 25558
Source Files on build 25558
  • Tree
  • List 1384
  • 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 #25558
  • 1e62a1a7 on github
  • Prev Build on master (#25549)
  • Next Build on master (#25582)
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