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

CI: Node.js 20 GHA updates #2787

Merged
merged 24 commits into from
Aug 7, 2024
Merged

CI: Node.js 20 GHA updates #2787

merged 24 commits into from
Aug 7, 2024

Conversation

hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Jul 29, 2024

Update the following actions to newer versions that use Node.js 20+

  • actions/checkout - closes #2598
  • actions/upload-artifact - closes #2599
  • actions/download-artifact - closes #2600
  • actions/cache - closes #2601
  • actions/github-script - closes #2602
  • adriangl/check-new-commits-action - closes #2604
  • softprops/action-gh-release - closes #2605
  • .github/actions/issue_closer - closes #2606

:tag: v0.3.0
:sha: 3681b75f5c6c00162721168fb91ab74925eaebcb
:sha: c140b458cb69bd8c9c5eccd41e83aadc597c1352 # This commit is not on the main branch. It uses Node.js 20, which is needed to stop deprecation warnings.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This commit points here: https://github.com/kanga333/variable-mapper/pull/109/files

Users are trying to get the maintainer to merge it in. I chimed in.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should stick with commits that at least belong to the repo and not to a fork. A feature branch might be ok, but I think we should draw the line at forks.

Copy link
Contributor

Choose a reason for hiding this comment

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

The obvious exception would be a newrelic owned fork...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see how a fork might be a little too saucy. I don't really know how to get newrelic to fork something lol! I'll revert this. Are we comfortable creating a separate backlog issue for this one and revisiting? We could even move this action into our .github folder like how I was thinking with Create local technote-space/workflow-conclusion-action gha

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we comfortable

I'm not sure of what the deadline is and what happens when after the deadline. If the deadline is far away, we're comfortable. If the deadline being reached simply causes the action to be forced to run on a Node v20 runtime, we're comfortable. If the deadline is soon and/or it involves the action failing instead of simply running under v20, then we'll have to evaluate urgency.

I see at least these 5 ways forward (not listed in any intentional order) - all of which I am happy to respect the group consensus on:

  • Override me and go with this PR as-is. Perhaps throw me a bone and at least put a "TODO: " prefix in the .yml file's comment line and create a backlogged issue for the TODO.
  • Create the separate backlog issue and revisit as you mentioned.
  • Point to the fork instead of the original repo. It's really the mixing of 2 repos that I have an issue with. Unless we have a particularly strict process for allowlisting new actions repos, we could just point to the fork. Unfortunately the rake task isn't smart enough to handle switching repos and the workflow lines would need to be manually changed.
  • Fork the action under your name and point there until we can get the repo moved under newrelic/
  • Fork and vendor the action under .github as you mentioned

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like Jan 6, 2025 is end of support. I'll remove this and add these comments to the ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Linked this convo to the kanga333 ticket.

@hannahramadan hannahramadan changed the title CI node updates CI: Node.js 20 GHA updates Jul 30, 2024
@hannahramadan hannahramadan marked this pull request as ready for review July 30, 2024 18:21
kaylareopelle
kaylareopelle previously approved these changes Jul 30, 2024
Copy link
Contributor

@fallwith fallwith left a comment

Choose a reason for hiding this comment

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

I think we should remove any references to forks and mark the relevant Node 20 upgrade effort(s) as blocked until the PRs are merged into the main (non-fork) repos.

Copy link

github-actions bot commented Aug 2, 2024

SimpleCov Report

Coverage Threshold
Line 93.87% 93%
Branch 70.55% 50%

@hannahramadan hannahramadan merged commit 7dae0d9 into dev Aug 7, 2024
32 checks passed
@hannahramadan hannahramadan deleted the ci_node_updates branch August 7, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment