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

[Bug]: lock translation cache not busted causing crash #1540

Open
jbedard opened this issue Mar 22, 2024 · 0 comments
Open

[Bug]: lock translation cache not busted causing crash #1540

jbedard opened this issue Mar 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working investigation needed Investigation required to proceed further

Comments

@jbedard
Copy link
Member

jbedard commented Mar 22, 2024

What happened?

Crashes in ways that imply the cache was not busted.

One example (>v1.39.0):

> bazel run //:gazelle
ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_.../external/aspect_rules_js~override/npm/extensions.bzl", line 104, column 66, in _extension_impl
		importers, packages = translate_to_transitive_closure(lock_importers, lock_packages, attr.prod, attr.dev, attr.no_optional)
	File "/private/var/tmp/_bazel_.../external/aspect_rules_js~override/npm/private/transitive_closure.bzl", line 185, column 71, in translate_to_transitive_closure
		package_info["transitive_closure"] = gather_transitive_closure(
	File "/private/var/tmp/_bazel_.../external/aspect_rules_js~override/npm/private/transitive_closure.bzl", line 54, column 40, in gather_transitive_closure
		package_info = packages[package_key]
Error: key "@smithy/node-http-handler/2.5.0" not found in dictionary
@jbedard jbedard added the bug Something isn't working label Mar 22, 2024
@github-actions github-actions bot added the untriaged Requires traige label Mar 22, 2024
@jbedard jbedard self-assigned this Mar 24, 2024
@jbedard jbedard added investigation needed Investigation required to proceed further and removed untriaged Requires traige labels Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigation needed Investigation required to proceed further
Projects
Status: No status
Development

No branches or pull requests

1 participant