Skip to content

refactor: add doc comments, move code around, rename#3977

Merged
flub merged 5 commits intomainfrom
flub/tidy-up
Feb 26, 2026
Merged

refactor: add doc comments, move code around, rename#3977
flub merged 5 commits intomainfrom
flub/tidy-up

Conversation

@flub
Copy link
Copy Markdown
Contributor

@flub flub commented Feb 26, 2026

Description

I can't work with obscure names that seem obvious to the persons
writing them, so add doc comments explaining how things works.

The RemoteStateActor did get a bit messy from all the changes. Make
functions follow the naming conventions again, move them to their more
logically grouped places and rename and document for clarity.

Finally netmon, netwatch etc are all just meaningless names to
me. Even after all this time. Name the variables and fields after the
information they actually contain.

Breaking Changes

n/a

Notes & open questions

This is all noise from #3928 that I'm splitting off so that that PR
can contain just the relevant changes (and is easier to rebase/merge
main).

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.

I can't work with obscure names that seem obvious to the persons
writing them, so add doc comments explaining how things works.

The RemoteStateActor did get a bit messy from all the changes. Make
functions follow the naming conventions again, move them to their more
logically grouped places and rename and document for clarity.

Finally netmon, netwatch etc are all just meaningless names to
me. Even after all this time. Name the variables and fields after the
information they actually contain.

This is all noise from #3928 that I'm splitting off so that that PR
can contain just the relevant changes (and is easier to rebase/merge
main).
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 26, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3977/docs/iroh/

Last updated: 2026-02-26T15:53:29Z

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 26, 2026

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: e50e71f

@flub flub requested a review from a team February 26, 2026 11:59
Copy link
Copy Markdown
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

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

Looks good besides some typos.

@n0bot n0bot bot added this to iroh Feb 26, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Feb 26, 2026
@matheus23
Copy link
Copy Markdown
Member

One more missed typo in the codespell CI check ✌️

@flub flub enabled auto-merge February 26, 2026 15:14
@flub flub added this pull request to the merge queue Feb 26, 2026
Merged via the queue into main with commit 1c5bd5b Feb 26, 2026
28 of 29 checks passed
@github-project-automation github-project-automation bot moved this from 🚑 Needs Triage to ✅ Done in iroh Feb 26, 2026
@flub flub deleted the flub/tidy-up branch February 26, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants