-
Notifications
You must be signed in to change notification settings - Fork 637
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: split key and path functions in separate files #5670
chore: split key and path functions in separate files #5670
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5670 +/- ##
=======================================
Coverage 81.16% 81.16%
=======================================
Files 199 203 +4
Lines 15278 15278
=======================================
Hits 12401 12401
Misses 2408 2408
Partials 469 469
|
…rovements # Conflicts: # modules/core/24-host/packet_keys.go
An alternative would be to remove one of the two functions. I'd propose we remove the I'm don't have much preference. Having in same file, splitting into two files or removing one of the funcs all seem fine to me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine with this but wouldn't mind discussion from others on a more aggressive refactor re: removing one of em as Colin mentions.
WalkthroughWalkthroughThe refactoring in the Changes
Possibly related issues
Recent Review DetailsConfiguration used: .coderabbit.yml Files selected for processing (8)
Files not reviewed due to errors (1)
Files skipped from review due to trivial changes (1)
Additional Context UsedPath-based Instructions (7)
Additional comments not posted (27)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Quality Gate passed for 'ibc-go'Issues Measures |
Ok, since there's no strong opposition to splitting them in files, I will merge this for now, and we can tackle a more aggressive refactor later on. |
Description
A quick low-hanging fruit PR to close a golden oldie issue. From all the points mentioned in the issue the only one that is still valid is splitting the
...Key
and...Path
functions in separate files. If team prefers not to have separate files, that's also fine; I will then just close the PR and the corresponding issue.closes: #28
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.Summary by CodeRabbit
Refactor
New Features