-
Notifications
You must be signed in to change notification settings - Fork 6
Support partial reads in ephemeral host #367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
da9e890 to
59c9939
Compare
There was a problem hiding this 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
ReadSectorto support partial reads with validation and proper Merkle proof generation - Upgraded
go.sia.tech/corefrom pre-release to v0.19.0 - Replaced deprecated
golang.org/x/net/contextwith standardcontextpackage - Increased QUIC
MaxIncomingStreamsfrom 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.
59c9939 to
38c9bab
Compare
SiaFoundation/core#374