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

pomerium / sdk-go / 24253502489
3%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 04:38PM UTC
Jobs 1
Files 13
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

10 Apr 2026 04:38PM UTC coverage: 2.045% (+0.01%) from 2.032%
24253502489

push

github

web-flow
client: strip monotonic clock reading from expiry (#191)

The time.After() check used to determine if a Pomerium Zero ID token has
expired will currently compare the monotonic clock readings rather than
the wall time. This can be problematic when running a client for an
extended period of time on a laptop, as the monotonic clock reading may
not advance while the laptop is asleep.

Instead, let's strip the monotonic clock reading from the expiry, so
that the comparison uses only the wall time. From the documentation at
https://pkg.go.dev/time "The canonical way to strip a monotonic clock
reading is to use t = t.Round(0)."

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

325 of 15895 relevant lines covered (2.04%)

0.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24253502489.1 10 Apr 2026 04:38PM UTC 13
2.04
GitHub Action Run
Source Files on build 24253502489
  • Tree
  • List 13
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24253502489
  • 54fee984 on github
  • Prev Build on main (#24192839184)
  • Next Build on main (#24350250117)
  • Delete
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