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

firebase / firebase-js-sdk / 42261628534
84%
master: 0%

Build:
Build:
LAST BUILD BRANCH: fix/auth-indexeddb-suspended-tab-10540
DEFAULT BRANCH: master
Ran 06 Nov 2026 05:39PM UTC
Jobs 1
Files 37
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

06 Nov 2026 05:26PM UTC coverage: 84.117%. Remained the same
42261628534

push

github

web-flow
fix(ai): don't let a later `getAI()` call overwrite an existing instance's options (#10554)

* fix(ai): do not let a later getAI() call overwrite an existing instance's options

AI instances are cached per app and backend, but getAI() unconditionally
reassigned the instance's options on every call. A plain getAI(app) call
anywhere in the app therefore reset useLimitedUseAppCheckTokens to false on
an instance that had opted in, and every model created afterwards from that
instance sent standard (cached, replayable) App Check tokens instead of
limited-use tokens.

getAI() now only assigns options when it creates the instance. Later calls
for the same app and backend return the existing instance unchanged if they
omit useLimitedUseAppCheckTokens or pass the same value, and throw an
AIError with the new code `already-initialized` if they pass a different
value, mirroring initializeAppCheck().

460 of 603 branches covered (76.29%)

Branch coverage included in aggregate %.

1240 of 1418 relevant lines covered (87.45%)

55.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-the-rest-coverage - 42261628534.1 06 Nov 2026 05:39PM UTC 72
84.87
GitHub Action Run
Source Files on build 42261628534
  • Tree
  • List 37
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c0a4c7ba on github
  • Prev Build on main (#42089782508)
  • Next Build on main (#42292730273)
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