Skip to content

Conversation

@guidomodarelli
Copy link

@guidomodarelli guidomodarelli commented Dec 16, 2025

Description

Add a retry mechanism for the «yarn install» command in the deployment scripts of both the base and dev environment workflows. This change aims to enhance the robustness of the installation process by allowing multiple attempts in case of transient failures, thus reducing the likelihood of internal server errors during package fetching.

Category

Bug fix

Issues Resolved

[BUG] Internal server error fetching concat package · Issue #1038 · wazuh/wazuh-dashboard

Testing

Action: https://github.com/wazuh/wazuh-security-dashboards-plugin/actions/runs/20273449927

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This change introduces a retry mechanism for the «yarn install» command in both the «4_builderprecompiled_base-dev-environment.yml» and «dev-environment.yml» workflows. The implementation allows up to three attempts with a delay of 15 seconds between retries if the installation fails. This enhancement aims to improve the reliability of the installation process, especially in environments where network issues may cause intermittent failures.
Copy link
Member

@yenienserrano yenienserrano left a comment

Choose a reason for hiding this comment

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

LGTM 🟢

Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

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

CR 🟢
Test: 🟢

@asteriscos asteriscos merged commit 1e56f9c into 4.14.2 Dec 17, 2025
8 of 15 checks passed
@asteriscos asteriscos deleted the bug/1038-bug-internal-server-error-fetching-concat-package branch December 17, 2025 16:15
asteriscos added a commit that referenced this pull request Dec 24, 2025
* implement retry logic for yarn install in workflows (#434)

This change introduces a retry mechanism for the «yarn install» command in both the «4_builderprecompiled_base-dev-environment.yml» and «dev-environment.yml» workflows. The implementation allows up to three attempts with a delay of 15 seconds between retries if the installation fails. This enhancement aims to improve the reliability of the installation process, especially in environments where network issues may cause intermittent failures.

* feat: bump 4.14.2

---------

Co-authored-by: Guido Modarelli <[email protected]>
Co-authored-by: wazuhci <[email protected]>
asteriscos added a commit that referenced this pull request Dec 24, 2025
* implement retry logic for yarn install in workflows (#434)

This change introduces a retry mechanism for the «yarn install» command in both the «4_builderprecompiled_base-dev-environment.yml» and «dev-environment.yml» workflows. The implementation allows up to three attempts with a delay of 15 seconds between retries if the installation fails. This enhancement aims to improve the reliability of the installation process, especially in environments where network issues may cause intermittent failures.

* feat: bump 4.14.2

---------

Co-authored-by: Guido Modarelli <[email protected]>
Co-authored-by: wazuhci <[email protected]>
asteriscos added a commit that referenced this pull request Dec 24, 2025
Merge 4.14.2 into 4.14.3 (#438)

* implement retry logic for yarn install in workflows (#434)

This change introduces a retry mechanism for the «yarn install» command in both the «4_builderprecompiled_base-dev-environment.yml» and «dev-environment.yml» workflows. The implementation allows up to three attempts with a delay of 15 seconds between retries if the installation fails. This enhancement aims to improve the reliability of the installation process, especially in environments where network issues may cause intermittent failures.

* feat: bump 4.14.2

---------

Co-authored-by: Guido Modarelli <[email protected]>
Co-authored-by: wazuhci <[email protected]>
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.

4 participants