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

ci: Remove building types #2462

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Feb 20, 2025

Pull Request

Issue

Building types in the CI doesn't mean those built types are added to the code base.

Closes: #2460

Approach

By removing build:types from the CI we have ensure that the contributor adds a test whenever the types change or added. This let's us know that a generated type is missing because the test would fail.

Tasks

  • Add tests
  • Add changes to documentation (guides, repository pages, code comments)

Copy link

Thanks for opening this pull request!

@dplewis dplewis requested review from mtrezza and a team February 20, 2025 16:45
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a929019) to head (93da990).

Additional details and impacted files
@@            Coverage Diff            @@
##             alpha     #2462   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           64        64           
  Lines         6256      6256           
  Branches      1451      1476   +25     
=========================================
  Hits          6256      6256           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dplewis dplewis mentioned this pull request Feb 20, 2025
2 tasks
@mtrezza
Copy link
Member

mtrezza commented Feb 22, 2025

This let's us know that a generated type is missing because the test would fail.

Which CI job would fail? Or should the CI build the types, compare and fail is there's a diff? I think that's how the Definitions check works in the CI.

@dplewis
Copy link
Member Author

dplewis commented Feb 22, 2025

That’s even better, it will also catch if contributors manually change the files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants