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

chore: node 20 as default runtime #1018

Merged
merged 1 commit into from
Sep 15, 2023
Merged

chore: node 20 as default runtime #1018

merged 1 commit into from
Sep 15, 2023

Conversation

dirien
Copy link
Contributor

@dirien dirien commented Sep 14, 2023

Hi,

Node 16 reached the end of life on Sep, 11 2023.

Node 20 is supported on GitHub Runners since https://github.com/actions/runner/releases/tag/v2.308.0.

This PR updates the runtime

@Frassle
Copy link
Member

Frassle commented Sep 14, 2023

Is this going to cause similar issues in GHE as the 12 to 16 bump caused? #752

@simenandre
Copy link
Collaborator

Is this going to cause similar issues in GHE as the 12 to 16 bump caused? #752

It might be, but I think we should think about our approach here. As far as I know, we have two alternatives.

a) Should we bump the action, potentially add a note that for runners without support for Node 16 must stay on v4.

b) Make sure most GitHub Enterprise users can use any current version of our action.

I vote for a). In general, I favor releasing often, even though it produces less compatibility. At least in cases where it's out of our hands (such as upstream stuff or GHA not supporting things). I still think we should support earlier major versions to some point, at least security issues.

What do you think?

@dirien
Copy link
Contributor Author

dirien commented Sep 14, 2023

Bump to v5 as this will indicate the potential for breaking changes and make this clear in the release notes, would be my suggestion.

@justinvp
Copy link
Member

v5 bump makes sense to me

Copy link
Collaborator

@simenandre simenandre left a comment

Choose a reason for hiding this comment

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

Let's go!

@simenandre simenandre merged commit 5306004 into master Sep 15, 2023
14 checks passed
@simenandre simenandre deleted the runtime branch September 15, 2023 07:51
@jplewa
Copy link

jplewa commented Oct 26, 2023

When will this update be released?

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Oct 26, 2023
@MatthewBettonMaif
Copy link

MatthewBettonMaif commented Jan 2, 2024

Hello,

Since last published release version 4.6.0 (las hour ago) (and not a version 5 as suggested here for a breaking change) we have now this error message :

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Fail to load pulumi/actions/v4/action.yml

@Frassle
Copy link
Member

Frassle commented Jan 2, 2024

Sorry about that, a long delay between that change being merged and released and no left over indicator in the changelog to remind us to bump the major version. We'll see if we can yank the 4.6 release and re-release it as 5.0.

@tgummerer
Copy link
Contributor

I just deleted the 4.6.0 release and the corresponding tag, so this should work again. Thanks for reporting this @MatthewBettonMaif

@MatthewBettonMaif
Copy link

Thank you for your prompt responses and action :)

I can confirm you that it is now ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs attention from the triage team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants