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

Unleash / unleash / 29822311720
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 21 Jul 2026 10:32AM UTC
Jobs 1
Files 1206
Run time 2min
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

21 Jul 2026 10:27AM UTC coverage: 87.353% (-0.07%) from 87.427%
29822311720

push

github

web-flow
api-token v2, secure storage

This adds a new type of api token which no longer stores the full secret
in the database.
We're keeping the `project:environment.` prefix so we don't need to
update our SDKs, but the <secret> part is now `v2_identifier_secret`,
where the identifier will be used to get the correct token from the
database and then we do
`sha256(`project:environment.v2_identifier_secret`)` and match this
against what is stored in the verifier column for the token.

We will no longer store the full token in the database, but we'll store
the hash of the token in the row identified by the <identifier>.

This means the only time our users will see the full api token is when
they create them. They can no longer be copied from the api-token list.

1962 of 2164 branches covered (90.67%)

139 of 176 new or added lines in 9 files covered. (78.98%)

18 existing lines in 5 files now uncovered.

15658 of 17925 relevant lines covered (87.35%)

606.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
5.0
src/lib/features/apitokensv2/fake-api-token-v2-store.ts
11
85.9
src/lib/features/apitokensv2/api-token-v2-service.ts
4
93.46
-3.13% src/lib/routes/admin-api/api-token.ts
1
97.22
src/lib/features/apitokensv2/api-token-v2-store.ts
1
87.5
-2.5% src/lib/middleware/backend-token-middleware.ts
1
87.5
-2.5% src/lib/middleware/frontend-token-middleware.ts

Coverage Regressions

Lines Coverage ∆ File
7
93.46
-3.13% src/lib/routes/admin-api/api-token.ts
4
87.5
-2.5% src/lib/middleware/backend-token-middleware.ts
4
87.5
-2.5% src/lib/middleware/frontend-token-middleware.ts
2
97.8
0.0% src/lib/db/api-token-store.ts
1
97.3
0.0% src/lib/features/edgetokens/edge-token-store.ts
Jobs
ID Job ID Ran Files Coverage
1 29822311720.1 21 Jul 2026 10:32AM UTC 1206
87.35
GitHub Action Run
Source Files on build 29822311720
  • Tree
  • List 1206
  • Changed 14
  • Source Changed 12
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29822311720
  • 36d7656b on github
  • Prev Build on main (#29743506067)
  • Next Build on main (#29843196258)
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