Skip to content

RSCBC-282: Failed to read frame warning needs more context#492

Merged
Matt-Woz merged 1 commit into
mainfrom
RSCBC-282
Jul 16, 2026
Merged

RSCBC-282: Failed to read frame warning needs more context#492
Matt-Woz merged 1 commit into
mainfrom
RSCBC-282

Conversation

@Matt-Woz

Copy link
Copy Markdown
Contributor

Changes

  • Add details of source error to the Display implementation of a memdx error, if there is one

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves observability for memdx-layer failures by including the underlying source error (when present) in the Display output for memdx::error::Error. This helps warnings like “failed to read frame” carry the originating I/O/protocol error details without requiring Debug formatting or explicit source-chain traversal.

Changes:

  • Extend memdx::error::Error’s Display implementation to append : {source} when Error::source() is available.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

BranchRSCBC-282-29427487872-187-1
Testbedubuntu-latest

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
queryLatency
microseconds (µs)
📈 plot
🚷 threshold
🚨 alert (🔔)
486.02 µs
(+15.44%)Baseline: 421.03 µs
484.19 µs
(100.38%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
query📈 view plot
🚷 view threshold
🚨 view alert (🔔)
486.02 µs
(+15.44%)Baseline: 421.03 µs
484.19 µs
(100.38%)

upsert_and_get📈 view plot
🚷 view threshold
458.63 µs
(+13.82%)Baseline: 402.93 µs
463.37 µs
(98.98%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

BranchRSCBC-282-29427487872-187-2
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
query📈 view plot
🚷 view threshold
326.63 µs
(-22.42%)Baseline: 421.03 µs
484.19 µs
(67.46%)
upsert_and_get📈 view plot
🚷 view threshold
312.88 µs
(-22.35%)Baseline: 402.93 µs
463.37 µs
(67.52%)
🐰 View full continuous benchmarking report in Bencher

@Matt-Woz
Matt-Woz merged commit 3cb8ba7 into main Jul 16, 2026
19 of 20 checks passed
@Matt-Woz
Matt-Woz deleted the RSCBC-282 branch July 16, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants