-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
build: include bundled actors tag somewhere #10185
Comments
Hey @arajasek - can you provide some extra guidance here? I found the CID associated with the ManifestCid - and I find when I grep my repo it finds that CID in the lotus binary, but beyond that I'm not sure what next steps to take. I also tried to fetch the CID using ipfs but it wasn't downloading. |
Yeah, so what I think we should do is incorporate the actual git tag of the bundle being used. Lotus currently updates / adds bundles with the I'm not fussed about where we put this info. The pack.sh script invokes the generator in gen/bundle/bundle.go, which generates builtin_actors_gen.go. It might be possible to include the git tag as input to that generator. Or, if it's easier, just generate a different file with this info. |
so the way we run the ./pack.sh is |
Does it make sense to add the git tag to BuiltinActorsMetadata or would the git info be better as a comment in builtin_actors_gen.go? |
Either is fine imho! |
Great! This PR adds the git tag to BuiltinActorsMetadata #10200 I'm trying to test the command but am hitting a snag how should the command be run? i'm guessing something other than |
The first param would be the actor version - I.e |
ok great! The PR looks good to me then, the build appears to succeed when i test it with ./pack.sh v9 dev/20230206-pre-rc.6 |
Sooooo, we have an issue with 10200 unfortunately -- the
As currently implemented in 10200, we just set the git tag for all metadata to the single provided input, which is wrong. We could:
|
updated fix - network name overrides in bundle git tags should be supported now #10294 |
We're facing a lot of confusion not knowing what actors bundle release is being run. This information is technically deducable, since the builtin_actors_gen.go file contains the manifest CIDs, which can be cross-compared against the release artifacts in builtin-actors, but that's a lot.
We should modify pack.sh to include this information...somewhere (perhaps builtin_actors_gen.go). Note that this information will not (necessarily) be correct -- no part of the system will be verifying the tag on startup, but that's okay -- this is just for our own sanity.
The text was updated successfully, but these errors were encountered: