-
Notifications
You must be signed in to change notification settings - Fork 972
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
Check if RBIs are up-to-date #8704
Conversation
666b3e6
to
331f0ef
Compare
Turns out I have Bundler 2.4.22 installed locally. However the It looks like Bundler switched to a different dependency resolution algorithm2, Footnotes |
331f0ef
to
e4f44bb
Compare
6b59062
to
7ccf72c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈 Thanks for catching my mistake!
76761bb
to
c5308fb
Compare
I'm afraid this is not going to work. Since there's no |
Yeah, I did always wonder why there was no EDIT: It was removed in this commit f2b3f9a |
No idea. We should eventually merge this Gemfile with the one in updater (once aarch64 is supported by sorbet) and manage everything together, but for now we can add a root lockfile. Mind if I add that to this PR? |
I don't think Sorbet Linux + aarch64 support is a huge blocker? It just means you won't be able to typecheck locally in a devcontainer. CI will still typecheck, and it will still work in mac + aarch64. Go ahead with the lockfile. Which Bundler version are you going to use? |
I think the Bundler version should not change anything but I'll lock the latest. The Ruby version could make a difference since it's common that gems bring different requirements on the Ruby version so different rubies could lead to different resolutions. The Ruby version used will be 3.1.4 as per the root Regarding Mac + aarch64, it's not that you cannot run type check, but that Bundler won't be able to resolve the updater Gemfile at all in macOS if it includes sorbet-static. |
I pushed a lockfile and also added Dependabot config to bump all gems in it weekly. That weekly PR will need an amend to run |
Good to go @JamieMagee? |
Yep! |
The previous RBI check,
bin/tapioca && git add . && git diff --cached --exit-code
would always succeed becausebin/tapioca
prints the help message, but doesn't generate the RBIs.The updated script runs
tapioca gem --verify
instead.Related to #8670