Skip to content

Update integration tests - #322

Merged
daniel-zullo-frequenz merged 5 commits into
frequenz-floss:v0.x.xfrom
daniel-zullo-frequenz:fix/integration-tests
Sep 15, 2026
Merged

daniel-zullo-frequenz merged 5 commits into
frequenz-floss:v0.x.xfrom
daniel-zullo-frequenz:fix/integration-tests

Conversation

@daniel-zullo-frequenz

@daniel-zullo-frequenz daniel-zullo-frequenz commented Sep 15, 2026

Copy link
Copy Markdown
Contributor
  • Enable cancel-all integration test
  • Expect not found for missing orders
  • Fix typo in flake8 configuration comment
  • Include integration tests in isort configuration
  • Limit integration tests CI workflow permissions

The endpoint is available again.
Bound requests and check only test orders.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
Missing orders return NOT_FOUND instead of a transient
backend error.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
@github-actions github-actions Bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Sep 15, 2026
@daniel-zullo-frequenz daniel-zullo-frequenz changed the title fix/integration tests Update integration tests Sep 15, 2026
@daniel-zullo-frequenz daniel-zullo-frequenz added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Sep 15, 2026
@daniel-zullo-frequenz
daniel-zullo-frequenz marked this pull request as ready for review September 15, 2026 11:25
@daniel-zullo-frequenz
daniel-zullo-frequenz requested a review from a team as a code owner September 15, 2026 11:25
Prevent the token from inheriting broader repository
permissions.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused test and configuration updates are consistent with the client behavior and introduce no unresolved issues.

Pull request overview

Updates integration testing behavior and CI configuration.

Changes:

  • Re-enables and strengthens cancel-all order testing.
  • Expects NOT_FOUND for missing orders.
  • Improves formatting configuration and workflow permissions.
File summaries
File Description
pyproject.toml Includes integration tests in isort and fixes a comment typo.
integration_tests/test_api.py Restores cancel-all coverage and updates error expectations.
.github/workflows/integration_test.yml Restricts workflow permissions to read-only contents.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@daniel-zullo-frequenz
daniel-zullo-frequenz added this pull request to the merge queue Sep 15, 2026
Merged via the queue into frequenz-floss:v0.x.x with commit 9cb668b Sep 15, 2026
9 checks passed
@daniel-zullo-frequenz
daniel-zullo-frequenz deleted the fix/integration-tests branch September 15, 2026 13:21
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:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants