-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Runner Support for executing Node24 Actions #3940
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
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7ce5919
node 24 initial
salmanmkc d43638b
apline update
salmanmkc e3619ca
remove apline≠
salmanmkc 0af6876
remove line
salmanmkc f83aab0
remove these calls
salmanmkc b15643d
update since linux arm doesn't have 32 bit
salmanmkc a34f756
mkdir if directory doesn't exist
salmanmkc 922a35b
add comment
salmanmkc ea5b865
Update to use the latest version of alpine that was just published an…
salmanmkc 2418b74
Feature flag node 24
salmanmkc 6a21e10
add tests for env variables
salmanmkc 64b51eb
test update
salmanmkc 0e7cd9e
Refactor Node version handling to remove feature flag checks for Node…
salmanmkc f06af33
Remove ff and internal node usage. Warning for linux 32bit arm since …
salmanmkc 219a696
remove warning checks
salmanmkc 7a5e49a
Rename method (linuxarm32)
salmanmkc 775dff8
Merge branch 'main' into salmanmkc/1-node24
salmanmkc e46d4d0
remove file
salmanmkc a4727b1
Merge branch 'salmanmkc/1-node24' of https://github.com/actions/runne…
salmanmkc c4dfeba
Refactor Node version compatibility checks to NodeUtil and update tests
salmanmkc 2d64c31
Merge branch 'main' into salmanmkc/1-node24 (null ref fix)
salmanmkc 47c19eb
remove this using that is not used
salmanmkc 4a15294
remove file
salmanmkc c270930
remove empty lines
salmanmkc 57855c4
equals instead of starts with and remove imports that are not needed
salmanmkc d5ae14d
Remove if statement nesting
salmanmkc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,12 +135,17 @@ if [[ "$currentplatform" == 'darwin' && restartinteractiverunner -eq 0 ]]; then | |
| then | ||
| # inspect the open file handles to find the node process | ||
| # we can't actually inspect the process using ps because it uses relative paths and doesn't follow symlinks | ||
| nodever="node20" | ||
| # Try finding node24 first, then fallback to earlier versions if needed | ||
| nodever="node24" | ||
| path=$(lsof -a -g "$procgroup" -F n | grep $nodever/bin/node | grep externals | tail -1 | cut -c2-) | ||
| if [[ $? -ne 0 || -z "$path" ]] # Fallback if RunnerService.js was started with node16 | ||
| if [[ $? -ne 0 || -z "$path" ]] # Fallback if RunnerService.js was started with node20 | ||
| then | ||
| nodever="node16" | ||
| nodever="node20" | ||
| path=$(lsof -a -g "$procgroup" -F n | grep $nodever/bin/node | grep externals | tail -1 | cut -c2-) | ||
| if [[ $? -ne 0 || -z "$path" ]] # Fallback if RunnerService.js was started with node16 | ||
| then | ||
| nodever="node16" | ||
| path=$(lsof -a -g "$procgroup" -F n | grep $nodever/bin/node | grep externals | tail -1 | cut -c2-) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think we missed an |
||
| if [[ $? -ne 0 || -z "$path" ]] # Fallback if RunnerService.js was started with node12 | ||
| then | ||
| nodever="node12" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.