Skip to content

Remove CLOUD_ROUTING#1862

Merged
moshemorad merged 2 commits into
masterfrom
ROB-1590-remove-disable-cloud-routing-from-runner
Jul 13, 2025
Merged

Remove CLOUD_ROUTING#1862
moshemorad merged 2 commits into
masterfrom
ROB-1590-remove-disable-cloud-routing-from-runner

Conversation

@moshemorad
Copy link
Copy Markdown
Contributor

No description provided.

@moshemorad moshemorad requested a review from arikalon1 July 10, 2025 15:00
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jul 10, 2025

## Walkthrough

The changes remove the `disableCloudRouting` configuration and all related logic, documentation, and validation from the codebase, Helm charts, and documentation. All references to the `CLOUD_ROUTING` environment variable and its conditional behavior are eliminated, resulting in a simplified and unified control flow for cloud routing and interactivity features.

## Changes

| File(s)                                                                                 | Change Summary                                                                                  |
|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
| docs/configuration/alertmanager-integration/outofcluster-prometheus.rst                 | Removed step about enabling cloud-routing; renumbered and simplified alert sending instructions.|
| docs/setup-robusta/additional-settings.rst                                              | Removed entire "Two-way Interactivity" section regarding cloud-routing and interactivity.      |
| helm/robusta/templates/_helpers.tpl                                                     | Deleted validation logic that enforced `.Values.disableCloudRouting` when Robusta UI sink enabled.|
| helm/robusta/templates/runner.yaml                                                      | Removed conditional addition of `CLOUD_ROUTING` environment variable to runner container.      |
| helm/robusta/values.yaml                                                                | Deleted `disableCloudRouting` configuration key and its comment.                               |
| src/robusta/integrations/receiver.py                                                    | Removed all logic and environment variable handling for `CLOUD_ROUTING` in the receiver logic. |
| src/robusta/runner/config_loader.py                                                     | Refactored receiver creation to use robusta sink directly; removed reliance on global config for account and cluster IDs. |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant Helm
    participant Robusta Runner
    participant Receiver

    User->>Helm: Install/Upgrade Robusta (no disableCloudRouting option)
    Helm->>Robusta Runner: Deploy runner (no CLOUD_ROUTING env var)
    Robusta Runner->>Receiver: Start receiver (no conditional disabling)
    Receiver->>Receiver: Initialize incoming event receiver unconditionally

Possibly related PRs

  • Refresh token when connectin to saas #1848: Modifies the ActionRequestReceiver constructor in src/robusta/integrations/receiver.py to replace the use of an auth token parameter with a robusta_sink parameter and adjust related logic accordingly.

Suggested reviewers

  • arikalon1

<!-- walkthrough_end -->
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEejqANiS4AlEs3xTIAYQAyAeQCqAEQD6Nr2gASQA5AHEDEOxmAUouAEYADgA2ACYDT0Q4yAdEWHt8KlojfWNwKDJ6fAAzHAJiMmUaeiZWdi5efmFRcSkZeSYlKlV1LR1Skyg4VFRMOsJScipmhTaMTkgqAHdIRGjmNAp5OQUhlTVNbV0wQzLTA1p8BkQAeiYMavgibGX4fAwXmgrBRcAcMGhSBQwPB1iQiL9/i98HgagwLNhEDQobwWCRcPkMRoKJiOAYAEQUgwAYipkAAgkEGktqHRdvtDvIaoxYJhSIgzPkUBh1PAgbsaNwhZiKNgxDCiJACJAyCorIwLMjaGAKMjxBgFVygZRcP1dni9QqAAa0JCqkjODXYWg2XXyrjVIFZS1CyCWxZNOi+CRA7DSDSyNDMCzerZoZAUApSejVHXMRWCmHS2Xif7IaqFM0YG369DAk2QFMsdCMdhUCyQAAKqbxBOQSpdAgxuDQGhcuZIAEdQ+sLLIADTpkhsgRZIfscUkbjILaUKcJjDRWIJ2hcKQUeDVWTy9PUUvG5Dvbsw6uWtFdyi+cFsb0F2/ozGUb0WFQkesHXAMAgJYdl2aAAOQXv8nzfAiWCoBg+A7B+krxBOmD0HQIolviU4MLWQLwAAXqydJlgAspgEKUAoHxfD81B/HByDIZAqS9nAa7SLg/C1DhNE0OsE4wnexYKnxpHGhR4KQpAACadJka4yoAB6RtwaroegGAId2OYYIgE4JgcmaQNgGCAbydAaEYRg0vSFhYgxuaKvgk6QEoaKHE5+k8S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FJGSKdFsJTjkA7Cl4XZIkin0EybqG6xuFRT8LCYmFmEWGDFWLoyyo6irQ6ybBUnj4kZZTIBsq+ycRbH6wKE6564G6WKZzgo+mOYMZUo0CbRQp6bLH6lYlxZmQIIdaQnclClHSlJgzwDcCzw5wcmMCgrULmmCkshWmWHXjmk9F9GQnm45RW6sj04UCiSsJTpRK4KLqpz1h5o2r9RR4VKuoXrORKieqeS3p+r3p1yPrp7Pq9Stw55kS2mQxEDgihZTjtmrJcDWgkC1DdG/i9G0D1l7jaHYHeiABJhL6EoKef0VUZeZCTeTdroHoH2eQFEeqLYhclAbrtUX+dvhQaPlMoShQOUbREQJUReSfpaHAZuXJs1F8LuTbBbh2TuI+SeZAAKZae+T4fPg+cec+bWcKURVgSPh/vKZPtPrPgYf+TpjykBQhaQY2UUZQaUZQDBdBPBdUY4UhcvD3LcJMJFL/vMBmhRiwOKlwNsEhm1CcIMMoCMJcOMDcAYOJa2uoK1rQIgP0atCQCuJeagdcGJeUKxAAJzVBWUADstADAiQAArLQAAAxoDxBoCuXOVoBuXxB2UAAs8QAAzAwM5VZSQKkIkCQCQBFXZckHQLQMkOZVpZZc5YFQIG5YkAICFTlQINUCFXZQIAwKkD5WVSFQIO5dFdUIFckMkLQAIFZSFW5W5RlVZalWlRAKsLwoEfpYZW+iZb4JUOZUAA=== -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details open="true">
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=robusta-dev/robusta&utm_content=1862):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

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 using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/configuration/alertmanager-integration/outofcluster-prometheus.rst (1)

13-14: Use auto-numbered enumerations to avoid future renumbering pain

Because the list items were re-ordered when disableCloudRouting was removed, every downstream doc change will require manual renumbering. reStructuredText supports auto-numbering via #., which keeps the list correct regardless of insertions/removals.

-1. Verify that all alerts contain a label named ``cluster_name`` or ``cluster``, matching the :ref:`cluster_name defined in Robusta's configuration <Global Config>`. This is necessary to identify which robusta-runner should receive alerts.
-2. Edit the configuration for your centralized AlertManager:
+#. Verify that all alerts contain a label named ``cluster_name`` or ``cluster``, matching the :ref:`cluster_name defined in Robusta's configuration <Global Config>`. This is necessary to identify which robusta-runner should receive alerts.
+#. Edit the configuration for your centralized AlertManager:

This tiny change eliminates manual bookkeeping and accidental numbering mistakes.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4f7d17e and 29f97dc.

📒 Files selected for processing (6)
  • docs/configuration/alertmanager-integration/outofcluster-prometheus.rst (1 hunks)
  • docs/setup-robusta/additional-settings.rst (0 hunks)
  • helm/robusta/templates/_helpers.tpl (0 hunks)
  • helm/robusta/templates/runner.yaml (0 hunks)
  • helm/robusta/values.yaml (0 hunks)
  • src/robusta/integrations/receiver.py (0 hunks)
💤 Files with no reviewable changes (5)
  • helm/robusta/templates/runner.yaml
  • helm/robusta/templates/_helpers.tpl
  • helm/robusta/values.yaml
  • docs/setup-robusta/additional-settings.rst
  • src/robusta/integrations/receiver.py
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: run_tests
  • GitHub Check: Pre-commit checks
  • GitHub Check: Deploy docs
  • GitHub Check: Deploy docs
🔇 Additional comments (1)
docs/configuration/alertmanager-integration/outofcluster-prometheus.rst (1)

13-14: No stale disableCloudRouting references found

A full-text search across both the docs/ directory and the entire codebase returned zero matches for disableCloudRouting or CLOUD_ROUTING, confirming there are no remaining references to remove.

arikalon1
arikalon1 previously approved these changes Jul 12, 2025
Copy link
Copy Markdown
Contributor

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

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

nice work

In the receiver, I would use the account_id from the robusta token, and not the one from the global config

self.account_id = self.event_handler.get_global_config().get("account_id")

To avoid the mismatch in configs

I would check if we can remove the account_id from globalConfig all together - since now, it depends on the ui sink

@moshemorad moshemorad force-pushed the ROB-1590-remove-disable-cloud-routing-from-runner branch from 29f97dc to 54b08b3 Compare July 13, 2025 08:38
@moshemorad moshemorad requested a review from arikalon1 July 13, 2025 08:38
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 29f97dc and 54b08b3.

📒 Files selected for processing (7)
  • docs/configuration/alertmanager-integration/outofcluster-prometheus.rst (1 hunks)
  • docs/setup-robusta/additional-settings.rst (0 hunks)
  • helm/robusta/templates/_helpers.tpl (0 hunks)
  • helm/robusta/templates/runner.yaml (0 hunks)
  • helm/robusta/values.yaml (0 hunks)
  • src/robusta/integrations/receiver.py (2 hunks)
  • src/robusta/runner/config_loader.py (1 hunks)
💤 Files with no reviewable changes (4)
  • helm/robusta/values.yaml
  • helm/robusta/templates/runner.yaml
  • docs/setup-robusta/additional-settings.rst
  • helm/robusta/templates/_helpers.tpl
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/configuration/alertmanager-integration/outofcluster-prometheus.rst
  • src/robusta/integrations/receiver.py
🧰 Additional context used
🪛 Ruff (0.11.9)
src/robusta/runner/config_loader.py

107-107: Undefined name RobustaSink

(F821)

🪛 Flake8 (7.2.0)
src/robusta/runner/config_loader.py

[error] 107-107: undefined name 'RobustaSink'

(F821)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: run_tests
  • GitHub Check: run_tests
  • GitHub Check: Deploy docs
🔇 Additional comments (2)
src/robusta/runner/config_loader.py (2)

87-93: LGTM: Improved receiver management with proper sink handling.

The refactor to explicitly retrieve and use the first robusta sink is well-implemented. The early return with logging when no sinks are found provides good defensive programming.


96-96: LGTM: Consistent refactor to use robusta_sink properties.

The changes correctly replace global config access with direct robusta_sink property access for account_id and cluster_name. This aligns well with the removal of cloud routing conditional logic mentioned in the PR objectives.

Also applies to: 99-100, 102-102, 105-105

Comment thread src/robusta/runner/config_loader.py
@moshemorad moshemorad enabled auto-merge (squash) July 13, 2025 12:31
Copy link
Copy Markdown
Contributor

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

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

LGTM

@moshemorad moshemorad merged commit 02bfb1b into master Jul 13, 2025
8 checks passed
@moshemorad moshemorad deleted the ROB-1590-remove-disable-cloud-routing-from-runner branch July 13, 2025 13:11
stvnksslr pushed a commit to stvnksslr/robusta that referenced this pull request Jul 20, 2025
* Remove CLOUD_ROUTING

* Action request recieved using robusta sink account_id
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.

2 participants