Skip to content

fix(ci): Support async tests (again)#875

Open
zkdev wants to merge 1 commit into
open-component-model:masterfrom
zkdev:fix-async-ci-tests
Open

fix(ci): Support async tests (again)#875
zkdev wants to merge 1 commit into
open-component-model:masterfrom
zkdev:fix-async-ci-tests

Conversation

@zkdev

@zkdev zkdev commented Jun 30, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:
When running tests locally without the package installed, the tests fail with:

FAILED src/test/test_compliance_summary.py::test_vulnerability - Failed: async def functions are not natively supported.
FAILED src/test/test_compliance_summary.py::test_malware - Failed: async def functions are not natively supported.
FAILED src/test/test_compliance_summary.py::test_licenses - Failed: async def functions are not natively supported.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Test suite now supports asynchronous test functions

Signed-off-by: Philipp Heil (zkdev) <philipp.heil@sap.com>
@zkdev zkdev requested a review from a team as a code owner June 30, 2026 11:54
@zkdev zkdev self-assigned this Jun 30, 2026
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@zkdev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8ddd3010-1a99-4aad-9ea2-647fa0509689

📥 Commits

Reviewing files that changed from the base of the PR and between 08ce125 and ae718f3.

📒 Files selected for processing (1)
  • requirements-dev.txt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zkdev zkdev added kind/bugfix Bug area/ipcei Important Project of Common European Interest labels Jun 30, 2026
@github-project-automation github-project-automation Bot moved this to 🔦 Needs Triage in Open Delivery Gear Jun 30, 2026
@zkdev zkdev moved this from 🔦 Needs Triage to 🔍 Review in Open Delivery Gear Jun 30, 2026
Comment thread requirements-dev.txt
aiosqlite
greenlet
numpy
pytest-asyncio

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We also require the pytest package itself for our unit tests. Although it would be installed as a dependency of this pytest-asyncio package, we should add pytest<9.1 explicitly as well because the latest version will currently cause a bug.
Once that's the case, we can also remove the explicit installation from the build.yaml workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ipcei Important Project of Common European Interest kind/bugfix Bug

Projects

Status: 🔍 Review

Development

Successfully merging this pull request may close these issues.

2 participants