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

hyperscale-stack / security / 32661849110
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/modernc.org/sqlite-1.57.0
DEFAULT BRANCH: master
Ran 23 Aug 2026 07:38PM UTC
Jobs 1
Files 93
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

23 Aug 2026 07:37PM UTC coverage: 91.77% (+0.02%) from 91.755%
32661849110

Pull #66

github

euskadi31
fix(oauth2): compute expires_in from the server clock

ServerConfig.Now is documented as the clock the server stamps issuance and
expiry with, and every other site honoured it. writeTokenResponse did not:
it measured the remaining lifetime with time.Until, i.e. against the wall
clock, while ExpiresAt came from the injected clock.

With a pinned clock the advertised expires_in stopped describing the token
it shipped with, and a clock pinned far enough in the past put a negative
lifetime on the wire — which RFC 6749 §5.1 does not allow. The stored expiry
was right, so a client trusting expires_in refreshed at the wrong moment
while introspection still reported the token as valid.

serveToken now reads the clock once and passes that instant to both the
grant and the response, so expires_in is exactly the configured TTL. The
value is rounded to the nearest second — truncation advertised a 1h TTL as
3599 as soon as a millisecond elapsed between two clock reads — and an
already-expired token drops the field instead of carrying a negative
lifetime. Refs #64.
Pull Request #66: fix(oauth2): compute expires_in from the server clock

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

3914 of 4265 relevant lines covered (91.77%)

12.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32661849110.1 23 Aug 2026 07:38PM UTC 93
91.77
GitHub Action Run
Source Files on build 32661849110
  • Tree
  • List 93
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #66
  • PR Base - master (#32661594570)
  • 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