Skip to content

Conversation

serhalp
Copy link
Member

@serhalp serhalp commented Feb 28, 2025

Summary

Because we use tsc to build our package, typechecking is coupled with building. Since building is a prerequisite step to many CI jobs, they all fail without actually running what they intend when there is a single type error.

This allows CI to actually report all the other checks when you have type errors, by splitting typechecking into a separate job.

To do

  • once it has run successfully once and this is about to be merged, mark the new check as required

Base automatically changed from ci/fix-new-format-lint-jobs to main February 28, 2025 12:14
This allows CI to actually report all the other checks when you have type errors
@serhalp serhalp force-pushed the ci/dont-fail-everything-on-type-errors branch from f653d52 to a302a68 Compare February 28, 2025 12:15
Copy link

github-actions bot commented Feb 28, 2025

📊 Benchmark results

Comparing with 31e5e59

  • Dependency count: 1,186 (no change)
  • Package size: 282 MB (no change)
  • Number of ts-expect-error directives: 729 (no change)

@serhalp serhalp marked this pull request as ready for review February 28, 2025 12:17
@serhalp serhalp requested a review from a team as a code owner February 28, 2025 12:17
Copy link
Contributor

@khendrikse khendrikse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense!

@serhalp serhalp enabled auto-merge (squash) February 28, 2025 12:22
@serhalp serhalp merged commit e3a7df7 into main Feb 28, 2025
52 checks passed
@serhalp serhalp deleted the ci/dont-fail-everything-on-type-errors branch February 28, 2025 14:48
ndhoule added a commit that referenced this pull request Mar 4, 2025
ndhoule added a commit that referenced this pull request Mar 4, 2025
ndhoule added a commit that referenced this pull request Mar 4, 2025
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