Skip to content

Prevent occasional 500 errors when installing npm dependencies#45143

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:protect-against-occasional-npm-500-errors
Dec 22, 2024
Merged

Prevent occasional 500 errors when installing npm dependencies#45143
potiuk merged 1 commit intoapache:mainfrom
potiuk:protect-against-occasional-npm-500-errors

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Dec 22, 2024

When we are installing npm dependencies, occasionally in CI we get 500 Internal Error. This change adds max 3 tries of such installations - retrying when 500 internal error is detected.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk requested a review from ashb as a code owner December 22, 2024 07:30
@potiuk potiuk added the full tests needed We need to run full set of tests for this PR to merge label Dec 22, 2024
When we are installing npm dependencies, occasionally in CI we
get 500 Internal Error. This change adds max 3 tries of such
installations - retrying when 500 internal error is detected.
@potiuk potiuk force-pushed the protect-against-occasional-npm-500-errors branch from 2a57c31 to a8205d7 Compare December 22, 2024 07:36
@potiuk potiuk merged commit a8c4871 into apache:main Dec 22, 2024
@potiuk potiuk deleted the protect-against-occasional-npm-500-errors branch December 22, 2024 08:30
potiuk added a commit to potiuk/airflow that referenced this pull request Dec 22, 2024
Try num printed is now more human, and capture_output is added - it
was missing in the original apache#45143
@gopidesupavan
Copy link
Member

Cool :) retries always helps..

potiuk added a commit that referenced this pull request Dec 22, 2024
Try num printed is now more human, and capture_output is added - it
was missing in the original #45143
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
…e#45143)

When we are installing npm dependencies, occasionally in CI we
get 500 Internal Error. This change adds max 3 tries of such
installations - retrying when 500 internal error is detected.
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
Try num printed is now more human, and capture_output is added - it
was missing in the original apache#45143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants