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: add generation file to npm_translate_lock and npm_import #1534

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented Mar 20, 2024

Looks like the fix for #1412 release in v1.39.1 requires the npm_import repository rules to re-run with the fix in-place but just upgrading to rules_js 1.39.1 doesn't invalidate the npm_import repository rules.

This PR adds a generated _generation file to npm_import and npm_translate_lock so that on upgrade we can guarantee that these repository rules are re-run to pick up the fix. After this lands I'll cut a 1.39.2.


Type of change

  • Bug fix (change which fixes an issue)

Test plan

  • Covered by existing test cases

@gregmagolan gregmagolan marked this pull request as draft March 20, 2024 13:37
@jbedard
Copy link
Member

jbedard commented Mar 20, 2024

Do you think this is worth it? If the issue requiring the cache bust is rare enough maybe users can just do a clean themselves?

@alexeagle alexeagle removed their request for review April 30, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants