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

fhunleth / muontrap / 10d9bb45-f5c3-4483-b851-517a2bc9db6b
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: sync-readme-badges-407added84
DEFAULT BRANCH: main
Ran 06 Oct 2026 02:20PM 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%
10d9bb45-f5c3-4483-b851-517a2bc9db6b

Pull #113

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.
Pull Request #113: Fix Argus warning by simplifying Task.async

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

246 of 285 relevant lines covered (86.32%)

1722.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10d9bb45-f5c3-4483-b851-517a2bc9db6b.1 06 Oct 2026 02:20PM UTC 5
86.32
CircleCI Job
Source Files on build 10d9bb45-f5c3-4483-b851-517a2bc9db6b
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #10D9BB45...
  • Pull Request #113
  • PR Base - main (#6B18F9AC...)
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