Skip to content

Conversation

@shsms
Copy link
Contributor

@shsms shsms commented May 20, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 20, 2025 09:22
@shsms shsms requested a review from a team as a code owner May 20, 2025 09:22
@shsms shsms requested review from daniel-zullo-frequenz and removed request for a team May 20, 2025 09:22
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:microgrid Affects the interactions with the microgrid labels May 20, 2025
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 adds missing EV and PV component shutdowns to the datapipeline’s stop method to ensure proper termination of all microgrid elements.

  • Updates test cases in the PV Pool and EV Charger Pool to concurrently stop the datapipeline, streamer, and mock grid.
  • Modifies the datapipeline _stop method to include stopping EV and PV power wrappers as well as EV charger and PV pool reference stores.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/timeseries/_pv_pool/test_pv_pool_control_methods.py Adds concurrent stop calls in PV pool tests
tests/timeseries/_ev_charger_pool/test_ev_charger_pool_control_methods.py Adds concurrent stop calls in EV charger pool tests
src/frequenz/sdk/microgrid/_data_pipeline.py Updates stop method to properly stop additional EV and PV components

@shsms shsms added the cmd:skip-release-notes It is not necessary to update release notes for this PR label May 20, 2025
@shsms shsms force-pushed the 📚🚰🧹(data-pipeline-cleanup) branch from f4f9516 to 919a0f4 Compare May 20, 2025 09:28
@shsms shsms enabled auto-merge May 20, 2025 09:29
@shsms shsms added this pull request to the merge queue May 20, 2025
@github-project-automation github-project-automation bot moved this from To do to Review approved in Python SDK Roadmap May 20, 2025
Merged via the queue into frequenz-floss:v1.x.x with commit fbe4a16 May 20, 2025
5 checks passed
@shsms shsms deleted the 📚🚰🧹(data-pipeline-cleanup) branch May 20, 2025 14:29
@github-project-automation github-project-automation bot moved this from Review approved to Done in Python SDK Roadmap May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:microgrid Affects the interactions with the microgrid part:tests Affects the unit, integration and performance (benchmarks) tests

Projects

Development

Successfully merging this pull request may close these issues.

2 participants