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

source-academy / backend / 80304a27cfa61436858d26c6f1cb8b7d4929500a-PR-1377 / 1
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: renovate/aws-6.x
DEFAULT BRANCH: master
Ran 01 Aug 2026 10:14AM UTC
Files 165
Run time 3s
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

01 Aug 2026 10:07AM UTC coverage: 87.459%. First build
80304a27cfa61436858d26c6f1cb8b7d4929500a-PR-1377.1

Pull #1377

github

RichDom2185
fix(courses): correct pattern match on create_course_config result

Courses.create_course_config/2 returns the raw Ecto.Multi transaction
result, which on success is {:ok, %{course: course, course_reg: reg}}.
The controller matched {:ok, course}, binding the whole changes map to
`course`, so `course.id` in the success log raised KeyError and the
request returned a 500 even though the course was created.

Match {:ok, %{course: course}} to extract the actual Course struct.

Regression from #1286, which introduced the `course.id` logging line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #1377: fix(courses): correct pattern match on create_course_config result

3996 of 4569 relevant lines covered (87.46%)

6891.51 hits per line

Source Files on job 80304a27cfa61436858d26c6f1cb8b7d4929500a-PR-1377.1
  • Tree
  • List 165
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 80304
  • 80304a27 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc