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

map-services / fuel-prices-api / 25880372560
50%
main: 51%

Build:
Build:
LAST BUILD BRANCH: chore/update-go-deps
DEFAULT BRANCH: main
Ran 14 May 2026 07:18PM UTC
Jobs 1
Files 23
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

14 May 2026 07:17PM UTC coverage: 49.561% (+0.07%) from 49.492%
25880372560

Pull #60

github

rm-hull
refactor: track absolute token expiry times

- Replaced relative `lastAuth` timestamp with absolute
`accessTokenExpiry`
  and `refreshTokenExpiry` fields.
- Added explicit support for `refresh_token_expires_in`.
- Updated `tokenRefresh` to re-authenticate when the refresh token
  nears expiry.

```mermaid
sequenceDiagram
    participant Client
    participant API
    Client->>API: authenticate()
    API-->>Client: Returns access & refresh tokens
    Note over Client: Stores absolute expiry times
    Client->>Client: checkTokenExpiry()
    alt Refresh Token Expired
        Client->>API: authenticate()
    else Access Token Expiring Soon
        Client->>API: tokenRefresh()
    end
```
Pull Request #60: refactor: track absolute token expiry times

12 of 15 new or added lines in 1 file covered. (80.0%)

2 existing lines in 1 file now uncovered.

734 of 1481 relevant lines covered (49.56%)

0.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
87.84
-0.51% internal/client_fetch.go

Coverage Regressions

Lines Coverage ∆ File
2
87.84
-0.51% internal/client_fetch.go
Jobs
ID Job ID Ran Files Coverage
1 25880372560.1 14 May 2026 07:18PM UTC 23
49.56
GitHub Action Run
Source Files on build 25880372560
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #60
  • PR Base - main (#25823832964)
  • 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