Epic Branch: v2 release#323
Open
hannahhoward wants to merge 20 commits intomasterfrom
Open
Conversation
given the expected breaking changes, it's time to setup the v2 release BREAKING CHANGE: v2 modules
* feat(revalidators): initial refactor refactor revalidation process -- removing independent revalidations, making validations results more clear * refactor(rename): RevalidateToComplete -> RequiresFinalization * refactor(datatransfer): enhance validator comments * refactor(message): revert message response changes * refactor(impl): comment and refactor on events add comments to event processing and also extract functions for receiving requests to a new file * refactor(message): s/IsVoucherResult/IsValidationResult rename the IsVoucherResult to is 'IsValidationResult' also add a method for generating messages from validation results * feat(events): only dispatch events on change Only dispatch Pause, Resume, SetDataLimit, and RequiresFinalization on change * style(imports): fix imports * feat(events): add DataLimitExceeded event * Update channels/channel_state.go Co-authored-by: dirkmc <dirkmdev@gmail.com> * Update manager.go Co-authored-by: dirkmc <dirkmdev@gmail.com> * Update manager.go Co-authored-by: dirkmc <dirkmdev@gmail.com> * Update statuses.go Co-authored-by: Rod Vagg <rod@vagg.org> Co-authored-by: dirkmc <dirkmdev@gmail.com> Co-authored-by: Rod Vagg <rod@vagg.org>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #323 +/- ##
==========================================
+ Coverage 65.97% 66.74% +0.76%
==========================================
Files 29 25 -4
Lines 3436 2556 -880
==========================================
- Hits 2267 1706 -561
+ Misses 816 674 -142
+ Partials 353 176 -177
🚀 New features to boost your workflow:
|
* refactor(validators): remove revalidation move to all revalidation being asynchronous * feat(validators): implied pauses causes datalimit exceeded and requires finalization to leave request paused, regardless of where LeaveRequestPaused is set * refactor(events): reorder events reorder validation events so all get record when transfer finishes * Update impl/impl.go Co-authored-by: Rod Vagg <rod@vagg.org> Co-authored-by: Rod Vagg <rod@vagg.org>
* feat(ipld): vouchers as plain ipld.Node * feat: add ValidationResult#Equals() utility * feat(ipld): introduce TypedVoucher tuple type * chore(ipld): ipld.Node -> datamodel.Node * chore: remove RegisterVoucherResultType * fix: minor staticcheck fixes
use cborgencomptaiblenode to simply channelstate interface
* chore(deps): update libp2p v0.19.4 (#341) * feat(ipld): use bindnode/registry Co-authored-by: Hannah Howard <hannah@hannahhoward.net>
* refactor(transport): move libp2p message layer into transport * refactor(graphsync): cleanup channel state tracking * refactor(dtchannel): extract dtchannel to package * test(impl): get remaining tests passing * refactor(transport): much simpler interface * style(lint): fix imports * refactor(transport): remote unneccesary methods * fix(rebase): fix errors after rebase
* refactor(network): move network to subdirectory move the network to a subdirectory, also cleanup usage of all selector, move gstestdata to the itest directory * feat(network): introduce wrapped protocol introduces a new wrapped protocol that encodes the transport id so that we can support multiple transports using the network protocol * style(lint): fix imports * fix(rebase): fix issues after rebase
* feat(network): transport versioning and detection Support multiple transports on the libp2p protocol, via different protocol naming, and using libp2p to do protocol negotiation * Update transport/helpers/network/libp2p_impl.go Co-authored-by: Rod Vagg <rod@vagg.org> * Update transport/helpers/network/libp2p_impl.go Co-authored-by: Rod Vagg <rod@vagg.org> * fix(network): add versions check for legacy transport Co-authored-by: Rod Vagg <rod@vagg.org>
refactors the transport events interface - moves data limit tracking into the transport - makes index tracking opaque work inside the transport - refactors event flow -- we now have an initiated event + queued & awaiting acceptance states - leans into async communication between transport and data transfer - adds a bunch of transport tests - refactor pausing to support more correct resumption in state machine
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Rod Vagg <rod@vagg.org>
add additional tests, remove commented out code, improve migrations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goals
Given the number of expected breaking changes, it's very much neccesary to setup a v2 release. This is an epic branch to merge big refactor PRs to until we get to merging to master for a v2 release.