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

eustatos / nexus-state / 23642968821
71%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 10:57AM UTC
Jobs 13
Files 133
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

27 Mar 2026 10:55AM UTC coverage: 71.309% (-0.05%) from 71.362%
23642968821

push

github

web-flow
refactor(core): atom = identity + logic (state in Store)

ARCHITECTURE: Atom is a label, not state container
- Atoms register lazily on first store.get/set/subscribe()
- State lives in Store, not in Atom
- Global registry stores atom references + metadata only

CHANGES:
- atom.ts: Remove immediate registration, lazy-only
- atom-registry.ts: Store references + metadata (not values)
- StoreImpl.ts: Fast-path registration in createGetter()
- TimeTravelController.ts: Store-specific tracking with DEV warnings

BENEFITS:
✅ SSR Isolation: One atom, different states per store
✅ Time-travel: Snapshots are store-specific
✅ Memory: States GC'd with store, atoms lightweight
✅ Multi-store: Shared atoms work correctly

PERFORMANCE:
- Baseline (atom creation): 25x faster (124ms → 5ms)
- Factory (createReactiveValue): 4x faster (285ms → 67ms)
- Overhead % appears higher due to smaller baseline

TESTS:
- Updated tests for explicit atom access before capture
- 1259/1259 core tests passed
- 99/99 time-travel tests passed

Refs: #71

2177 of 2547 branches covered (85.47%)

Branch coverage included in aggregate %.

109 of 117 new or added lines in 3 files covered. (93.16%)

16 existing lines in 3 files now uncovered.

8274 of 12109 relevant lines covered (68.33%)

3053.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
90.55
0.84% packages/core/src/atom-registry.ts

Coverage Regressions

Lines Coverage ∆ File
12
3.64
-22.68% packages/core/src/reactive/factory.ts
2
90.55
0.84% packages/core/src/atom-registry.ts
2
86.61
-0.52% packages/core/src/store/StoreImpl.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 svelte 23642968821.1 27 Mar 2026 10:57AM UTC 1
100.0
GitHub Action Run
2 vue 23642968821.2 27 Mar 2026 10:57AM UTC 1
100.0
GitHub Action Run
3 async 23642968821.3 27 Mar 2026 10:57AM UTC 1
100.0
GitHub Action Run
4 core 23642968821.4 27 Mar 2026 10:57AM UTC 42
81.36
GitHub Action Run
5 web-worker 23642968821.5 27 Mar 2026 10:57AM UTC 1
95.45
GitHub Action Run
6 family 23642968821.6 27 Mar 2026 10:57AM UTC 1
91.67
GitHub Action Run
7 query 23642968821.7 27 Mar 2026 10:57AM UTC 32
54.01
GitHub Action Run
8 react 23642968821.8 27 Mar 2026 10:57AM UTC 1
75.0
GitHub Action Run
9 devtools 23642968821.9 27 Mar 2026 10:57AM UTC 31
63.56
GitHub Action Run
10 immer 23642968821.10 27 Mar 2026 10:57AM UTC 1
100.0
GitHub Action Run
11 persist 23642968821.11 27 Mar 2026 10:57AM UTC 1
94.0
GitHub Action Run
12 form 23642968821.12 27 Mar 2026 10:57AM UTC 19
85.62
GitHub Action Run
13 middleware 23642968821.13 27 Mar 2026 10:57AM UTC 2
89.22
GitHub Action Run
Source Files on build 23642968821
  • Tree
  • List 133
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23642968821
  • 160a4a7d on github
  • Prev Build on main (#23602700180)
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