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

fhunleth / muontrap / 296e2544-f02c-429e-a2dd-547e5fed481a
86%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 02:34PM UTC
Jobs 1
Files 5
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

06 Oct 2026 02:16PM UTC coverage: 86.316% (+0.2%) from 86.121%
296e2544-f02c-429e-a2dd-547e5fed481a

push

circleci

fhunleth
Fix Argus warning by simplifying Task.async

This fixes:

```
warning[argus.mailbox]: Async task never awaited
    ╭─[lib/muontrap/daemon.ex:270:7]
    │
268 │     case Map.get(options, :wait_for) do
269 │       nil -> {:ok, start_port(state)}
270 │       fun -> {:ok, %{state | wait_task: Task.async(fun)}}
    •       ─────────────────────────┬─────────────────────────
    •                                ╰── task started here
271 │     end
272 │   end
    │
    ╰─────
      note: MuonTrap.Daemon.init/1 starts a task with Task.async (or async_nolink) but nothing awaits or yields it. Task.async links to the caller and always sends a result message: a crashing task takes the caller down, and completed results accumulate unread in the mailbox.
      help: consume the result with `Task.await/2` (or `Task.yield/2` plus `Task.shutdown/1`), or use `Task.Supervisor.start_child/2` for fire-and-forget work
```

We only need to know when the process is done, so this saves cleaning up
the mailbox while still propogating a crash if that happens.

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

246 of 285 relevant lines covered (86.32%)

1686.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 296e2544-f02c-429e-a2dd-547e5fed481a.1 06 Oct 2026 02:34PM UTC 5
86.32
CircleCI Job
Source Files on build 296e2544-f02c-429e-a2dd-547e5fed481a
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #296E2544...
  • 15e52763 on github
  • Prev Build on parallel_make (#F0281691...)
  • Next Build on main (#E70BDE82...)
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