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

mozilla-releng / balrog / #5613
90%

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2026 12:58PM UTC
Jobs 1
Files 61
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

19 Jun 2026 12:54PM UTC coverage: 89.944%. Remained the same
#5613

push

circleci

web-flow
Don't rely on a token's liveness to choose whether to get a new one (#3832)

In ce2e38dec, I "abused"
`getIdTokenClaims` as a way to detect whether someone was logged in or
not to avoid calling `getAccessTokenSilently` since that would trigger a
full login sequence on its own. Turns out auth0 had a `isAuthenticated`
variable I could use for that the whole time.

We're making this change now because turning refresh tokens back on
means that auth0 doesn't discard `auth0.user` anymore (since they have a
refresh token), which leads the UI to think and show the user as logged
in, but it does discard the claims from the cache once expired which
makes axios think the user isn't.

And `getAccessTokenSilently` is the initiator of the refresh,
which means an expired token would make `getIdTokenClaims` return
`undefined`, which we considered as "not logged in", which prevents us
from actually trying to refresh said token. Switching to
`isAuthenticated` fixes that entirely.

2192 of 2574 branches covered (85.16%)

Branch coverage included in aggregate %.

5768 of 6276 relevant lines covered (91.91%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5613.1 19 Jun 2026 12:58PM UTC 61
89.94
Source Files on build #5613
  • Tree
  • List 61
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #5613
  • 4308b1d9 on github
  • Prev Build on main
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