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

fixing the memory issue in auto-cherry-pick GHA #996

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

omkarkhatavkar
Copy link

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.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0a9a19d) 92.15% compared to head (2e6c0cc) 92.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #996   +/-   ##
=======================================
  Coverage   92.15%   92.15%           
=======================================
  Files           6        6           
  Lines        3047     3047           
=======================================
  Hits         2808     2808           
  Misses        239      239           

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

@Gauravtalreja1 Gauravtalreja1 requested a review from a team October 20, 2023 09:43
@jyejare jyejare merged commit 4e95540 into SatelliteQE:master Oct 25, 2023
7 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 25, 2023
Gauravtalreja1 pushed a commit that referenced this pull request Oct 25, 2023
(cherry picked from commit 4e95540)

Co-authored-by: Omkar Khatavkar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z 6.13.z 6.14.z CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants