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

Freegle / Iznik / 4510
79%
master: 70%

Build:
Build:
LAST BUILD BRANCH: feature/eee-identification
DEFAULT BRANCH: master
Ran 17 Apr 2026 03:40AM UTC
Jobs 1
Files 111
Run time 1min
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

17 Apr 2026 02:57AM UTC coverage: 78.687%. First build
4510

Pull #176

circleci

edwh
chore(test): cover image package pure helpers (0% → 43.0%)

Adds 32 unit tests for the request-routing helpers in `image/image.go`:
- `isTruthy` / `toUint64` — JSON `any` field coercion across nil, bool,
  float64, string, and unknown-type fallbacks.
- `PostRequest.resolveType` — priority order of `ImgType`, `Type`, and
  each boolean type flag (CommunityEvent, Volunteering, User, Story,
  Noticeboard) plus the default-to-Message fallback.
- `PostRequest.resolveParentID` — routes each imgtype to the right ID
  field, including bool-flag-gives-zero and unknown-type-falls-back-to-
  MsgID branches.
- `typeConfigs` — regression guards that every imgtype string used by
  callers has a config entry and that only Message lacks contenttype.

No DB, no fiber.Ctx — all tests exercise the pure helpers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pull Request #176: chore(test): cover image package pure helpers (0% → 43.0%)

21942 of 27885 relevant lines covered (78.69%)

27.39 hits per line

Jobs
ID Job ID Ran Files Coverage
4510 go - 4510 17 Apr 2026 03:40AM UTC 111
78.69
CircleCI Job 4510
Source Files on build 4510
  • Tree
  • List 111
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #4510
  • Pull Request #176
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