Skip to content

Conversation

@n8mgr
Copy link
Member

@n8mgr n8mgr commented Nov 28, 2025

@github-project-automation github-project-automation bot moved this to In Progress in Sia Nov 28, 2025
@socket-security
Copy link

socket-security bot commented Nov 28, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgo.sia.tech/​core@​v0.18.2-0.20251113164615-c42e113353ff ⏵ v0.19.099 +1100100100100

View full report

Copy link

Copilot AI left a comment

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 adds support for partial sector reads in the ephemeral host test utility by implementing proper validation and proof generation for arbitrary offset/length reads within sectors. Key changes include updating the go.sia.tech/core dependency to v0.19.0, refactoring the ReadSector method to use new sector subtree APIs, and increasing QUIC stream capacity.

  • Updated ReadSector to support partial reads with validation and proper Merkle proof generation
  • Upgraded go.sia.tech/core from pre-release to v0.19.0
  • Replaced deprecated golang.org/x/net/context with standard context package
  • Increased QUIC MaxIncomingStreams from 1000 to 1e6 to support higher concurrency

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
testutil/proofs.go Replaced deprecated context import with standard library
testutil/host.go Added validation and updated ReadSector to support partial reads with proper proof generation
rhp/v4/quic/quic.go Increased MaxIncomingStreams to 1e6 for higher concurrency
go.mod Updated core dependency to v0.19.0, moved golang.org/x/net to indirect
go.sum Updated checksums for dependency changes
.changeset/updated_ephemeral_host_to_support_partial_reads.md Added changeset documentation

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

@n8mgr n8mgr merged commit d95939a into master Dec 1, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sia Dec 1, 2025
@n8mgr n8mgr deleted the nate/host-proofs branch December 1, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants