Closed mikeland73 closed 2 months ago
This pull request was deployed and Sentry observed the following issues:
go.jetpack.io/devbox/internal/cuecfg in Unmarshal
View Issuego.jetpack.io/devbox/internal/boxcli/usererr in...
View IssueDid you find this useful? React with a 👍 or 👎
Summary
The source of this bug is that when calling
lockfile.Tidy()
we were passing in only top level packages and not including plugin packages as well.This bug was also affecting dev container construction and some edge case plugin template logic. This bug only affects users that are using custom plugins with packages.
I renamed
PackageNames
toAllPackageNamesIncludingRemovedTriggerPackages
to make very unambiguous. Also removed a redundant function in config package that was no longer needed.Added
devbox list
command for testing and decided to keep it in.How was it tested?
In other project added golang monorepo plugin and logged to ensure Tidy was not recreating lockfile. Also tested adding go to that project.