Skip to content

[BUG] Windows test is slow compared to tests on other operating systems. #1715

Closed

Description

@neoandmatrix

Describe the bug.

The CI tests that run with every PR on windows operating system are too slow as compared to tests on other operating systems as seen form here https://github.com/asyncapi/cli/actions/runs/13762300626/job/38480929274?pr=1695 .

Expected behavior

Tests should have better performance.

Screenshots

Image

How to Reproduce

  1. Make a Pull Request or open any previous one.
  2. Check the checks that ran.
  3. Observe the test on windows is takes quite a bit longer time than the rest.

🥦 Browser

None

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Activity

  1. added
    bug
    on Mar 12, 2025
  2. neoandmatrix commented on Mar 12, 2025

    @neoandmatrix
    ContributorAuthor

    actions/runner-images#7320

    An issue related to this, looks like it's a widespread issue and common also.

  3. AayushSaini101 commented on Mar 12, 2025

    @AayushSaini101
    Collaborator
  4. Shurtu-gal commented on Mar 12, 2025

    @Shurtu-gal
    Collaborator

    We need a windows environment as we are packaging for it as well. Also we have faced weird edge cases in the past which gets flagged out here, so it is mandatory.

    Coming to speed, I was digging through this 2-3 months back, the only thing I could find was windows takes a large amount of time to install the packages itself (maybe due to file system overhead). This is visible in both npm i and generator (as generator also installs npm package).

    Would be great if somebody could verify how much a setup and test run takes on a windows environment where packages are not cached v.s cached.

  5. neoandmatrix commented on Mar 12, 2025

    @neoandmatrix
    ContributorAuthor

    We need a windows environment as we are packaging for it as well. Also we have faced weird edge cases in the past which gets flagged out here, so it is mandatory.

    Coming to speed, I was digging through this 2-3 months back, the only thing I could find was windows takes a large amount of time to install the packages itself (maybe due to file system overhead). This is visible in both npm i and generator (as generator also installs npm package).

    Would be great if somebody could verify how much a setup and test run takes on a windows environment where packages are not cached v.s cached.

    Thanks for insights, will try to test out if caching can improve this or not.

    Thanks.

  6. github-actions commented on Aug 17, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  7. neoandmatrix commented on Oct 14, 2025

    @neoandmatrix
    ContributorAuthor

    Still relevant.

  8. Shurtu-gal commented on Dec 17, 2025

    @Shurtu-gal
    Collaborator

    I don't think any meaningful improvements can be made in this regards until GitHub gets their stuff together.

  9. moved this from To Triage to Done in CLI - Kanbanon Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugkeep-open

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions