-
-
Notifications
You must be signed in to change notification settings - Fork 256
Keep network statuses up to date as requests are made #7186
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
Merged
+1,011
−76
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
cca8f81
Extend createServicePolicy to support live network status
mcmire 6a3cff1
Fix tests
mcmire c08f398
Add more tests
mcmire 5e0e3e1
No need for getLastInnerFailureReason
mcmire e2eba7a
Fix an issue with onAvailable
mcmire 246b2b5
Reduce the diff
mcmire 199bb79
Fix tests
mcmire ff6d832
Use a quasi-enum for the availability status
mcmire fa66813
Fix test
mcmire 9d090e9
Revamp NetworkController RPC endpoint events
mcmire 0da865b
Remove this comment
mcmire b3909af
Add 'degraded' status
mcmire 6b628d7
Use similar terminology as in createServicePolicy
mcmire 4a3985a
Merge branch 'update-create-service-policy' into update-network-contr…
mcmire 2d38446
Adjust createServicePolicy as well
mcmire 3d8da80
Adjust createServicePolicy as well
mcmire 7860897
Merge branch 'update-create-service-policy' into update-network-contr…
mcmire f67839a
Update some of the terminology
mcmire 110cb0b
Update more of the terminology
mcmire b16597a
RpcEndpointUnvailable -> RpcEndpointUnavailable
mcmire dabf9bd
Keep network statuses up to date as requests are made
mcmire 137c3d7
Merge branch 'main' into update-network-controller-rpc-endpoint-events
mcmire cb498e3
Address Cursor comment
mcmire cdd8491
Make the RPC endpoint event tests more realistic, and address Cursor …
mcmire 73017d1
Reword JSDoc for events, remove endpointUrl from chainUnavailable event
mcmire 7de4def
Merge branch 'main' into update-network-controller-rpc-endpoint-events
mcmire 026ce00
Use the primaryEndpointUrl from the Cockatiel event in the messenger …
mcmire aa4df24
Remove console.log's
mcmire e02f3ae
Tweak JSDoc for NetworkStatus
mcmire e3eb8ec
Merge branch 'update-network-controller-rpc-endpoint-events' into upd…
mcmire 0e13332
Merge branch 'main' into update-network-controller-rpc-endpoint-events
mcmire 41ab331
Merge branch 'update-network-controller-rpc-endpoint-events' into upd…
mcmire c09fdaf
Fix changelog
mcmire 74d9d0f
Remove RpcService.getLastInnerFailureReason, use lastError directly
mcmire bbbfa9c
Remove redundant tag in log
mcmire 4f9d84b
data -> context
mcmire 1862024
Remove unused utility type
mcmire 2f29875
Tweak log statement
mcmire 827696f
Tweak comment
mcmire 72de1d6
Revert log change
mcmire 0f55384
Add comment for why we are ignoring 'isolated'
mcmire 067a807
refactor(network-controller): improve RPC service chain configuration
cryptodev-2s 4b57f32
refactor(network-controller): replace magic number with calculated co…
cryptodev-2s 056703f
test(network-controller): rollback test description change
cryptodev-2s 321ff7c
Group RPC endpoint event tests by failover enabled/disabled
cryptodev-2s 7b9c736
docs: add JSDoc for getError helper in createNetworkClient
cryptodev-2s 2c35648
refactor: remove primaryEndpointUrl from chain-level RPC events
cryptodev-2s 30a9486
docs: clarify event payload changes in network-controller changelog
cryptodev-2s 4e7a37a
fix: add undefined check for error in onServiceBreak handler
cryptodev-2s 61bdbbc
refactor: improve type safety for getError function
cryptodev-2s 9fea617
fix: prevent race condition in onBreak chain status check
cryptodev-2s e4459ee
revert: remove previousStatus check that introduced race condition
cryptodev-2s c59898d
test: fix test to properly verify degraded then recover scenario
cryptodev-2s bcc840f
Remove primaryEndpointUrl from onBreak, onDegraded, and onAvailable e…
cryptodev-2s 3918d08
Remove endpointUrl from chain-level RPC events
cryptodev-2s 916a0e2
Fix typo: correct tertiary endpoint URL in test
cryptodev-2s 47a5270
Merge branch 'update-network-controller-rpc-endpoint-events' into upd…
cryptodev-2s 4b56af2
Merge branch 'main' into update-network-status-live
cryptodev-2s c0070c8
docs: add changelog entry for automatic network status updates
cryptodev-2s e623211
test: improve test descriptions for clarity
cryptodev-2s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.