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

Expand the Node.js metrics script usage to v14.10+ #1198

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

colincasey
Copy link
Contributor

@colincasey colincasey commented Jan 17, 2024

The current implementation from #1178 was scoped to Node v21+. This PR expands the metrics script to Node v14.10+ for broader usage.

To support customers that may want to keep the previous metrics functionality, setting the HEROKU_LEGACY_NODE_PLUGIN=true will opt-out of the new metrics script and install the native addon.

W-14838650

@colincasey colincasey self-assigned this Jan 17, 2024
@colincasey colincasey requested a review from a team as a code owner January 17, 2024 18:56
Copy link
Member

@joshwlewis joshwlewis left a comment

Choose a reason for hiding this comment

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

I like it! Ship next week?

@colincasey colincasey changed the title Expand the Node.js metrics script usage to v14+ Expand the Node.js metrics script usage to v14.10+ Jan 19, 2024
@colincasey
Copy link
Contributor Author

@joshwlewis this could use another review since the metrics script and tests had to be modified to work with Node v14.10.0 and up. I've also restored the native addon for v14 to cover deployments below that supported range.

Once it's ready to merge I'll update the required status checks to cover the changes added in ci.yml workflow.

@colincasey colincasey requested a review from joshwlewis January 22, 2024 20:28
- also removes the previous native addons which are no longer needed

[W-14838650](https://gus.lightning.force.com/lightning/r/a07EE00001iPkvfYAC/view)
@colincasey colincasey force-pushed the expand_metrics_script_usage branch from fcaf7a5 to ad0a49f Compare January 23, 2024 13:07
Copy link
Member

@joshwlewis joshwlewis left a comment

Choose a reason for hiding this comment

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

Still looks great. Ship next week?

@colincasey colincasey merged commit a6e523c into main Feb 5, 2024
9 checks passed
@colincasey colincasey deleted the expand_metrics_script_usage branch February 5, 2024 13:15
@heroku-linguist heroku-linguist bot mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants