Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented May 14, 2025

To support to use the official TLS domains, once setup

@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) part:dispatcher Affects the high-level dispatcher interface labels May 14, 2025
@github-actions github-actions bot added the part:docs Affects the documentation label May 14, 2025
@Marenz Marenz marked this pull request as ready for review May 14, 2025 09:28
Copilot AI review requested due to automatic review settings May 14, 2025 09:28
@Marenz Marenz requested a review from a team as a code owner May 14, 2025 09:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the dispatch API client to use the new DispatchApiClient in order to support the official TLS domains. The changes involve replacing the legacy Client with DispatchApiClient across the codebase, updating the dependency version in pyproject.toml, and revising release notes accordingly.

  • Replaced Client with DispatchApiClient in tests and source files.
  • Updated the dependency version for frequenz-client-dispatch.
  • Revised release notes to reflect the new dispatch service URLs.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/test_managing_actor.py Updated patch target from Client to DispatchApiClient; comment still refers to Client.
src/frequenz/dispatch/_dispatcher.py Replaced Client usage with DispatchApiClient and updated corresponding inline comments.
src/frequenz/dispatch/_bg_service.py Replaced Client with DispatchApiClient in the constructor and type annotations.
pyproject.toml Updated dependency version for frequenz-client-dispatch.
RELEASE_NOTES.md Revised release notes to announce the breaking change and new TLS endpoints.
Comments suppressed due to low confidence (1)

tests/test_managing_actor.py:335

  • Update this comment to refer to 'DispatchApiClient' instead of 'Client' to reflect the current patch target and avoid confusion.
# Patch `Client` class in Dispatcher with MyFakeClient

To support to use the official TLS domains, once setup

Signed-off-by: Mathias L. Baumann <[email protected]>
@Marenz Marenz enabled auto-merge May 14, 2025 09:33
@Marenz Marenz added this pull request to the merge queue May 14, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit ba18aca May 14, 2025
5 checks passed
@Marenz Marenz deleted the update_client branch May 14, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:dispatcher Affects the high-level dispatcher interface part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants