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

mozilla-releng / balrog / #4630
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: rull-diff-edit
DEFAULT BRANCH: main
Ran 24 Jun 2025 02:57PM 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

24 Jun 2025 02:45PM UTC coverage: 89.393%. First build
#4630

Pull #3425

circleci

Eijebong
Switch from react-auth0-components to auth0/auth0-react

The former has been unmaintained for 5 years. I was looking at why the
login button wasn't working on first load and fell into a rabbit hole...

Regarding the update, this is fairly "straightforward". We now use the
context provided with the auth0-react library instead of reinventing the
wheel and having our own. The auth0 library also sets up its own
callback things so we don't need to set that up manually anymore either.

The main pain point was figuring out how to know within the axios
interceptors whether we were logged in or not as calling
`getAccessTokenSilently` will try to log you in if you're not (do not
ask me why... I already didn't have hair anymore before but it's way
worse now). Turned out that we could use `getIdTokenClaims` for this. I
would've loved to set/unset the interceptor based on the `isAuthenticated`
boolean we can get from auth0 but the interceptor also sets the base URL
so we can't do that or it breaks the heartbeat request.
Pull Request #3425: Switch from react-auth0-components to @auth0/auth0-react

3154 of 3673 branches covered (85.87%)

Branch coverage included in aggregate %.

5687 of 6217 relevant lines covered (91.47%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #4630.1 24 Jun 2025 02:57PM UTC 61
89.39
Source Files on build #4630
  • 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 #4630
  • Pull Request #3425
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

© 2025 Coveralls, Inc