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

trickstercache / trickster / 39930892169
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: fix/dpc-unmarshal-error-recovery
DEFAULT BRANCH: main
Ran 23 Oct 2026 09:34AM UTC
Jobs 2
Files 961
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

22 Oct 2026 12:04AM UTC coverage: 93.729% (+0.008%) from 93.721%
39930892169

Pull #1213

github

thinker0
fix(dpc): recover from timeseries cache unmarshaling failure

When reading a cached timeseries from a non-chunking cache (such as
Redis), if the cached payload cannot be unmarshaled (e.g. legacy point
layout ErrLegacySeries or corrupted bytes), QueryCache was discarding
the unmarshal error and returning a partially-populated DataSet with
pre-populated ExtentList. This caused DeltaProxyCache to treat the entry
as a partial hit with phantom coverage, suppressing origin fetches and
returning empty results.

1. In dataset.UnmarshalDataSet and ReadDataSet, return (nil, err) on
   unmarshaling failure instead of returning a partially-populated DataSet.
2. In queryCache, propagate the unmarshaler error so that
   DeltaProxyCacheRequest detects the failure, purges the invalid cache entry
   via cache.Remove, and recovers by fetching fresh data from the origin.
3. Add TestDeltaProxyCacheUnmarshalingFailureRecovery regression test.

Signed-off-by: thinker0 <thinker0@gmail.com>
Co-authored-by: Gemini <noreply@google.com>
Pull Request #1213: fix(dpc): recover from timeseries cache unmarshaling failure

11 of 11 new or added lines in 2 files covered. (100.0%)

16 existing lines in 6 files now uncovered.

99013 of 105638 relevant lines covered (93.73%)

15551.72 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
92.73
-0.59% pkg/moq/session/session.go
3
94.76
-1.31% pkg/moq/relay/upnamespaces.go
2
98.61
-1.39% pkg/cache/index/shards.go
2
93.26
-0.47% pkg/moq/session/request.go
2
93.85
0.0% pkg/proxy/pgwire/relay.go
2
90.65
-1.87% pkg/proxy/pgwire/splitter.go
Jobs
ID Job ID Ran Files Coverage
1 integration - 39930892169.1 23 Oct 2026 09:34AM UTC 941
44.68
GitHub Action Run
2 unit-Go-1.27 - 39930892169.2 23 Oct 2026 09:35AM UTC 961
92.85
GitHub Action Run
Source Files on build 39930892169
  • Tree
  • List 961
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1213
  • PR Base - main (#39794211675)
  • 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