• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

map-services / next-departures-api / 25997719096 / 1
29%
main: 29%

Build:
Build:
LAST BUILD BRANCH: chore/update-go-deps
DEFAULT BRANCH: main
Ran 17 May 2026 05:27PM UTC
Files 20
Run time 0s
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

17 May 2026 05:21PM UTC coverage: 29.626% (+1.3%) from 28.278%
25997719096.1

Pull #19

github

rm-hull
feat: implement configurable logger middleware

Replaced the hardcoded `SlogMiddleware` with a flexible `Logger`
middleware that supports path exclusion via arguments.

*   Added `Logger` function with `excludedPaths` parameter.
*   Updated `ApiServer` to ignore `/metrics` and `/healthz`.
*   Added unit tests to verify logging and exclusion behavior.

```mermaid
sequenceDiagram
    participant C as Client
    participant M as Logger Middleware
    participant H as Handler

    C->>M: Request
    M->>H: c.Next()
    H-->>M: Response
    M->>M: Check if path is excluded
    alt Not Excluded
        M->>M: Log request details
    end
    M-->>C: Response
```
Pull Request #19: refactor: convert to structured logging via `log/slog`

341 of 1151 relevant lines covered (29.63%)

0.32 hits per line

Source Files on job 25997719096.1
  • Tree
  • List 20
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25997719096
  • 31bc0aa7 on github
  • Prev Job for on gemini/patch-issue-18 (#25995013906.1)
  • 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