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

source-academy / backend / 2abe8f4136ad7567061d7d4aee607b8c5ab3f858
90%

Build:
DEFAULT BRANCH: master
Ran 11 Aug 2026 01:37PM UTC
Jobs 1
Files 165
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

11 Aug 2026 01:32PM UTC coverage: 88.376% (+0.9%) from 87.5%
2abe8f4136ad7567061d7d4aee607b8c5ab3f858

push

github

web-flow
fix(courses): correct pattern match on create_course_config result (#1377)

* 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>

* tests: add info output logging to tests

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: sayomaki <sayomayomaki@gmail.com>

4037 of 4568 relevant lines covered (88.38%)

6893.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2abe8f4136ad7567061d7d4aee607b8c5ab3f858.1 11 Aug 2026 01:37PM UTC 165
88.38
GitHub Action Run
Source Files on build 2abe8f4136ad7567061d7d4aee607b8c5ab3f858
  • Tree
  • List 165
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2abe8f41 on github
  • Prev Build on master (#C8B8567F...)
  • Next Build on master (#0DC48BF8...)
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