Skip to content

refactor: rename automatic_relay_management to autorelay - #8623

Merged
hpk42 merged 1 commit into
mainfrom
hpk/rename-autorelay
Aug 27, 2026
Merged

refactor: rename automatic_relay_management to autorelay#8623
hpk42 merged 1 commit into
mainfrom
hpk/rename-autorelay

Conversation

@hpk42

Copy link
Copy Markdown
Contributor

"management" is usually good to avoid in any name, and "automatic_relay_management" is a long unwiedly name with no UI using the mode yet, so let's rename it to something more succinct: autorelay

also added a small module docstring to src/autorelay.rs from what i captured.

.get_config_i64(Config::LastAutomaticRelayManagement)
.await
.unwrap();
let config_before = t.get_config_i64(Config::LastAutorelay).await.unwrap();

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

renaming configs is fine IMHO. No UI uses them, and the commit marks the refactor as breaking.

@HocuriHocuri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think this should be marked as "breaking", because we generally treat "breaking change" to mean "UIs need to adapt", and while this does rename a config, we didn't tell any UIs about this config, so that practically, it's not a breaking change.

If it's marked as "breaking", it will prominently appear in the changelog and UIs will wonder what they need to do.

@hpk42
hpk42force-pushed the hpk/rename-autorelay branch from 74998fa to b541141CompareAugust 27, 2026 14:25
@hpk42
hpk42 enabled auto-merge (rebase) August 27, 2026 14:25
@hpk42hpk42 changed the title refactor!: rename automatic_relay_management to autorelayrefactor: rename automatic_relay_management to autorelayAug 27, 2026
"automatic_relay_management" is a long unwiedly name with no UI using the mode yet,
so let's rename it to something more succinct: autorelay
@hpk42
hpk42force-pushed the hpk/rename-autorelay branch from b541141 to ff33ff4CompareAugust 27, 2026 14:38
@hpk42
hpk42 merged commit a344cab into mainAug 27, 2026
30 checks passed
@hpk42
hpk42 deleted the hpk/rename-autorelay branch August 27, 2026 14:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hpk42@Hocuri