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(iroh)!: remove node events #2274

Merged
merged 8 commits into from
May 21, 2024
Merged

Conversation

dignifiedquire
Copy link
Contributor

@dignifiedquire dignifiedquire commented May 8, 2024

These seem to be mostly unused by consumers, and add complexity.

Breaking Changes

  • remove:
    • iroh::node::Event
    • iroh::node::Node::subscribe

Notes

  • Still need to figure out how to migrate the tests

@b5
Copy link
Member

b5 commented May 8, 2024

I've looked everywhere, am not using this. I'm ok with removing

@dignifiedquire dignifiedquire force-pushed the feat-remove-node-events branch from 92e3b31 to b777472 Compare May 10, 2024 08:52
@dignifiedquire dignifiedquire marked this pull request as ready for review May 13, 2024 10:04
@dignifiedquire dignifiedquire added this to the v0.17.0 milestone May 15, 2024
@dignifiedquire dignifiedquire self-assigned this May 15, 2024
@divagant-martian
Copy link
Contributor

was about to review but there are some conflicts fyi

dignifiedquire and others added 8 commits May 21, 2024 17:25
These seem to be mostly unused by consumers, and add complexity.
This fixes the tests, but there is still an error in the logs:

2024-05-13T07:20:51.152002Z ERROR iroh::node::builder: Error getting doc hashes: sending to iroh_docs actor failed
it happens during shutdown if the tasks stop in slightly different order
@dignifiedquire dignifiedquire force-pushed the feat-remove-node-events branch from 5e2f512 to 17a4ad1 Compare May 21, 2024 15:27
@dignifiedquire
Copy link
Contributor Author

@divagant-martian ready for review

Copy link
Contributor

@divagant-martian divagant-martian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@divagant-martian divagant-martian added this pull request to the merge queue May 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 21, 2024
@divagant-martian divagant-martian added this pull request to the merge queue May 21, 2024
Merged via the queue into main with commit b412927 May 21, 2024
22 of 23 checks passed
@dignifiedquire dignifiedquire deleted the feat-remove-node-events branch May 21, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants