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

47ng / session-keystore / 43028440280
98%

Build:
DEFAULT BRANCH: next
Ran 11 Nov 2026 01:23PM UTC
Jobs 1
Files 2
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

11 Nov 2026 12:57PM UTC coverage: 97.88% (+3.5%) from 94.413%
43028440280

push

github

franky47
fix!: keep keys across reloads in Chromium (#435)

* ci: update deprecated GitHub Actions to v4

actions/cache v1/v2 has been shut down by GitHub, breaking CI.
Replaced with built-in caching in actions/setup-node@v4.
Also bumped Node from 14.x (EOL) to 22.x and updated
coverallsapp/github-action to v2.

* ci: pin actions

* chore: ignore e2e byproducts

* fix: keep keys across reloads in Chromium

Chromium now applies window.name writes made while unloading one navigation late,
so the store lost its keys on reload (#433).

* doc: explain when the key shares are written

Users need to know what changed in the storage model and what another site can see.

* ref: tighten persistence types and tests

Review asked for compiler-checked invariants and less repetition in the tests.

* doc: match the share timing notes to the code

Review found README claims that did not hold for every case the code handles.

* doc: describe the back/forward cache case in full

The previous wording left out what happens when the page no longer owns its window.name share.

* test: cover window.name changes from another site before a cache restore

The README relies on Chromium giving a restored page its own window.name back.

* doc: name the cases the share notes refer to

Review found two vague references and a missing step in the back/forward cache notes.

* doc: limit the empty store note to what the code does

A store that loads with no keys can leave an old window.name share in place.

* fix!: check the window.name share against a hash

The store must load only the shares it wrote itself.
Shares saved by 1.0.3 have no hash, so tabs open during the upgrade lose their keys once.

* doc: describe the integrity check

Users need to know that the storage format changed and what the hash covers.

* fix: ignore window.name halves that are not strings

The hash check must only ever see the string the store wrote.

* test: size the salt check with a multi-byte secret

A pad sized b... (continued)

98 of 101 branches covered (97.03%)

Branch coverage included in aggregate %.

88 of 89 new or added lines in 2 files covered. (98.88%)

179 of 182 relevant lines covered (98.35%)

334.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43028440280.1 11 Nov 2026 01:23PM UTC 4
97.92
GitHub Action Run
Source Files on build 43028440280
  • Tree
  • List 2
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43028440280
  • 22ca46f8 on github
  • Prev Build on dependabot/npm_and_yarn/qs-6.5.3 (#11435990423)
  • 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