Skip to content
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

feat: Add pubsub receipt sharing notifications #418

Merged
merged 25 commits into from
Nov 10, 2023

Conversation

bgins
Copy link
Contributor

@bgins bgins commented Nov 8, 2023

Description

This PR implements the following changes:

  • Add receipt published and received notifications
  • Update receipt sharing log messages
  • Add receipt sharing integration test
  • Add remove_db and wait_for_socket_connection test utilities
  • Update JSON peer_id key to peerId

Link to issue

Implements #131

Type of change

  • New feature (non-breaking change that adds functionality)
  • Refactor (non-breaking change that updates existing functionality)

Test plan (required)

This PR includes an integration test that checks for gossiped receipts in websocket notifications and logs.

@bgins bgins added networking Features, functionality involving networking dx Developer experience applications and improvements labels Nov 8, 2023
@bgins bgins self-assigned this Nov 8, 2023
@zeeshanlakhani zeeshanlakhani force-pushed the zl/jsonrpc branch 2 times, most recently from 404f538 to e13b48d Compare November 8, 2023 14:25
@bgins bgins force-pushed the bgins/shared-receipts branch 2 times, most recently from f0138c1 to 0f75068 Compare November 8, 2023 23:32
@bgins bgins force-pushed the bgins/shared-receipts branch from c66af97 to 649721f Compare November 9, 2023 21:49
@bgins bgins marked this pull request as ready for review November 9, 2023 21:54
@bgins bgins requested a review from a team as a code owner November 9, 2023 21:54
@bgins bgins force-pushed the bgins/shared-receipts branch from 10024d6 to e31b2de Compare November 9, 2023 22:13
@zeeshanlakhani zeeshanlakhani merged commit 0a8d525 into zl/jsonrpc Nov 10, 2023
@zeeshanlakhani zeeshanlakhani deleted the bgins/shared-receipts branch November 10, 2023 14:58
hugomrdias pushed a commit that referenced this pull request Nov 14, 2023
# Description

This PR implements the following changes:

- [x] Add receipt published and received notifications
- [x] Update receipt sharing log messages
- [x] Add receipt sharing integration test
- [x] Add `remove_db` and `wait_for_socket_connection` test utilities
- [x] Update JSON `peer_id` key to `peerId`

## Link to issue

Implements #131 

## Type of change

- [x] New feature (non-breaking change that adds functionality)
- [x] Refactor (non-breaking change that updates existing functionality)

## Test plan (required)

This PR includes an integration test that checks for gossiped receipts
in websocket notifications and logs.

---------

Co-authored-by: Zeeshan Lakhani <[email protected]>
@bgins bgins mentioned this pull request Nov 16, 2023
20 tasks
zeeshanlakhani added a commit that referenced this pull request Nov 29, 2023
# Description

This PR implements the following changes:

- [x] Add receipt published and received notifications
- [x] Update receipt sharing log messages
- [x] Add receipt sharing integration test
- [x] Add `remove_db` and `wait_for_socket_connection` test utilities
- [x] Update JSON `peer_id` key to `peerId`

## Link to issue

Implements #131 

## Type of change

- [x] New feature (non-breaking change that adds functionality)
- [x] Refactor (non-breaking change that updates existing functionality)

## Test plan (required)

This PR includes an integration test that checks for gossiped receipts
in websocket notifications and logs.

---------

Co-authored-by: Zeeshan Lakhani <[email protected]>
bgins added a commit that referenced this pull request Nov 29, 2023
## Description

Includes:
  - re-purposing of feature flags 
    * metrics is always a thing (on) 
    * monitoring is the gated feature 
    * The websocket-server flag is gone, we only gate push notifications
  - JSON-RPC setup and RPC method register
  - Prometheus exposition format to JSON parser

Other features and other fixes:

- [x] e2e testing of run workflow
- [x] #407
- [x] #410
- [x] #418
- [x] #424
- [x] #354 
- [x] #409
- [x] #425 
- [x] #426
- [x] #429 
- [x] #433
- [x] #435
- [x] #421
- [x] #436
- [x] #437
- [x] #444
- [x] #438
- [x] #390
- [x] #451 
- [x] #456

---------

Signed-off-by: Brian Ginsburg <[email protected]>
Signed-off-by: Zeeshan Lakhani <[email protected]>
Co-authored-by: Brian Ginsburg <[email protected]>
Co-authored-by: Hugo Dias <[email protected]>
bgins added a commit that referenced this pull request Nov 29, 2023
Includes:
  - re-purposing of feature flags
    * metrics is always a thing (on)
    * monitoring is the gated feature
    * The websocket-server flag is gone, we only gate push notifications
  - JSON-RPC setup and RPC method register
  - Prometheus exposition format to JSON parser

Other features and other fixes:

- [x] e2e testing of run workflow
- [x] #407
- [x] #410
- [x] #418
- [x] #424
- [x] #354
- [x] #409
- [x] #425
- [x] #426
- [x] #429
- [x] #433
- [x] #435
- [x] #421
- [x] #436
- [x] #437
- [x] #444
- [x] #438
- [x] #390
- [x] #451
- [x] #456

---------

Signed-off-by: Brian Ginsburg <[email protected]>
Signed-off-by: Zeeshan Lakhani <[email protected]>
Co-authored-by: Brian Ginsburg <[email protected]>
Co-authored-by: Hugo Dias <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer experience applications and improvements networking Features, functionality involving networking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants