Skip to content

apollo_infra: create component clients with channel#13565

Open
ArniStarkware wants to merge 1 commit intoarni/config_manager/add_sender_channel_to_config_manager_runnnerfrom
arni/infra/create_component_clients_with_channel
Open

apollo_infra: create component clients with channel#13565
ArniStarkware wants to merge 1 commit intoarni/config_manager/add_sender_channel_to_config_manager_runnnerfrom
arni/infra/create_component_clients_with_channel

Conversation

@ArniStarkware
Copy link
Copy Markdown
Contributor

@ArniStarkware ArniStarkware commented Mar 29, 2026

Note

Medium Risk
Medium risk because it introduces new infra/client abstractions and config accessors that expect missing fields, which could cause runtime panics if dynamic config isn’t populated correctly.

Overview
Enables channel-backed component clients by adding ComponentChannelClient plus a LocalComponentChannelClient that reads the latest value from a tokio::sync::watch channel (with basic unit tests).

Adds a new synchronous ConfigManagerChannelClient in apollo_config_manager_types that exposes per-component dynamic config getters by reading fields from NodeDynamicConfig (generated via a paste macro), and wires in the new paste dependency.

Written by Cursor Bugbot for commit 6634c16. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from 88af4d1 to 86f5075 Compare March 29, 2026 18:19
@ArniStarkware ArniStarkware force-pushed the arni/config_manager/add_sender_channel_to_config_manager_runnner branch from b4eb1e5 to 65e2e26 Compare March 29, 2026 18:19
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from 86f5075 to 2b69490 Compare March 29, 2026 19:10
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from 2b69490 to b5d24a5 Compare March 30, 2026 09:11
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from b5d24a5 to cb2b077 Compare March 30, 2026 11:08
@ArniStarkware ArniStarkware force-pushed the arni/config_manager/add_sender_channel_to_config_manager_runnner branch from 4973804 to f157278 Compare March 30, 2026 11:08
@ArniStarkware ArniStarkware force-pushed the arni/config_manager/add_sender_channel_to_config_manager_runnner branch from f157278 to 1a4208c Compare March 30, 2026 11:20
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from cb2b077 to 122d3f1 Compare March 30, 2026 11:20
@ArniStarkware ArniStarkware changed the base branch from arni/config_manager/add_sender_channel_to_config_manager_runnner to graphite-base/13565 March 30, 2026 17:19
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from 122d3f1 to 77f78db Compare March 31, 2026 11:48
@ArniStarkware ArniStarkware changed the base branch from graphite-base/13565 to arni/config_manager/add_sender_channel_to_config_manager_runnner March 31, 2026 11:48
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from 77f78db to 59a5b53 Compare March 31, 2026 13:33
@ArniStarkware ArniStarkware force-pushed the arni/config_manager/add_sender_channel_to_config_manager_runnner branch from ac8af19 to 65bfb02 Compare March 31, 2026 13:46
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch 3 times, most recently from 8f4c3f5 to b6da9bc Compare March 31, 2026 15:00
@ArniStarkware ArniStarkware marked this pull request as ready for review March 31, 2026 15:05
@ArniStarkware ArniStarkware force-pushed the arni/config_manager/add_sender_channel_to_config_manager_runnner branch from 65bfb02 to e435fb5 Compare March 31, 2026 17:37
@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from b6da9bc to ab0ab24 Compare March 31, 2026 17:37
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@ArniStarkware ArniStarkware force-pushed the arni/infra/create_component_clients_with_channel branch from ab0ab24 to e4b9b80 Compare March 31, 2026 18:05
Copy link
Copy Markdown
Contributor Author

@ArniStarkware ArniStarkware left a comment

Choose a reason for hiding this comment

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

@ArniStarkware resolved 1 discussion.
Reviewable status: 0 of 10 files reviewed, all discussions resolved.

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