Skip to content

Update actions to minimize node use. #933

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

Merged
merged 27 commits into from
Jul 12, 2025
Merged

Conversation

sbryngelson
Copy link
Member

@sbryngelson sbryngelson commented Jul 10, 2025

User description

Trying to make phoenix work!
Update: Shockingly challenging! Almost there.

TODO:

  • Addd instructions on how to launch a Phoenix runner to the misc/ directory in version control.

Closes #932


PR Type

Other


Description

  • Add NODE_OPTIONS environment variable for memory optimization

@Copilot Copilot AI review requested due to automatic review settings July 10, 2025 00:19
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a conditional NODE_OPTIONS setting to the GitHub Actions workflow to limit Node.js memory usage for the gt label, aiming to reduce overall node consumption.

  • Add NODE_OPTIONS environment variable only when matrix.lbl is gt.
Comments suppressed due to low confidence (1)

.github/workflows/test.yml:104

  • [nitpick] The inline conditional for NODE_OPTIONS can be hard to read. Consider using a dedicated if: matrix.lbl == 'gt' at the job or step level (with its own env: block) to set this variable only for the GT job, which improves clarity and maintainability.
      NODE_OPTIONS: ${{ matrix.lbl == 'gt' && '--max-old-space-size=2048' || '' }}

Copy link

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Memory Configuration

The 2048MB memory limit for 'gt' runners should be validated to ensure it's appropriate for the workload and doesn't cause memory issues or performance degradation on those specific runners.

NODE_OPTIONS: ${{ matrix.lbl == 'gt' && '--max-old-space-size=2048' || '' }}
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16

Copy link

qodo-merge-pro bot commented Jul 10, 2025

PR Code Suggestions ✨

No code suggestions found for the PR.

Copy link

codecov bot commented Jul 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.71%. Comparing base (8026a1c) to head (c89765d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #933   +/-   ##
=======================================
  Coverage   43.71%   43.71%           
=======================================
  Files          68       68           
  Lines       18360    18360           
  Branches     2292     2292           
=======================================
  Hits         8026     8026           
  Misses       8945     8945           
  Partials     1389     1389           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbryngelson sbryngelson mentioned this pull request Jul 10, 2025
@sbryngelson sbryngelson merged commit adcc0dd into MFlowCode:master Jul 12, 2025
28 of 29 checks passed
prathi-wind pushed a commit to prathi-wind/MFC-prathi that referenced this pull request Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

GT runners failing
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy