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

NewRelicConfig BUILD_ID breaks build cache #168

Open
lamphama2 opened this issue Jan 18, 2024 · 1 comment
Open

NewRelicConfig BUILD_ID breaks build cache #168

lamphama2 opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement Feature Improvements

Comments

@lamphama2
Copy link

Summary

The fact that newrelic plugin generates a different BUILD_ID for each builds prevent the build from using cache.

Desired Behavior

BUILD_ID doesn't prevent build cache.

Possible Solution

  • How about generating it in runtime?
  • Use a value more permanent like app version?

Additional context

@lamphama2 lamphama2 added the enhancement Feature Improvements label Jan 18, 2024
@trevjonez
Copy link

generating it into an asset json file would likely be enough to let them continue doing it at build time while minimizing compile task cache misses. In most cases only editing an asset file should reduce the work to be done down to just the packaging tasks.

Changing nothing but an asset should look something like this so long as your build isn't doing any additional custom processing of assets:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature Improvements
Projects
None yet
Development

No branches or pull requests

2 participants