• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

rm-hull / dot-block / 20531162642
43%

Build:
DEFAULT BRANCH: main
Ran 26 Dec 2025 11:28PM UTC
Jobs 1
Files 15
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

26 Dec 2025 11:27PM UTC coverage: 47.599% (-3.9%) from 51.525%
20531162642

push

github

web-flow
feat: route certmagic logs to slog (#54)

* feat: add Cloudflare DNS-01 ACME support

Migrate certificate management from `autocert` to `certmagic` to
support DNS-01 challenges via **Cloudflare**. This allows the
application to obtain TLS certificates for DNS-over-TLS without
requiring an open port 80 for HTTP-01 verification.

*   Integrated `certmagic` for robust ACME management.
*   Added `CLOUDFLARE_API_TOKEN` and `ACME_EMAIL` environment variables.
*   Removed legacy `/.well-known/acme-challenge/` route as DNS-01
    challenges are now used.

* feat: route certmagic logs to slog

Integrates `certmagic` logging with the application's `slog` logger by
implementing a custom `zap.Logger` adapter. This ensures that all TLS
management logs are captured and formatted consistently with the rest
of the system.

- Added `NewZapLoggerAdapter` to bridge **zap** and **slog**.
- Configured `certmagic.Default.Logger` in the server setup.
- Mapped zap log levels and fields to slog equivalents.

* refactor: remove unused field from slogCore

Removes the `fields` slice from the `slogCore` struct to simplify
the internal logger adapter state.

* refactor: enhance zap-to-slog logger adapter

*   Parameterize the `source` attribute in `NewZapLoggerAdapter` to
    remove hardcoded values.
*   Add support for `zapcore.DurationType` and `zapcore.TimeType` in
    field conversion.
*   Optimize `slogCore.With` implementation and remove redundant
    `anyList` helper.

0 of 74 new or added lines in 2 files covered. (0.0%)

456 of 958 relevant lines covered (47.6%)

0.51 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% internal/app.go
71
0.0
internal/logger.go
Jobs
ID Job ID Ran Files Coverage
1 20531162642.1 26 Dec 2025 11:28PM UTC 15
47.6
GitHub Action Run
Source Files on build 20531162642
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a59290b3 on github
  • Prev Build on main (#20530567098)
  • Next Build on main (#20540554121)
  • Delete
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