Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.14.z] fixing the memory issue in auto-cherry-pick GHA #1023

Conversation

Satellite-QE
Copy link
Contributor

Cherrypick of PR: #996

PR Description

Summary

This PR addresses an issue related to out-of-memory errors during the execution of GitHub Actions workflows. To mitigate this problem, we're introducing a step to set up swap space.

Changes Made

  • Added a new step to the workflow that sets up swap space with a size of 10GB.

Context

In certain resource-intensive workflows, such as those involving large builds or data processing tasks, GitHub Actions runners may encounter out-of-memory errors. These errors can disrupt the workflow and cause it to fail.

To avoid such errors and ensure the smooth execution of workflows, we have introduced a step that configures a swap space of 10GB. Swap space provides additional virtual memory, which can be used when the physical memory is exhausted, thereby preventing out-of-memory errors.

@Satellite-QE Satellite-QE added 6.14.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR No-CherryPick PR doesnt need CherryPick to previous branches labels Oct 25, 2023
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (6.14.z@a93652c). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff            @@
##             6.14.z    #1023   +/-   ##
=========================================
  Coverage          ?   92.15%           
=========================================
  Files             ?        6           
  Lines             ?     3047           
  Branches          ?        0           
=========================================
  Hits              ?     2808           
  Misses            ?      239           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gauravtalreja1 Gauravtalreja1 merged commit e9babfc into 6.14.z Oct 25, 2023
19 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.14.z-4e955401302b694ef4638bf3cb11fedf553aa43a branch October 25, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants