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

[ruler] Remove unused fields #2288

Merged
merged 2 commits into from
Jul 4, 2022
Merged

[ruler] Remove unused fields #2288

merged 2 commits into from
Jul 4, 2022

Conversation

gouthamve
Copy link
Member

@gouthamve gouthamve commented Jun 30, 2022

I was helping someone debug notifications being sent every min and we found that
these two fields are not used anywhere at all.

I am not sure of the deprecation and breaking change policy. Should I mark them
deprecated somehow and then remove them or just remove them right away since they
are not being used.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Thanks! Could you add a [CHANGE] CHANGELOG entry please?

I was helping someone debug notifications being sent every min and we found that
these two fields are not used anywhere at all.

I am not sure of the deprecation and breaking change policy. Should I mark them
deprecated somehow and then remove them or just remove them right away since they
are not being used.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@gouthamve
Copy link
Member Author

Done!

Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

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

LGTM if we're OK just removing these fields. Since they're unused and no longer do anything, I can't imagine anyone has them set?

@osg-grafana osg-grafana self-requested a review July 4, 2022 11:55
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

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

Change lgtm. Not sure about the deprecation notice process either though.

@pracucci
Copy link
Collaborator

pracucci commented Jul 4, 2022

LGTM if we're OK just removing these fields. Since they're unused and no longer do anything, I can't imagine anyone has them set?

Yeah, I wouldn't go through the deprecation policy given they're unused.

CHANGELOG.md Outdated Show resolved Hide resolved
@pracucci pracucci enabled auto-merge (squash) July 4, 2022 15:48
@pracucci pracucci merged commit cff5d73 into main Jul 4, 2022
@pracucci pracucci deleted the remove-unused-fields branch July 4, 2022 15:59
masonmei pushed a commit to udmire/mimir that referenced this pull request Jul 11, 2022
* [ruler] Remove unused fields

I was helping someone debug notifications being sent every min and we found that
these two fields are not used anywhere at all.

I am not sure of the deprecation and breaking change policy. Should I mark them
deprecated somehow and then remove them or just remove them right away since they
are not being used.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Marco Pracucci <marco@pracucci.com>
Sign up for free to 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.

None yet

5 participants