openedx / openedx/frontend-build
Allow disabling New Relic dependency at build-time
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 41
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 5
Description
(This is a synthesis of the original report in the forum.)
It turns out that that @newrelic/publish-sourcemap is not distributed with a open-source-compatible license, and thus can't be distributed legally. From its package.json:
"license": "New Relic proprietary"
While https://github.com/openedx/frontend-build/pull/215 introduced an ENABLE_NEW_RELIC runtime environment variable, it only configures whether the services will be used; New Relic is still baked into the build. If the build is then distributed as part of an image (say, a Tutor or Bitnami image), this becomes a potential legal problem.
We need to find a reasonable way to make the @newrelic/publish-sourcemap dependency optional.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests. Start by tracing where @newrelic/publish-sourcemap is declared and included in the build, then compare that path with the ENABLE_NEW_RELIC change from PR 215. Done means builds can omit the dependency at build time while retaining the existing optional New Relic behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100