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

Sorbet type checking #7782

Open
8 tasks done
JamieMagee opened this issue Aug 9, 2023 · 3 comments
Open
8 tasks done

Sorbet type checking #7782

JamieMagee opened this issue Aug 9, 2023 · 3 comments
Assignees

Comments

@JamieMagee
Copy link
Contributor

JamieMagee commented Aug 9, 2023

Code improvement description

Sorbet is a type checker for Ruby. It allows for gradual addition of types to an existing codebase and can work for both static and runtime type checking.

Currently, this issue is mainly a placeholder.

@JamieMagee
Copy link
Contributor Author

At this point, I think all of the initialization and setup is complete. Now the work of adding types begins.

@yeikel
Copy link
Contributor

yeikel commented Nov 3, 2023

Something I noticed is that the Sorbet scan always runs. Perhaps it should only run if there are changes to Ruby files?

Example : Sorbet

In this example, the job took 2m~ of CI time with no benefits

@JamieMagee
Copy link
Contributor Author

I don't think it's a huge issue right now, but it could be scoped. I think *.rb, Gemfile, Gemfile.lock and *.gemspec files can influence type checking.

@JamieMagee JamieMagee self-assigned this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants