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

chore: include connected peers in node #1206

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

jacderida
Copy link
Contributor

@jacderida jacderida commented Jan 18, 2024

  • ecb7208 chore: include connected peers in node

    It's useful for the status command in the node manager to include the number of connected peers,
    and it may be useful at some later point to list the peers in a more detailed view.

  • de4a506 fix: create parent directories

    When saving the node registry, it should create all the directories in its path.

Description

Summary generated by Reviewpad on 18 Jan 24 13:24 UTC

This pull request includes three patches:

  1. The first patch is a chore that adds the functionality to include the number of connected peers in the status command of the node manager. It also prepares for listing the peers in a more detailed view in the future.

  2. The second patch is a fix that ensures all parent directories are created when saving the node registry. Previously, only the final directory in the save path was created.

  3. The third patch is a work in progress (WIP) that adds a backwards compatibility test in the CI workflow. This test is intended to ensure that the code remains compatible with previous versions.

Please review these patches and provide any necessary feedback or suggestions.

@reviewpad reviewpad bot requested a review from joshuef January 18, 2024 13:25
@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Jan 18, 2024
@jacderida jacderida force-pushed the backwards-compat-test branch 5 times, most recently from 932daa8 to de4a506 Compare January 21, 2024 17:10
@jacderida jacderida changed the title WIP -- ci: backwards compatibility test chore: include connected peers in node Jan 21, 2024
It's useful for the `status` command in the node manager to include the number of connected peers,
and it may be useful at some later point to list the peers in a more detailed view.
When saving the node registry, it should create all the directories in its path.
@joshuef joshuef merged commit f4d24f4 into maidsafe:main Jan 22, 2024
17 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants