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

msabitov / preffx / #6
87%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2026 12:36PM UTC
Jobs 1
Files 24
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

18 Oct 2026 12:24PM UTC coverage: 83.333% (+2.9%) from 80.418%
#6

push

msabitov
v0.9.0:

Fixed:
- `resource()` fetcher now always receives an `AbortSignal` (previously `undefined` on the server), so the signal signature is consistent across server and client. On the server a real `AbortController` is created per resource; if the signal is aborted, neither data nor error are applied — matching the client semantics

Changed:
- **breaking:** the `resource()` return format changed — the second element of the tuple is no longer a single `refetch` function but an object of handlers (`{ refetch, mutate, cancel, invalidate }`). Existing code that destructured `const [, refetch] = resource(...)` must switch to `const [, { refetch }] = resource(...)`
- **breaking:** the `resource()` signature is unified to `resource(fetcher, options?)`; the previous overload accepting an object form `{ fetcher, options }` is removed. The option fields themselves (`initial`, `timeout`, `key`, `keepPreviousState`) are unchanged
- resource-related types (`ResourceOptions`, `ResourceArg`, `ResourceContext`, `MutableState`) are consolidated into `src/types.ts` instead of being duplicated in `src/utils/resource.ts`

422 of 563 branches covered (74.96%)

Branch coverage included in aggregate %.

95 of 125 new or added lines in 7 files covered. (76.0%)

1 existing line in 1 file now uncovered.

843 of 955 relevant lines covered (88.27%)

92.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
74.59
71.73% src/client/resource.ts
6
65.22
-34.78% src/server/resource.ts
5
47.06
8.82% src/client/hydration.ts
3
87.23
-6.52% src/utils/resource.ts

Coverage Regressions

Lines Coverage ∆ File
1
74.59
71.73% src/client/resource.ts
Jobs
ID Job ID Ran Files Coverage
1 #6.1 18 Oct 2026 12:36PM UTC 24
83.33
Source Files on build #6
  • Tree
  • List 24
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 58d9c0e6 on github
  • Prev Build on main
  • Next Build on main
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