Skip to content

Conversation

periklis
Copy link
Collaborator

@periklis periklis commented May 28, 2025

What this PR does / why we need it:
This pull request provides a small fix to return BadRequest as the status code when a client if sending multiple org ids to the ruler API.

Which issue(s) this PR fixes:
Fixes #grafana/loki-private/issues/1335

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

@periklis periklis force-pushed the fix-ruler-multiple-orgids branch from 0d14b07 to 22179ab Compare June 2, 2025 07:43
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jun 2, 2025
@periklis periklis marked this pull request as ready for review June 2, 2025 07:43
@periklis periklis requested a review from a team as a code owner June 2, 2025 07:43
@periklis periklis self-assigned this Jun 2, 2025
Copy link
Contributor

@ashwanthgoli ashwanthgoli left a comment

Choose a reason for hiding this comment

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

lgtm

@periklis periklis merged commit f7e47f0 into main Jun 2, 2025
65 checks passed
@periklis periklis deleted the fix-ruler-multiple-orgids branch June 2, 2025 07:56
@periklis periklis added type/bug Somehing is not working as expected backport k257 labels Jun 2, 2025
loki-gh-app bot pushed a commit that referenced this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport k257 size/L type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants