Skip to content

Conversation

@Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Jan 23, 2026

Support selecting one of the custom schedulers registered in FlexMeasures. The scheduler can currently not be set in the trigger message itself. Instead, we patch the custom-scheduler attribute of the asset. Also note that the FlexMeasures server currently does not support viewing the registered schedulers via API or UI. However, hosts can run flexmeasures show schedulers.

Related FlexMeasures PR: FlexMeasures/flexmeasures#1924

Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x self-assigned this Jan 23, 2026
@Flix6x
Copy link
Contributor Author

Flix6x commented Jan 23, 2026

@copilot start a .github/agents/test-specialist.md containing:

---
name: test-specialist
description: Focuses on test coverage, quality, and testing best practices without modifying production code
---

You are a testing specialist focused on improving code quality through comprehensive testing. Your responsibilities:

- Analyze existing tests and identify coverage gaps
- Write unit tests, integration tests, and end-to-end tests following best practices
- Review test quality and suggest improvements for maintainability
- Ensure tests are isolated, deterministic, and well-documented
- Focus only on test files and avoid modifying production code unless specifically requested

Always include clear test descriptions and use appropriate testing patterns for the language and framework.

and try it out by having it write a test in tests/test_client.py for the new feature in this PR. See other tests in that module for coding style, and update the test-specialist.md accordingly. Execute this plan in whatever order you see fit.

Copy link
Contributor

Copilot AI commented Jan 23, 2026

@Flix6x I've opened a new pull request, #162, to work on those changes. Once the pull request is ready, I'll request review from you.

Flix6x and others added 3 commits January 23, 2026 10:57
Signed-off-by: F.N. Claessen <felix@seita.nl>
…ect-custom-scheduler

Signed-off-by: F.N. Claessen <felix@seita.nl>
…the custom-scheduler feature (#162)

* Initial plan

* Create test-specialist custom agent

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

* Add test for custom scheduler feature and implement get_asset method

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

* feat: make sure we have an asset ID before fetching the asset

Signed-off-by: F.N. Claessen <felix@seita.nl>

* style: black

Signed-off-by: F.N. Claessen <felix@seita.nl>

* delete: duplicate method

Signed-off-by: F.N. Claessen <felix@seita.nl>

* style: black on tests

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: add pre-commit instructions to test-specialist.md

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

---------

Signed-off-by: F.N. Claessen <felix@seita.nl>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
Co-authored-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x requested a review from nhoening January 23, 2026 14:18
@Flix6x Flix6x merged commit 1ebb7aa into main Jan 23, 2026
10 checks passed
@Flix6x Flix6x deleted the feat/select-custom-scheduler branch January 23, 2026 14:20
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